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
https://app.ona.com with that domain.
Request example
Request
gitpod.v1.UpdateSecurityPolicyRequest
Response
gitpod.v1.UpdateSecurityPolicyResponse
Related types
SecurityPolicy
SecurityPolicy
gitpod.v1.SecurityPolicyMetadata
Metadata
gitpod.v1.SecurityPolicy.MetadataSpec
Spec
gitpod.v1.SecurityPolicy.SpecExecutablePolicy
ExecutablePolicy
gitpod.v1.SecurityPolicy.Spec.ExecutablePolicyPortPolicy
PortPolicy
gitpod.v1.SecurityPolicy.Spec.PortPolicyAdmissionLevel
AdmissionLevel
Admission level describes who can access an environment instance and its ports.
Effect
Effect