Review and Update Org Security Policy
A 2-step recipe with Socket. We can help you get access.
Recipe · 2 steps
Review and Update Org Security Policy
with Socket
Read the current security policy, then apply an updated default and rules.
- Read the organization's current security policy rules to capture the existing configuration before changing it.
- Update the security policy with a new default level and the supplied per-rule actions.
What you'll need to have ready
- orgSlug: The slug of the organization.
- policyDefault: The new default security policy level (default, low, medium, high).
- policyRules: Per-rule action overrides keyed by rule name (each value an object with an action).
For your developer
Arazzo workflow socket-dev:review-update-security-policy, 2 operations: getOrgSecurityPolicy → updateOrgSecurityPolicy. Specs on APIs.io.