Get Security Rule By Id
Get CWS Content Inspection rule by Id for a Security Policy
Request
URI
GET
https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/cwsPolicies/{policyId}/contentInspectionRules/{ruleId}
COPY
Path Parameters
string
enterpriseLogicalId
Required
Enterprise ID
string
policyId
Required
CWS Policy ID
string
ruleId
Required
Security Rule ID
Query Parameters
Responses
200
CWS Content Inspection Rule
Returns getContentInspectionRuleResponse of type(s) application/json
{
"name": "sample-policy",
"enabled": false,
"action": {
"value": "string"
},
"logicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c81",
"version": "ac611099-9872-4b29-bd87-8c2ba8b62c81",
"_href": "/enterprise/1/cwsPolicies/7e5b6baa-e5fa-4272-ba4c-5f1941235584/contentFilteringRules/70844bf9-3b75-4a04-9c4d-83046ee52dc0",
"attributes": {
"contentType": "FILE",
"transferType": [
"DOWNLOAD",
"UPLOAD"
],
"fileType": "Multimedia",
"fileValues": [
"AUDIO",
"VIDEO"
],
"modules": [
"ALL"
],
"userEntity": {
"users": [
"test@vmware.com"
]
}
}
}
string
name
Required
name
boolean
enabled
Optional
enabled
object
action
Optional
action
string
logicalId
Required
logicalId
string
version
Required
version
string
_href
Optional
_href
object
attributes
Required
attributes
Cws Content Inspection Rules Operations
POST
Add Security Rules
DELETE
Delete Security Rule By Id
GET
Get Security Rule By Id
GET
Get Security Rules
PATCH
Update Security Rule By Id
PATCH
Update Security Rules