Skip to content

Instantly share code, notes, and snippets.

@janeczku
Created July 5, 2024 11:47
Show Gist options
  • Save janeczku/150b40e3e3ba55a2766b7e99c9e6abe3 to your computer and use it in GitHub Desktop.
Save janeczku/150b40e3e3ba55a2766b7e99c9e6abe3 to your computer and use it in GitHub Desktop.
Custom NeuVector permissions in Rancher RBAC

Permissions for the Rancher Global/Cluster Role Template pages

api.neuvector.com    // apiGroup for NeuVector
[resource display]   [resource]
--------------------------------------------------
"All Permissions":   nv-perm.all-permissions
"Admission Control": nv-perm.admctrl
"Audit Events":      nv-perm.audit-events
"Authentication":    nv-perm.authentication
"Authorization":     nv-perm.authorization
"CI Scan":           nv-perm.ci-scan
"Compliance":        nv-perm.compliance
"Events":            nv-perm.events
"Federation":        nv-perm.fed
"Registry Scan":     nv-perm.reg-scan
"Runtime Policy":    nv-perm.rt-policy
"Runtime Scan":      nv-perm.rt-scan
"Security Events":   nv-perm.security-events
"System Config":     nv-perm.config
"Vulnerability Profile":     nv-perm.vulnerability

Permissions for the Rancher Project Role Template page

api.neuvector.com   // apiGroup for NeuVector
 
[resource display]   [resource]
--------------------------------------------------
"All Permissions":   nv-perm.all-permissions
"Audit Events":      nv-perm.audit-events
"Authorization":     nv-perm.authorization
"Compliance":        nv-perm.compliance
"Events":            nv-perm.events
"Registry Scan":     nv-perm.reg-scan
"Runtime Policy":    nv-perm.rt-policy
"Runtime Scan":      nv-perm.rt-scan
"Security Events":   nv-perm.security-events
"System Config":     nv-perm.config

# Note: nv-perm.fed is not supported for Rancher Project Role Template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment