Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bbot_server/modules/scans/scans_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ async def handle_event(self, event, asset) -> list[Activity]:
status_changed = await self.update_scan_status(scan_id=scan_id, status_code=scan.status_code)
else:
self.log.warning(f'Scan "{scan.name}" found in database, but event has no duration_seconds')
status_changed = False
# otherwise, assume the scan is starting and create a new run
else:
description = f"Scan [[COLOR]{scan.name}[/COLOR]] started"
Expand Down