security-policy

Get Organization Security Policy

Changed on

Retrieve 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 URL
    https://api.socket.dev/v0
  • URL
    https://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

securityPolicyDefault'default' | 'low' | 'medium' | 'high'

The default security policy for the organization

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