Skip to content

Infrastructure security ยท Technology guides

Trivy in CI/CD: scanning deployment, audit and maintenance

Trivy scanning is valuable when a result supports a decision: remediate, defer with justification or stop a release. A raw count does not tell the team how urgently to act.

Deploying scans in pipelines

Decide which images, dependencies and configurations are scanned, at what stage and who receives the result. Start by measuring coverage and backlog before turning a new threshold into a release gate.

Acceptance confirms that the scan covers the artifact intended for release. Agree what the pipeline does if the scanner or its data source is unavailable.

Explore deployment services

Auditing scan coverage, gates and exceptions

Identify repositories and pipeline stages not covered, review exceptions and confirm that results point to a particular image. Interpret findings against runtime exposure and whether a fix is available.

A blocking rule with no owner or review path encourages workarounds. The audit shows where scanning policy diverges from the actual release workflow.

Explore audit services

Maintaining the scanner and reviewing results

Update the scanner, check data freshness and revisit exceptions when fixes become available. Images used long after a build may need rescanning even when the application code has not changed.

Explore maintenance services

Official documentation

Discuss your infrastructure

Choose a deployment, audit or maintenance scope for your environment. HLS works remotely with teams across Poland.

Service catalog