security-policy
Get Organization Security Policy
Changed onRetrieve the security policy of an organization.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- security-policy:read
get/orgs/{org_slug}/settings/security-policy
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/orgs/{org_slug}/settings/security-policy
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
org_slugstring required
The slug of the organization
Query parameters
custom_rules_onlyboolean
Return only customized security policy rules.
Response
Retrieved security policy details
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info