Add fake date ranges to scan default values

This commit is contained in:
Kristen Newbury
2022-10-26 11:28:06 -04:00
parent d9116eba6a
commit c51dbba577

View File

@@ -118,11 +118,11 @@ def joins_for_scans(basetables, external_info, scantables):
"id" : e.scan_id, "id" : e.scan_id,
"commit_id" : b.project.revisionId[0], "commit_id" : b.project.revisionId[0],
"project_id" : e.project_id, "project_id" : e.project_id,
# # TODO extract real date information from somewhere
"db_create_start" : pd.NA, "db_create_start" : pd.Timestamp(0.0, unit='s'),
"db_create_stop" : pd.NA, "db_create_stop" : pd.Timestamp(0.0, unit='s'),
"scan_start_date" : pd.NA, "scan_start_date" : pd.Timestamp(0.0, unit='s'),
"scan_stop_date" : pd.NA, "scan_stop_date" : pd.Timestamp(0.0, unit='s'),
# #
"tool_name" : driver_name[0], "tool_name" : driver_name[0],
"tool_version" : driver_version[0], "tool_version" : driver_version[0],