Update Policy
Request
URI
PUT
https://{api_host}/tcsa.host.com/api/usrmgmt/v1/policies
COPY
Request Body
VSAPolicyUpdateRequest of type(s) application/json
Required
Show optional properties
{
"policyname": "string",
"updateTime": 0
}
{
"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
Optional
Filter condition for event data
string
metricsDatafilter
Optional
Filter condition for metrics data
string
topologyDatafilter
Optional
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
Required
updateTime
Responses
200
OK
Operation doesn't return any data structure