Lists policies for the team or organization in creation order. Pagination count is the number of policies on this page. Authentication values are redacted.
Required permission
Account > Networking > SecurityPolicies > Read
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.min1max100page
integerThe page number to access.min1cursor
stringThe cursor returned from the previous page of results, used to request the next page.min length24max length24
Response body
- {object}Response object.
data
{object} requiredResult data.securityPolicies
[array] required- {object}
id
string requiredpattern^[A-Za-z0-9-]+$uid
string requiredPermanent identifier for the resource. Unlike `id`, it never changes and is never reused.min length24max length24name
string requiredmin length3max length39pattern^[a-zA-Z]((-|\s)?[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*)?$description
stringmax length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$entityType
string requiredone ofteam, orgspec
(multiple options: anyOf) requiredlifecycleStatus
string requiredone ofcreated, pending, error, deleting, deletion_errorcreatedAt
string requiredupdatedAt
string requiredstate
{object}lastSyncAttemptAt
stringlastSyncedAt
stringcounts
{object}matched
integer requiredexcluded
integer requiredunsupported
integer requiredpending
integer requiredinSync
integer requirederror
integer requiredwarnings
[array]- {object}
code
string requiredone ofdefaultOverrodeEnforcedwinningDefaultPolicyId
string requiredshadowedEnforcedPolicyIds
[array] required- string
affectedCount
integer requiredrisk
string requiredone ofnestedDelegation, broadeningDelegationpagination
{object} requiredData about the endpoint pagination.hasNextPage
boolean requiredIs there another page of results available?cursor
stringThe cursor to access the next page of results.count
number requiredThe number of results returned by this request.
GET /v1/security-policies
GET /v1/teams/{teamId}/security-policies
Example response
200 OK
A page of security policies.
JSON
{
"data": {
"securityPolicies": [
{
"uid": "68f0aa1b9c4e2d7f11a3b402"
}
]
},
"pagination": {
"hasNextPage": false,
"count": 1
}
}