[{"label":"Latest (v1.0)","version":"latest"}]
vmware-sase-platform

Add SSL Inspection Security Rules

Description

Add SSL Inspection rule to a CWS Security policy

Request

Request

URL

URL


post
https://{api_host}//api/cws/v1/enterprises/{enterpriseLogicalId}/cwsPolicies/{policyId}/sslInspectionRules
Copy

Path Parameters

Path Parameters

string
enterpriseLogicalId Required

Enterprise ID


string
policyId Required

CWS Policy ID


Request Body

Request Body

createSslInspectionBody of mimetype application/json Required
Response

Response

Response Body

Response Body

201 Created returns CreateSecurityRuleResponse of type application/json

SSL Inspection Rule Created

Errors

Errors

httpResponseError
400

Invalid Input


httpResponseError
500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"rule":{"action":{"value":"INSPECT"},"attributes":{"categories":["string"],"destination":{"fqdns":{},"ipAddressRanges":{},"ipAddresses":{},"ipCidrs":{},"type":"ANY"},"reason":"string","source":{"ipAddressRanges":{},"ipAddresses":{},"type":"ANY"},"tags":["string"]},"enabled":false,"logicalId":"ac611099-9872-4b29-bd87-8c2ba8b62c81","name":"sample-policy"},"ruleIndex":0}' https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/cwsPolicies/{policyId}/sslInspectionRules


Feedback

Was this page helpful?