Run an audit
Scan assets with Auditor now, or on a schedule.
Before the first audit, connect Auditor and check its sequences.
Run an audit now
- Click Run Audit. It is on the Products list, on a product’s page, above the findings and on the Audits list. Started from a product, the audit covers that product’s assets.
- Under Select assets or products, choose what to scan. For one product, you can leave out some of its assets.
- Under Additional Parameters, optionally:
- choose a Sequence;
- enter a Branch to scan instead of the default branch;
- enter a Docker image tag (optional) to scan a specific tag of the images.
- Click Run Audit. The audit appears in Audits, and its findings arrive as each scanner finishes.
To scan only some assets of a product, select them on the product’s Assets page and click Run Audit above the list.
Each asset is scanned with one sequence, chosen in this order:
- the Sequence chosen for this audit;
- the sequence set on the asset;
- the schedule task’s Default sequence, when a schedule started the audit;
- the sequence with Set as Default Sequence turned on.
So leave Sequence empty when you scan different asset types at once, and set a sequence on each asset that needs a different one: a repository sequence can’t scan a domain.
Schedule audits
- In the sidebar, open Auditor, then Schedule.
- Click Create Task.
- Fill in the task:
- Title.
- Schedule in Crontab format: click it to choose how often and at what time, or click Set manually to enter a crontab expression.
- Default sequence, optional.
- Scope type: Products or Assets, and which ones. Choose Global to scan all current and future products or assets, and narrow it down by tags or asset types. Only users who manage all products can choose Global.
- Click Create.
Assets that have a sequence of their own are scanned with it. The others are scanned with the task’s Default sequence, or with the sequence that has Set as Default Sequence turned on when the task has none. So one task can scan repositories and domains together, as long as each domain has its own sequence.
The scope is resolved at each run: assets added later to a product in the task are scanned too. Turn a task off with Active instead of deleting it.
Mind how much the tasks start at once. Auditor runs a limited number of scans at a time, and the rest wait in a queue: when several large tasks start at the same hour, their audits start only as earlier ones finish, and pushes and audits started by hand wait behind them. Spread the tasks over the night or the weekend, and leave time for one task to finish before the next one starts.