Install
On the Proxmox node as root:
bash -c "$(curl -fsSL https://iac.heyer.systems/compliance/ct.sh)"Container from the Debian 13 template · default: 1 CPU, 512 MiB RAM, 4 GiB disk
On the Proxmox node as root:
bash -c "$(curl -fsSL https://iac.heyer.systems/compliance/vm.sh)"Tested image 0.2.0-20261119.1118 (boot test Nov 19, 2026) · default: 1 CPU, 1024 MiB RAM, 8 GiB disk
Customise the commandYour own values for CPU, RAM, network and modules – no dialog
Then: Web: http://<IP>/ (current state, every 6 hours), reports: http://<IP>/reports/ – put a reverse proxy with login in front
More steps are needed outside the guest – see the setup guide.
Generator pick your settings, copy the command
Please check the highlighted fields.
Settings per instance
| Setting | Meaning |
|---|---|
netbox_url | NetBox URL – e.g. https://netbox.example.org |
netbox_token secret | NetBox API token (read-only) – The token alone, without Bearer – read access only |
report_mail_to | Mail the weekly report to – Addresses, comma separated – empty: archive only |
report_responsible | Responsible – Name on the cover of the report |
report_distribution | Distribution – Recipients named on the cover, default: IT-Projektmanager (English: IT project manager) |
report_language | Language of the report – de (German, default) or en (English) – report, findings and mail |
report_standards | Standards of the report – Only the checks of these standards, comma separated: iso27001, iso9001 – empty: every standard and the checks without one |
monitoring_url | iac-monitoring read access (optional) – e.g. https://10.0.0.5:9443 – availability per server over 28 days; the certificate of the monitoring guest goes to /etc/iac-compliance/monitoring-ca.pem (README) |
monitoring_token secret | iac-monitoring token – In the monitoring guest: grep prometheus_read_token /etc/iac/settings.env |
nvd_api_key secret | NVD API key (optional) – From nvd.nist.gov/developers – 50 instead of 5 requests per 30 s |
When creating a container, as var_<setting>:
var_netbox_url="<value>" bash -c "$(curl -fsSL https://iac.heyer.systems/compliance/ct.sh)"Set or change later, in the guest (for VMs the only way so far): a line netbox_url=<value> in /etc/iac/settings.env – no quotes, the last line of a setting wins – then:
updateWith NetBox: the same line netbox_url=<value> in the field Settings of the VM – it takes effect at the next update. Secrets stay in the guest.
Missing or empty = the app's default. Do not edit the configuration files iac writes – update overwrites them; their first lines name the file for local changes.
Setup guide
iac-compliance turns what your guests report to NetBox into a weekly evidence report for ISO/IEC 27001:2022 Annex A: a traffic light per server, vulnerabilities rated by real-world risk, the use of your networks and the measures to take – as a PDF per tenant and over all. The report is evidence, not the certification itself.
NetBox (read-only) ──┐
CISA KEV, EPSS, NVD ─┴─▶ iac-compliance ──▶ PDF archive (http://<guest>/) + mail
It needs guests managed with NetBox provisioning and the module security-report on them – that is where the data comes from.
1. A read-only token in NetBox
iac-compliance never writes to NetBox. Give it a token that cannot:
- In NetBox, create a user
iac-compliancewith a permission that allows view only (all object types, or at least virtual machines, IPAM and journal entries). - Create an API token for that user – with write enabled off.
2. Create the guest
On the Proxmox node:
bash -c "$(curl -fsSL https://iac.heyer.systems/compliance/ct.sh)"
Settings – in the dialog, as var_<name>=…, or later in /etc/iac/settings.env followed by
update:
| Setting | Meaning |
|---|---|
netbox_url, netbox_token | your NetBox and the read-only token |
report_mail_to | recipients of the weekly PDF, comma separated – empty: archive only |
report_responsible, report_distribution | names on the cover page |
nvd_api_key | optional, free from nvd.nist.gov: 50 instead of 5 requests per 30 s |
mail_relay_host, mail_relay_user, mail_relay_password | your smarthost – the module mail-relay sends the report |
The guest needs outgoing HTTPS to NetBox, www.cisa.gov, api.first.org and
services.nvd.nist.gov.
3. The first report
Every Monday at 06:00 the next report appears by itself. To get one now, in the guest:
systemctl start iac-compliance # takes a few minutes the first time (NVD rate limit)
journalctl -u iac-compliance # result: how many servers are red, yellow, green
Open http://<guest>/ – one folder per report, e.g. 2026-KW44/ over all and
2026-KW44-<tenant>/ per tenant, each with bericht.pdf. Reports are read-only and never
replaced; a second run in the same week gets -2. Next to the PDF lies data.json, the snapshot
the report was made from – the evidence over time.
What gets rated
| Light | When |
|---|---|
| Red | last update failed, no update for over 14 days, or open fixes while the last update is older than 2 days; a fixable CVE that is known to be exploited (CISA KEV) or has CVSS 9.0+ over the network |
| Yellow | open fixes, services running with replaced libraries, reboot needed, configuration pending, errors in the journal, no vulnerability check, a fixable CVE with CVSS 7.0+ or EPSS 10 %+, a KEV CVE without a fix (needs a workaround) |
| Green | none of these |
CVEs without a fix in Debian are counted but not rated – every Debian system has many. All rules are fixed and traceable to a field in NetBox; no AI rates anything.
Limits
The report covers Debian packages, the update state and configuration of guests managed by iac,
and the IPAM of NetBox. Not yet: software an app brings outside Debian, network devices and
hypervisors, backups, access control and security events (planned).
Source: docs/GUIDE.md of iac-compliance – corrections welcome.
Update
In the guest:
updateDebian packages, haypack Compliance, modules and the iac configuration. Major versions never change automatically.
Add modules – any time, in containers and VMs alike:
update --list-modules
update --add-modules node-exporter