ves-io-schema-shape-client_side_defense-CustomAPI-GetDetectedDomains

Examples of performing shapeclientside_defense CustomAPI GetDetectedDomains

Usecase:

Get detected domains

Request:

Request using vesctl:

vesctl request rpc shape_client_side_defense.CustomAPI.GetDetectedDomains -i request.yaml --uri /public/namespaces/system/detected_domains --http-method GET

where file request.yaml has following contents:

duration: "15"
locations: location1.com,location2.com
risk: high

vesctl yaml response:

{}

Request using curl:

curl -X 'GET' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build038462651_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/client_side_defense/namespaces/system/detected_domains?duration=15&locations=location1.com