Concretely:
- The generated manifest is the deliverable. The CLI writes YAML to a directory; the UI and API export it. Neither applies anything.
- The resource you apply is the source of truth. For network policies that
is the policy object your CNI enforces. For seccomp it is the
SeccompProfileCR — the file on each node is a pure rendering of itsspec, with nothing observed mixed in. Version it, review it, roll it back, all in git. - kguardian acts only on what you applied. The evaluator reports what an
AuditNetworkPolicywould deny. The controller writes a seccomp file only because a CR exists, and removes it only because you deleted the CR. - Drift is a signal, not an action. When observed behaviour diverges from the committed resource — a flow a policy would deny, a syscall a profile does not allow — kguardian tells you. Re-export, diff, decide.