nctl get policyexceptionrequests

nctl get policyexceptionrequests

Get PolicyExceptionRequest resources

nctl get policyexceptionrequests [flags]

Examples


  # Get all policy exception requests
  nctl get policyexceptionrequests

  # Get policy exception requests with a specific name
  nctl get policyexceptionrequests --name example-policy

  # Get policy exception requests by requester
  nctl get policyexceptionrequests --requested-by npm-automation-devops

  # Get policy exception requests filtered by state (approved, rejected, pendingApproval)
  nctl get policyexceptionrequests --state approved

  # Get policy exception requests from an insecure server (not recommended)
  nctl get policyexceptionrequests --insecure

Options

  -h, --help                  help for policyexceptionrequests
      --insecure              allow connection to an address with a self-signed or non-verifiable certificate (not recommended)
      --name string           Name of policy exception to filter by
      --requested-by string   State of policy exception to filter by Requester
      --state string          State of policy exception to filter by (approved, rejected, pendingApproval)
      --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

  • nctl get - Get Nirmata Control Hub (NCH) resources