Policy > Security > Security Profiles > DNS Security Profiles

List all DNS security profiles

List all DNS security profiles

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/dns-security-profiles
/policy/api/v1/global-infra/dns-security-profiles
Request Headers:
n/a
Query Parameters:
PolicyListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/dns-security-profiles

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DnsSecurityProfileListResult+

Example Response:

{ "results": [ { "resource_type" : "DnsSecurityProfile", "id" : "default", "display_name" : "default-dns-profile", "path" : "/infra/dns-security-profiles/default", "parent_path" : "/infra/dns-security-profiles", "relative_path" : "default", "display_name" : "default-dns-profile", "ttl" : 10000, "_create_user" : "admin", "_create_time" : 1517403652195, "_last_modified_user" : "admin", "_last_modified_time" : 1517403652195, "_system_owned" : false, "_protection" : "NOT_PROTECTED", "_revision" : 1 } ], "result_count": 1, "sort_by": "display_name", "sort_ascending": true }

Required Permissions:

read

Feature:

policy_security_profiles

Additional Errors: