Skip to content

Commit 85f7804

Browse files
authored
fix: Qualys Parser used a Date Field for the mitigation_date, however the Finding-Model requires a DateTime Field which is not compatible and imports are getting canceled (#9888)
1 parent 860665e commit 85f7804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dojo/tools/qualys/parser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def parse_finding(host, tree):
173173
if last_fixed is not None:
174174
_temp["mitigation_date"] = datetime.datetime.strptime(
175175
last_fixed, "%Y-%m-%dT%H:%M:%SZ"
176-
).date()
176+
)
177177
else:
178178
_temp["mitigation_date"] = None
179179
# read cvss value if present

0 commit comments

Comments
 (0)