[{"label":"Latest (v1.0)","version":"latest"}]
vmware-sase-platform
Add Security Rules
DescriptionAdd CWS Content Inspection Rule to a Security Policy
Request
URLURL
https://{api_host}//api/cws/v1/enterprises/{enterpriseLogicalId}/cwsPolicies/{policyId}/contentInspectionRules
Path Parameters
Path Parameters
string
enterpriseLogicalId
Required
Enterprise ID
string
policyId
Required
CWS Policy ID
Response
Response
Response BodyResponse Body
201 Created returns
CreateSecurityRuleResponse
of type application/json
CWS Content Inspection Rule Created
Errors
httpResponseError
400
Invalid Input
httpResponseError
500
Internal Server Error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"rule":{"action":{"value":"ALLOW"},"attributes":{"categories":["string"],"contentType":"FILE","fileHashes":{},"fileType":"string","fileValues":{},"fqdns":{},"modules":{},"reason":"string","tags":["string"],"transferType":{},"userEntity":{"all":false,"userGroups":["string"],"users":["string"]}},"enabled":false,"logicalId":"ac611099-9872-4b29-bd87-8c2ba8b62c81","name":"sample-policy"},"ruleIndex":0}' https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/cwsPolicies/{policyId}/contentInspectionRules
[{"label":"Latest (v1.0)","version":"latest"}]
vmware-sase-platform
On This Page
CWS Content Inspection Rules Operations
post
delete
patch