nctl scan json

nctl scan json

scan json resources

nctl scan json [flags]

Options

      --audit-as-warn            Report violations from policies in audit mode as warnings instead of failures
      --details                  Show result details for violating resources
      --file string              Output file
  -h, --help                     help for json
      --insecure                 allow connection to an address with a self-signed or non-verifiable certificate (not recommended)
  -o, --output string            Output format (text, json, yaml) (default "text")
  -p, --policies strings         Path to policy files (local path, github URL, helm URL)
      --publish                  Publish reports
      --publish-token string     scan reports publish token
      --report-sourceid string   Add source id for report created for local scan
  -r, --resources strings        Path to resource files (local path, github URL)
      --scan-report string       Output scan report file (in JSON format)
      --token string             Nirmata API Login Key (env NIRMATA_TOKEN)
      --url string               Nirmata server base URL (env NIRMATA_URL)

Options inherited from parent commands

  -v, --v Level   log level for V logs

SEE ALSO