Policy > Security > East West Security > Distributed Firewall > Settings > Drafts

Get a preview of a configuration after publish of a draft

Get a preview of a configuration which will be present after publish of
a specified draft. The response essentially is a hierarchical payload
containing the configuration, which will be in active after a specified
draft gets published onto current configuration.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/drafts/<draft-id>/complete
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/drafts/test_draft/complete

Successful Response:

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

Example Response:

{ "resource_type": "Infra", "id": "infra", "display_name": "infra", "path": "/infra", "children": [ { "children": [ { "SecurityPolicy": { "logging_enabled": false, "resource_type": "SecurityPolicy", "id": "app-section-1", "display_name": "app-section-1", "path": "/infra/domains/default/security-policies/app-section-1", "marked_for_delete": true, "overridden": false, "sequence_number": 1, "category": "Application", "stateful": true, "tcp_strict": true, "locked": false, "scope": [ "ANY" ], "is_default": false, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }, "resource_type": "ChildSecurityPolicy", "marked_for_delete": true, "mark_for_override": false, "_protection": "NOT_PROTECTED" } ], "target_type": "Domain", "resource_type": "ChildResourceReference", "id": "default", "marked_for_delete": false, "mark_for_override": false, "_protection": "NOT_PROTECTED" } ], "marked_for_delete": false, "overridden": false, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_dfw

Additional Errors: