landlock-genprof policy status
Reports whether a SecurityProfileProposal has been approved
Synopsis
Reports a SecurityProfileProposal’s current approval state — exits 0 only if Approved, 2 (blocking) otherwise. Meant as a CI gate: “has a human signed off on this before it gets applied,” distinct from every correctness/ABI check the rest of this CLI does.
Installed as a kubectl plugin (the common case): run this as kubectl landlock-genprof <command>. Running this binary directly instead (standalone, not via kubectl) works the same way, without that prefix.
landlock-genprof policy status <name> [flags]
Examples
kubectl landlock-genprof policy status nginx-demo
Options
-h, --help help for status
-n, --namespace string Kubernetes namespace (default "default")
SEE ALSO
- landlock-genprof policy - Inspects SecurityProfileProposal approval state