Compliance and change management
Separate design, operation and assessment
A control is a measure intended to reduce a risk. Evidence is information used to evaluate that control. A policy in Git describes design; a deployment record indicates implementation; a negative authorization test can help demonstrate operation within its tested scope. NIST SP 800-53A Rev. 5 provides an assessment approach using examination, interviews and tests. These methods inform our fictional exercise; they do not establish that the organization is certified or satisfies a particular law. Establish scope, assessment period, owner, evidence source and limitations before interpreting results.
Control: approved release artifactsDesign: reviewed ruleImplementation: deployed policy and bindingOperation: scoped positive and negative test resultsAssessment: reviewer, period, limitations and decisionCorrelate audit evidence without collecting secrets
Kubernetes audit records describe API activity, subject to the configured policy, stages and backend. Metadata-level events can identify request context without bodies; higher levels can include sensitive content. Use a reviewed minimum-data policy, protect the sink, restrict access, test delivery and monitor gaps. Do not assume audit logs capture every application action or cloud control-plane event. Correlate a fictional release ID with Git revision, artifact digest, approval and API event. A successful API response is not proof of reconciliation or service health. This is a reduced teaching record, not an audit.k8s.io Event schema.
{ "auditID": "fictional-event-09", "stage": "ResponseComplete", "verb": "patch", "resource": "deployments", "namespace": "catalog", "actor": "fictional-release-controller", "responseCode": 200, "releaseID": "REL-42"}Bind approval to the actual change
Review the exact artifact digest, configuration revision, target cluster and namespace, test results, risk assessment and recovery plan. The reviewer must be independently authorized for that change; self-approval is not accepted by this fictional policy. A change to the artifact, target or revision invalidates the approval. Emergency changes use an explicitly authorized expedited path, not missing controls; preserve a review trail and schedule follow-up. Confirm the application after release and keep evidence of failures too. If recovery is required, reverting a manifest may not restore external data.
REL-42: artifact A + revision R + target C/catalogapprover: independent release reviewerchanged digest or target -> HOLD for renewed reviewAPI accepted + failed smoke test -> incident / HOLD closureSet retention with the data owner
The example organization retains ordinary sanitized deployment evidence for 90 days after creation. This is an invented policy, not a legal retention requirement. A record created on day 0 has reached its retention boundary on day 90. A legal hold or unresolved investigation can override routine deletion; unknown hold state requires review. Define who approves retention, holds, deletion, backup retention and access. A backup being retained is not evidence it restores successfully. Test restore and record data integrity results independently. Hashing local evidence can detect byte changes relative to a trusted expected digest; it cannot establish authorship, authorization or truth.
age 89 days -> retainage 90 days, no hold, deletion approved -> eligible for reviewage 90 days, active hold -> retainunknown hold -> HOLDCreate a reviewable evidence bundle
Use a manifest containing evidence IDs, checksums, scope, timestamp, collection method, owner, reviewer and known gaps. Separate raw restricted material from sanitized evidence. The offline exercise verifies a sample file against its expected SHA-256, then checks an altered copy. The result establishes local byte integrity only. Review change and retention scenarios, then explain one missing live control test. Escalate unresolved risks to a named owner; do not declare certification from this evidence. Next: expert Kubernetes systems research and conformance.
policy + independent approval + API event + workload check + recovery evidencemissing evidence -> HOLDpython validate_offline.py # local synthetic files onlyFurther reading
- https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/ — Audit events and policy levels
- https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/ — etcd recovery boundaries
- https://slsa.dev/spec/v1.2/provenance — Artifact provenance concepts
- https://slsa.dev/spec/v1.2/build-requirements — Artifact digest and build trust
- https://csrc.nist.gov/pubs/sp/800/53/a/r5/final — Control assessment methodology
- https://csrc.nist.gov/glossary/term/assessment_method — Examine, interview and test assessment methods
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Compliance and change management — knowledge check
Separate control operation from audit evidence
What does a Git policy document primarily demonstrate?
Why avoid unrestricted RequestResponse auditing?
An approved artifact digest changes before release. What should happen?
A record reaches retention expiry with an active hold. What should happen?
What does a matching SHA-256 establish in this lab?