Schedules, policies and notifications
Run scans on a schedule, decide what makes a result pass or fail, and choose where to be told about it.
Scheduled scansPermalink to Scheduled scans
A repository can scan itself daily or weekly at a time you choose. There is one schedule per repository, and saving replaces whatever was there before.
Times are UTC
A missed run is not made up later
A schedule can be turned off without being deleted. While it is off nothing runs, even though the next slot is still shown.
| Outcome | What happened | Does it need you? |
|---|---|---|
| Ran | The scheduled scan started as planned. | No |
| Skipped — already running | A scan for this repository was already in progress. | No |
| Skipped — not eligible | The repository could not be scanned at that moment. | Yes — check it is still connected |
| Skipped — unavailable | Scanning was unavailable when the schedule fired. | No — the next run is unaffected |
| Skipped — quota spent | There was no scan quota left. | Yes — scheduled runs resume once quota is available |
| Failed | The run could not be started. | Yes |
Where this happens in the console
PoliciesPermalink to Policies
A policy decides whether a scan result passes or fails. It is per repository, and a repository without one simply has its results reported rather than judged.
| Rule | What it does |
|---|---|
| Fail on severity | Fails the scan when a confirmed finding is at or above the level you pick. Choosing high also fails on critical. |
| Fail on unrankable findings | Fails when a confirmed finding’s severity could not be determined. A finding nobody could rank is not evidence of safety. |
| Require adequate coverage | Fails when the scan did not actually cover the code. Zero findings from a scan that did not look is not a clean result. |
Only confirmed findings can fail a policy
A policy can fail a scan that found nothing
Where this happens in the console
NotificationsPermalink to Notifications
A destination is somewhere this workspace sends news about your scans. An email address needs nothing else set up; Slack, Teams and a plain webhook each need a URL you get from that service.
| Event | When it fires |
|---|---|
| A scan finished | Any scan reaches a result. |
| A scan could not finish | A scan ends without producing a result. |
| A scan failed its policy | A policy judged a result and failed it. |
Notifications about proposed fixes will appear here once Relane can produce a fix from a scanned finding. There is no date for that, and nothing is listed above that cannot currently be sent.
Selecting no events means every event
A destination address is stored encrypted and never shown again — only its host, or the domain of an email address. To change one, add the new destination and remove the old. Each destination shows whether its most recent delivery arrived.
Where this happens in the console