Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ADR-0005 Vulnerability Scanning Strategy

ADR-0005: Vulnerability Scanning Strategy

Context

As part of Devflow’s “Hardened by Default” initiative (ADR-0004), we need a comprehensive strategy for identifying vulnerabilities in code, dependencies, and container images. The goal is to maximize security coverage while minimizing CI friction and developer cognitive load.

Decision

We have decided to adopt a multi-layered scanning strategy anchored by Trivy as our primary scanner for dependencies and infrastructure.

1. Choice of Scanner: Why Trivy?

We evaluated Trivy, Snyk, and Docker Scout. We chose Trivy because:

2. “Push-Left” Implementation

To catch issues earlier:

3. Operational Efficiency (Friction Reduction)

To prevent security from slowing down the PR loop:

Consequences

Positive

Negative