Skip to main content
Unary · Security Updates a security policy. Use this method to:
  • Rename a security policy
  • Change enforcement rules
  • Update auditing behavior

Examples

  • Update security policy: Promotes one executable rule from audit to block while leaving unmatched executables allowed. Updating an assigned policy validates materializability; updating an unassigned policy only stores its spec.

Endpoint

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.UpdateSecurityPolicyRequest

Response

gitpod.v1.UpdateSecurityPolicyResponse
gitpod.v1.SecurityPolicy
gitpod.v1.SecurityPolicy.Metadata
gitpod.v1.SecurityPolicy.Spec
gitpod.v1.SecurityPolicy.Spec.ExecutablePolicy
gitpod.v1.SecurityPolicy.Spec.PortPolicy
Admission level describes who can access an environment instance and its ports.