mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-24 17:36:42 +00:00
feat(scheduler): notify on scheduled scan completion (#646)
Scheduled scan tasks now dispatch a completion alert through the existing notification system: info when every image scanned cleanly, warning when one or more images failed. The alert includes the task name and the run's scanned/cached/failed summary so operators do not need to open the task history.
This commit is contained in:
@@ -103,6 +103,15 @@ You can run recurring scans of every image on a node through the standard [Sched
|
||||
|
||||
Use scheduled scans to keep CVE badges fresh even for images that are rarely redeployed: nightly (`0 3 * * *`) is a good default for most fleets.
|
||||
|
||||
### Completion notifications
|
||||
|
||||
When a scheduled scan finishes, Sencho dispatches an alert through your configured [notification channels](/features/alerts-notifications). The alert includes the task name and a summary of scanned, cached, and failed images:
|
||||
|
||||
- **Info** when every image scanned successfully.
|
||||
- **Warning** when one or more images in the run failed to scan.
|
||||
|
||||
Failures are typically transient (registry timeouts, missing credentials) and do not stop the rest of the run from completing. Check the task's run history for the detailed output.
|
||||
|
||||
## Scan policies
|
||||
|
||||
<Note>
|
||||
|
||||
Reference in New Issue
Block a user