-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Currently, BBOT Server allows scans to be created, queried, and stopped β but there is no option to remove completed scans from the database.
When working with large-scale environments (hundreds/thousands of scans), storing historical data may be unnecessary or even harmful for database health. There should be a safe mechanism for removing old scan objects.
Desired functionality
Add API and CLI endpoints to:
- Delete a single scan by ID
- Purge multiple scans (e.g. by status FINISHED, older than X days, etc.)
Suggested syntax:
# CLI
bbctl scan delete <SCAN_ID>
bbctl scan delete --status FINISHED
# HTTP API
DELETE /v1/scans/{scan_uuid}
xxixo
Metadata
Metadata
Assignees
Labels
No labels