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

Update dfw firewall configuration

Update dfw firewall related configurations.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/settings/firewall/security
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DfwFirewallConfiguration+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/settings/firewall/security { "idfw_enabled": true, "resource_type": "DfwFirewallConfiguration", "_revision": 1 }

Successful Response:

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

Example Response:

{ "idfw_enabled": true, "idfw_event_log_scraper_enabled": false, "idfw_loginsight_enabled": false, "resource_type": "DfwFirewallConfiguration", "id": "security", "display_name": "/infra/settings/firewall/security", "path": "/infra/settings/firewall/security", "relative_path": "security", "marked_for_delete": false, "enable_firewall": true, "disable_drafts": false, "_create_user": "system", "_create_time": 1554274751846, "_last_modified_user": "admin", "_last_modified_time": 1554275071006, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 2 }

Required Permissions:

crud

Feature:

policy_security_settings

Additional Errors: