Compliance Report
Hand auditors and management one document with SLA, time to resolve, remediation history, accepted risks and suppression rules, mapped to ISO/IEC 27001:2022 and NIS2.
Overview
The Compliance report button in the header of the Security overview page (sidebar Security → Security overview, /dashboard/security) opens a dialog to choose the period, the container and image scopes and the format. The report is generated in the background and sent to your email as an attachment: it is never stored on the platform and there is no download link. The button is shown to managers and admins only.
- Period: 7, 30 (default), 90 or 180 days, ending at the moment of the request (UTC)
- Containers: All, Running (stopped containers excluded) or Stopped (running containers excluded); hosts and other assets are always included
- Images: All or Actionable: yes (exclude third-party), which drops the findings and components of third-party images: containers whose image is third-party and Trivy scans of third-party images on hosts and nodes. The classification is the one of the Container Images page, manual overrides included (see /docs/security/container-images)
- Format: PDF (A4, same layout as the executive report) or HTML (a single self-contained page, no scripts nor external resources); both contain the same text in the same order
- The file is named compliance-report-YYYYmmdd-HHMM.pdf or .html, with the generation time in UTC
Note: Your account needs an email address: without one the request is rejected.

Delivery and Notifications
After you confirm, a toast says "Compliance report queued — you will receive it by email" and the dialog closes. When the report is ready you receive the email and a toast with the file name ("sent by email" when the email went out). If the generation fails you get an error toast. These events go only to you, never to other users. When the email cannot be sent the report is still marked ready, without "sent by email".
Contents
The report contains these sections, in this order.
- Header: period (UTC dates), author (name and email), generation time and filters, with the number of internal registries configured
- Methodology: definitions of every number and the vulnerability feeds used, with status, last successful sync and records
- Summary: active servers, components present, vulnerable components (distinct asset and component pairs with an open CVE finding) and open findings
- Findings by severity: open findings, SLA target, mean time to resolve and % of SLA met
- Activity in the period: created, resolved, auto-resolved and reopened findings
- Trend: created, resolved and auto-resolved per day (7-day period) or per week (other periods; the last bucket may be partial), as a bar chart and a table; the sums equal the activity
- Most widespread CVEs (top 10 by servers), most affected servers and most affected components (top 10 by open findings)
- Active accepted risks (soonest expiry first) and active suppression rules, with approver or author, expiry and justification
- Control mapping: each control with its title and the sections that are its evidence
Note: Lists are limited to 200 rows with a "showing N of M" note; an empty table shows a single "None" row.
Definitions
The flows use the same definitions as the daily security statistics. The trend buckets start at the request time minus the period, not at midnight UTC.
- Open findings: status open or acknowledged and still active (kernel findings included)
- Created: first detected in the period; Resolved: resolved in the period; Auto-resolved: closed automatically by a scan in the period. Each finding is counted once per flow; auto-resolved findings are also included in Resolved
- Reopened: distinct findings moved back to open or acknowledged from another status in the period
- Mean time to resolve: average time to resolve in hours (fallback: resolution minus detection time) of the findings resolved in the period
- SLA met: findings resolved within their SLA divided by the resolved findings with a known SLA outcome; n/a without data. Informational findings have no SLA target
- Suppression rules and feeds are global: the container and image scopes do not apply to them
Configuration
Two backend settings control the report.
- SECURITY_INTERNAL_REGISTRIES: comma-separated image prefixes of your registries (e.g. registry.acme.it/). An image that does not start with one of them is third-party, unless a manager overrides it (see /docs/security/container-images). Empty by default: then Actionable excludes every image without an internal override, and the header says so
- SECURITY_COMPLIANCE_CONTROLS: JSON list of {"control", "title", "sections"} to replace the control mapping; sections are header, methodology, summary, severity, activity, trend, top_cves, top_assets, top_components, accepted_risks, suppression_rules and controls. Invalid JSON or an unknown section makes the generation fail
- Default mapping: ISO/IEC 27001:2022 A.5.9 (Inventory of information and other associated assets: summary, components), ISO/IEC 27001:2022 A.8.8 (Management of technical vulnerabilities: severity, activity, trend, CVEs, servers, accepted risks), NIS2 Art. 21(2)(e) (vulnerability handling and disclosure: methodology, severity, activity, suppression rules)
SECURITY_INTERNAL_REGISTRIES=registry.acme.it/,ghcr.io/acme/
SECURITY_COMPLIANCE_CONTROLS='[{"control": "ACME-SEC-4", "title": "Patch management", "sections": ["severity", "trend"]}]'API
POST /api/v1/security/compliance-report/ (manager or admin) queues the report and returns 202 with task_id, status "queued" and a message.
- period: 7, 30, 90 or 180 (required)
- container_scope: all (default), running or stopped
- image_scope: all (default) or actionable
- format: pdf (default) or html
- An invalid value returns 400 with the error under its field; a user without email returns 400 with detail; viewers get 403
- The outcome is pushed as report_ready (report_type "Compliance") or report_failed on your personal WebSocket group
// POST /api/v1/security/compliance-report/
{ "period": 30, "container_scope": "running", "image_scope": "all", "format": "pdf" }
// 202 Accepted
{ "task_id": "3f1c…", "status": "queued", "message": "Compliance report queued: it will be sent to anna@example.com." }