nctl compliance audit

Collect compliance evidence from a Kubernetes cluster

nctl compliance audit [flags]

Examples

  # Collect SOC2 evidence package
  nctl compliance audit --standard soc2

  # Collect NIST 800-53 evidence for specific namespaces
  nctl compliance audit --standard nist-800-53 --namespace production,staging

  # Write evidence to a custom directory
  nctl compliance audit --standard soc2 --output-dir /tmp/evidence

Options

  -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)
      --mappings-file string   Override path to mappings YAML file
  -o, --output string          Output format for the collection summary (text, json, yaml) (default "text")
      --output-dir string      Directory for evidence output (default: ~/.nirmata/nctl/compliance/evidence/)
      --standard string        Compliance standard (soc2, nist-800-53, nsa-cisa, iso27001, pci-dss, etc.)

Options inherited from parent commands

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

SEE ALSO