Create Policy
Request
URI
POST
https://{api_host}/tcsa.host.com/api/usrmgmt/v1/policies
COPY
Request Body
VSAPolicy of type(s) application/json
Required
Show optional properties
{
"policyname": "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\"]}]}]"
}
{
"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
}
string
policyname
Required
name of the policy
string
description
Optional
description of policy
string
eventsDatafilter
Required
Filter condition for event data
string
metricsDatafilter
Required
Filter condition for metrics data
string
topologyDatafilter
Required
Filter condition for topology data
array of string
remediationDataFilter
Optional
Filter condition for remediation data
integer As int64 As int64
creationTime
Optional
creationTime
integer As int64 As int64
updateTime
Optional
updateTime
Responses
200
OK
Operation doesn't return any data structure