Skip to main content

Exceptions in Containers and Images

The base process, approval authorities, mandatory fields, chain of authority and lifecycle are defined in Ch. 14 - addon/12-processo-excecoes.md. This file defines only the specifics of this domain.


Scope​

Exceptions to requirements of the containers and images catalogue: CNT-001 to CNT-012.


Triggers specific to this domain​

  • a legacy base image with no immediate substitute that meets the approved-origin requirements (CNT-001);
  • a critical CVE in a base image with no patch available for the version in use - distinct from the SCA exceptions of Ch. 05 because it acts at image level and is verified by an admission controller (CNT-002);
  • image signing infrastructure (Cosign/Sigstore/Notary) not yet available - a migration exception with a defined deadline (CNT-007);
  • a legacy workload incompatible with active admission controller policies - OPA/Gatekeeper, Kyverno - with a remediation plan (CNT-009);
  • a kernel capability or syscall that is necessary and technically justified but conflicts with the required restrictive profile (CNT-006).

Additional mandatory fields (containers)​

FieldMandatoryNotes
Digest of the affected imageYessha256:... - unambiguous identification of the artefact
Source registryYes
Admission controller in useYesOPA/Gatekeeper, Kyverno, or equivalent
Violated policy / ruleYesName and version of the policy in the admission controller
Exception implemented in the admission controller?YesIf so, reference to the exception object (e.g. Kyverno PolicyException)

Exceptions in the admission controller​

Exceptions to admission controller policies must be implemented as formal objects in the system itself (e.g. PolicyException in Kyverno, constraint with an exclusion in OPA/Gatekeeper), not as deactivation of the policy. The exception object in the admission controller is a mandatory evidence artefact and must be referenced in the chain of authority.

Exceptions implemented by globally deactivating a policy are always non-compliant, regardless of organisational approval.


Image signing exceptions (migration)​

Exceptions to CNT-007 because signing infrastructure is not yet available must include:

  • an implementation plan with milestones and an owner;
  • maximum time limit: ceilings of Policy 05 §7: L1 90 days; L2 60 days (Low/Medium) and 30 days (High); L3 30 days (Low/Medium) and 14 days (High); Critical 7 days with a remediation plan, not acceptable at L3; an extension requires GRC/CISO approval;
  • compensating controls active during the exception window (e.g. digest verification, restriction of source registries).

Cross-references​

DocumentRelation
00-catalogo-requisitos.mdCatalogue CNT-001..012 - requirements that may have exceptions
03-assinatura-cadeia-trust.mdSigning and verification infrastructure
05-policies-runtime-opa.mdAdmission controller policies and exception mechanism
07-vulnerabilidades-imagens.mdScanning and CVEs in images
Ch. 05 - addon/09-excecoes-e-aceitacao-risco.mdPackage-level SCA exceptions - distinct from a CVE in an image
Ch. 14 - addon/12-processo-excecoes.mdCanonical exception management process