Get a policy
GET https://{{host}}/etp-config/v3/configs/:configId/policies/:policyId
Returns the details of a policy.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"accessConfig":{"configurable":true,"delegatedAdmins":["delegatedAdmin@org.com"],"readable":true},"akamaiDefined":true,"aupSettings":[{"categoryId":1,"categoryInfo":{"code":"AKA-SOCIAL","defaultActionId":5,"deprecated":false,"id":1,"name":"Social"},"groups":["GroupName1"],"responseId":5,"responseInfo":{"id":5,"name":"Allow"},"responseOverrides":[{"id":4,"name":"Block"}],"users":["usr1@org.com","bjones@org.com"]}],"authenticationMode":"NONE","basicSettings":{"dnssec":false,"edns0ecs":true,"forwardProxyEnabled":false,"proxyEnabled":false,"safesearch":false,"trustXFF":false},"createdBy":"hgildong","createdDate":"2021-06-25T20:20:33.114+0000","description":"Default policy","id":2480,"ipaSettings":{"enabled":false,"randomCheck":false,"zdp":false},"modifiedBy":"alfulani","modifiedDate":"2022-04-12T21:08:57.108+0000","name":"Default","policyGeneralSettings":{"bypassO365":false,"disableClient":false,"disableInsecureCiphers":false,"dotConfig":{"mode":"ATTEMPT","port":443},"httpProxyOverride":0,"localBreakoutForBypass":true,"proxyAuthEnabled":false,"wgExceptions":false},"riskyFileHandlingSettings":{"hugeRiskyFileResponse":{"id":5,"name":"Allow"},"largeRiskyFileResponse":{"id":5,"name":"Allow"}},"safeSearchSettings":{"youtube":"open"},"securitySettings":[{"confirmedResponseId":760,"confirmedResponseInfo":{"id":760,"name":"Sinkhole 1"},"listId":1,"listInfo":{"categoryId":1,"id":1,"name":"Malware"},"shouldNotifyConfirmed":true,"shouldNotifySuspected":true,"suspectedResponseId":760,"suspectedResponseInfo":{"id":760,"name":"Sinkhole 1"}},{"confirmedResponseId":1,"confirmedResponseInfo":{"id":1,"name":"Monitor"},"listId":5601,"listInfo":{"categoryId":1,"id":5601,"name":"luis list"},"shouldNotifyConfirmed":false,"shouldNotifySuspected":false,"suspectedResponseId":1,"suspectedResponseInfo":{"id":1,"name":"Monitor"}}],"sites":[2160,18217,991731,991733],"sitesInfo":[{"id":2160,"name":"Unidentified IPs"},{"id":18217,"name":"DDNS"},{"id":991731,"name":"aasdfsadfdsa"},{"id":991733,"name":"11adakjsdhfkjaslhdfkjlashldfkljashdfjashdfasdfasdfsakjhasjkdfhkaljshdfkljhasfadfasfdasdfasdfsadf"}]}