nctl exceptions audit

Audit Kyverno PolicyException resources

nctl exceptions audit [flags]

Examples

  # Audit all policy exceptions
  nctl exceptions audit

  # Show only exceptions older than 90 days
  nctl exceptions audit --older-than 90

  # Show only expired exceptions
  nctl exceptions audit --expired

  # Filter by namespace
  nctl exceptions audit --namespace default

  # Output as JSON
  nctl exceptions audit -o json

Options

      --expired               Only show exceptions past their expiry date
  -h, --help                  help for audit
      --kube-context string   the kube context from configured kubeconfig. Default is the current or sole context
      --kubeconfig string     kubeconfig path (defaults to $HOME/.kube/kubeconfig)
      --namespace string      Filter by namespace (default: all namespaces)
      --older-than int        Only show exceptions older than N days
  -o, --output string         Output format (text, json, yaml, openreport) (default "text")

Options inherited from parent commands

  -v, --v Level   number for the log level verbosity

SEE ALSO