Skip to search

SeccompProfile

kguardian.dev / v1alpha1

apiVersion: kguardian.dev/v1alpha1 kind: SeccompProfile metadata: name: example
View raw schema
spec object required
Spec of a `SeccompProfile`: a seccomp profile in its native shape, plus an optional pointer at the workload it is for.
architectures []string
Architectures the profile applies to (seccomp `architectures`). Omitted ⇒ the rendered file carries no `architectures` field.
defaultAction string required
Action for any syscall not matched by a rule.
enum: SCMP_ACT_LOG, SCMP_ACT_ERRNO, SCMP_ACT_KILL, SCMP_ACT_KILL_PROCESS
syscalls []object required
Syscall rules. kguardian generates `SCMP_ACT_ALLOW` rules only; the other actions are accepted for hand edits.
minItems: 1
action string required
enum: SCMP_ACT_ALLOW, SCMP_ACT_LOG, SCMP_ACT_ERRNO, SCMP_ACT_KILL, SCMP_ACT_KILL_PROCESS
errnoRet integer
errno to return for `SCMP_ACT_ERRNO` rules.
format: uint32
minimum: 0
names []string required
Syscall names (`^[a-z][a-z0-9_]{0,63}$`).
minItems: 1
workloadRef object
The workload this profile is for. Enables the `CaptureComplete` and `Drift` conditions; optional.
kind string required
enum: Deployment, StatefulSet, DaemonSet, CronJob, Job, ReplicaSet, ReplicationController
name string required
status object
`status` of a `SeccompProfile`. Two writers: each controller server-side-applies its own `nodes[name=<node>]` entry (field manager `kguardian-controller/<node>`), and every controller applies the same computed summary (everything else) under the shared manager `kguardian-summary`, so the summary converges to the last writer.
conditions []object
lastTransitionTime string
message string
reason string required
status string required
`"True"`, `"False"` or `"Unknown"`.
type string required
distribution object
ready integer required
format: uint32
minimum: 0
state string required
enum: Ready, Partial, Pending
summary string
`ready/total`, for the `Ready` printer column.
total integer required
format: uint32
minimum: 0
drift string
Mirror of the `Drift` condition's status (`True`/`False`/`Unknown`) for the printer column — CRD printer columns take simple JSON paths only, no `[?(@.type=="Drift")]` filters.
hash string
FNV-1a-64 (hex) of the rendered file — what is on a ready node.
localhostProfile string
The `localhostProfile` value pods reference.
nodes []object
Per-node state; each entry is owned by that node's controller.
hash string required
lastWritten string
RFC 3339; when this node last wrote the file.
name string required
observedGeneration integer
format: int64

No matches. Try .spec.architectures for an exact path