Get Policies
Request
URI
GET
https://{api_host}/api/usrmgmt/v1/policies
COPY
Query Parameters
integer
from
Optional
Constraints: default: 0
from
integer
size
Optional
Constraints: default: 5000
size
string
sortBy
Optional
Constraints: default: updateTime
sortBy
string
sortOrder
Optional
Constraints: default: desc
sortOrder
Responses
200
OK
Returns Array of VSAPolicy of type(s) application/json
[
{
"policyname": "string",
"description": "string",
"eventsDatafilter": "[{\"filterSetName\":\"\",\"filterSetRows\":[{\"propname\":\"Acknowledged\",\"operation\":\"match\",\"propValue\":[\"true\"]}]}]",
"metricsDatafilter": "[{\"filterSetName\":\"\",\"filterSetRows\":[{\"propname\":\"tags.customer\",\"operation\":\"contains\",\"propValue\":[\"ATT\"]}]}]",
"topologyDatafilter": "[{\"filterSetName\":\"\",\"filterSetRows\":[{\"propname\":\"tags.customer\",\"operation\":\"equals\",\"propValue\":[\"ATT\"]}]}]",
"remediationDataFilter": [
"infrastructure",
"messaging"
],
"creationTime": 0,
"updateTime": 0
}
]
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/usrmgmt/v1/policies