NixFleet

NIS2 entity classification

Essential vs. important: how the entity-type flag shifts thresholds across the fleet.

Operators declare compliance.frameworks.nis2.entityType = "essential" or "important". Thresholds adjust accordingly. The values below are Nix option values, evaluated at system build time. DORA has an analogous "critical provider" flag, ISO 27001 uses certificationScope = "full" | "partial", and ANSSI uses a four-tier level (minimal | intermediary | reinforced | high).

ParameterEssentialImportant
Evidence collection frequencyHourlyDaily 06:00
SSH idle timeout15 min30 min
Input staleness warning14 days30 days
Audit log retention730 days365 days
Backup retention730 days365 days
Backup verification intervalDailyWeekly
Hardening levelstrictstandard
Minimum rollback generations105
RTO target4 hours24 hours
Max nixpkgs age14 days30 days
Block on critical CVEYesNo
MFA requiredYesNo

Defaults encoded in frameworks/nis2.nix in the compliance repo. Each parameter can be overridden per-host via the corresponding compliance.controls.<name>.* option.

← Back to compliance