Policy > Security > East West Security > Distributed IDS > Profiles

create or update IDS profile

Update intrusion detection profile. 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/intrusion-services/profiles/<profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IdsProfile+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/settings/firewall/security/intrusion-services/profiles/test-profile { "profile_severity" : [ "CRITICAL" ], "criteria" : [ { "filter_name" : "CVSS", "filter_value" : [ "MEDIUM" ], "resource_type" : "IdsProfileFilterCriteria" } ], "resource_type" : "IdsProfile", "marked_for_delete" : false, "overridden" : false }

Successful Response:

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

Example Response:

{ "profile_severity" : [ "CRITICAL" ], "criteria": [ { "filter_name": "CVSS", "filter_value": [ "MEDIUM" ], "resource_type": "IdsProfileFilterCriteria" } ], "resource_type": "IdsProfile", "id": "test-profile", "display_name": "test-profile", "path": "/infra/settings/firewall/security/intrusion-services/profiles/test-profile", "relative_path": "test-profile", "parent_path": "/infra", "unique_id": "4e874f1e-62f7-40f5-93dc-65b915a557a9", "marked_for_delete": false, "overridden": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1586765213098, "_last_modified_user": "admin", "_last_modified_time": 1586765213102, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_common_ids

Additional Errors: