Improve scan coverage reporting across output formats
Author: Nachiket-RoyCreated Sep 21, 2026Updated Sep 21, 2026
Problem
Scan coverage information is not consistently surfaced across output formats when controls are skipped, not evaluated, or when scan coverage is degraded.
Currently:
- Skipped controls can appear without the actual reason they were skipped.
- JUnit reports do not expose sufficient coverage information.
- GitHub Actions does not surface degraded scan coverage or skipped controls as warnings.
- SARIF output does not communicate unevaluated controls or degraded scan coverage to consuming security platforms.
- Markdown, HTML, PDF, and CSV reports do not consistently show scan coverage, skipped-control reasons, or coverage gaps.
- CSV output can omit controls that were not evaluated entirely.
- As a result, consumers may interpret a scan with incomplete coverage as a fully evaluated scan.
Proposed Solution
Improve scan coverage propagation and make the information available consistently across all output formats.
Phase 1: Propagate Skip Reasons and Improve JUnit
- Preserve the reason whenever a control is skipped or not evaluated.
- Include missing GVRs, policy skips, and timeout information where applicable.
- Expose scan coverage information in JUnit properties.
- Add tests covering skip reasons and coverage information.
Phase 2: SARIF and GitHub Actions
- Surface unevaluated controls and their reasons in SARIF.
- Report degraded scan coverage through SARIF execution information.
- Emit GitHub Actions warnings when scan coverage is degraded.
- Include skipped-control reasons in workflow warnings.
- Add a scan coverage summary to the GitHub Actions step summary when available.
- Add tests for the new CI and SARIF behavior.
Phase 3: Markdown, HTML, and CSV
- Add a scan coverage section to Markdown reports.
- Show coverage score, evaluated controls, skipped controls, and their reasons.
- Add coverage information and skipped-control details to HTML reports.
- Include unevaluated controls in CSV output instead of silently omitting them.
- Add tests for the new report output.
Phase 4: PDF and Documentation
- Add scan coverage information to PDF reports.
- Show coverage alongside the existing scan summary.
- Ensure skipped-control reasons are visible in PDF output.
- Document scan coverage behavior and diagnostics for all supported output formats.
- Add coverage reporting guarantees to the relevant documentation.
Source: kubescape/kubescape