Bilingual navigation: Versión en Español
Category: Security Scanning (security)
Provider: GitHub (CodeQL) / Aqua Security (Trivy)
Profile Status: Active / Default
CodeQL and Trivy are used in tandem to provide comprehensive security scanning across source code, dependencies, and containers. They satisfy the following core security capabilities:
- Static Application Security Testing (SAST) via CodeQL.
- Software Composition Analysis (SCA) via Trivy.
- Container vulnerability scanning via Trivy.
- Secret detection (Trivy/GitHub Advanced Security).
- SBOM (Software Bill of Materials) generation.
- CodeQL build time can be significant for large compiled codebases.
- Trivy primarily relies on open-source vulnerability databases which may have a slight delay compared to proprietary enterprise feeds.
- Supported: CLI execution in CI/CD pipelines, IDE plugins.
- Default: Integrated directly into GitHub Actions workflows.
- CodeQL: Free for open-source repositories on GitHub. Private repositories require GitHub Advanced Security licenses.
- Trivy: Apache License 2.0 (Open Source).
- Scanning occurs ephemerally within the CI/CD runner.
- Security reports (SARIF files) are stored in the SCM platform (e.g., GitHub Advanced Security), subject to the platform's data residency policies.
- SAST/SCA scanners must run on every Pull Request targeting the main branch.
- Critical and High vulnerabilities must fail the build automatically.
- SARIF outputs must be retained as evidence for SDLC compliance gates.
Evolith CI/CD pipelines execute these tools and parse their outputs into standard SDLC SecurityEvidence records, decoupling the exact scanner from the compliance gate validation.
- SARIF (Static Analysis Results Interchange Format) files.
- CycloneDX/SPDX SBOM files.
- Exit codes reflecting policy violations.
These tools can be replaced by alternatives like SonarQube, Snyk, or Checkmarx. Migration Path:
- Replace CodeQL/Trivy CLI calls in the CI/CD pipelines with the target tool's CLI.
- Ensure the new tool can export results in SARIF format for GitHub integration.
- Update the SDLC compliance gates if they parse tool-specific SBOM formats.
- None specific to this provider combination.