{
  "info": {
    "_postman_id": "6b9c9598-c748-4f41-98f0-af44ac3b0fb5",
    "name": "Trellix Web Gateway Policy Anti-Malware Rules API",
    "description": "API for creating, updating, and managing security policies, rule sets, and configurations for web filtering and threat prevention on Trellix Web Gateway (formerly McAfee Web Gateway). Provides programmatic access to policy rules, URL filter settings, anti-malware settings, and SSL scanning configurations.\n\nContact Support:\n Name: Trellix Support\n Email: support@trellix.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:19:21.000Z",
    "updatedAt": "2026-07-28T03:19:22.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-6b9c9598-c748-4f41-98f0-af44ac3b0fb5"
  },
  "item": [
    {
      "name": "rulesets",
      "item": [
        {
          "name": "{ruleSetId}",
          "item": [
            {
              "name": "rules",
              "item": [
                {
                  "name": "{ruleId}",
                  "item": [
                    {
                      "name": "Get a specific rule",
                      "id": "e7a48bbd-1086-47aa-a843-f40f6f3ee90b",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rulesets",
                            ":ruleSetId",
                            "rules",
                            ":ruleId"
                          ],
                          "variable": [
                            {
                              "id": "76e7c0f7-13b9-4524-add1-0a6811b00af2",
                              "key": "ruleSetId",
                              "value": "<string>",
                              "description": "(Required) Unique identifier of the rule set"
                            },
                            {
                              "id": "10be797f-fd0d-4f3e-8009-538e32fab5ff",
                              "key": "ruleId",
                              "value": "<string>",
                              "description": "(Required) Unique identifier of the rule"
                            }
                          ]
                        },
                        "description": "Retrieve the full configuration of a specific rule within a rule set."
                      },
                      "response": [
                        {
                          "id": "4b21dfce-7fab-4251-ba92-d9b383d041ea",
                          "name": "Rule details",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "JSESSIONID",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rulesets",
                                ":ruleSetId",
                                "rules",
                                ":ruleId"
                              ],
                              "variable": [
                                {
                                  "key": "ruleSetId"
                                },
                                {
                                  "key": "ruleId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"order\": \"<integer>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_equals\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"authenticate\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  }\n}",
                          "createdAt": "2026-07-28T03:19:22.000Z",
                          "updatedAt": "2026-07-28T03:19:22.000Z",
                          "uid": "35240-4b21dfce-7fab-4251-ba92-d9b383d041ea"
                        },
                        {
                          "id": "2d5482b1-aa3e-41ef-abd2-034c723068a6",
                          "name": "Unauthorized",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "JSESSIONID",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rulesets",
                                ":ruleSetId",
                                "rules",
                                ":ruleId"
                              ],
                              "variable": [
                                {
                                  "key": "ruleSetId"
                                },
                                {
                                  "key": "ruleId"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T03:19:22.000Z",
                          "updatedAt": "2026-07-28T03:19:22.000Z",
                          "uid": "35240-2d5482b1-aa3e-41ef-abd2-034c723068a6"
                        },
                        {
                          "id": "2cd3caaf-ba87-4999-9a3c-59e35e3ef82e",
                          "name": "Rule or rule set not found",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "JSESSIONID",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rulesets",
                                ":ruleSetId",
                                "rules",
                                ":ruleId"
                              ],
                              "variable": [
                                {
                                  "key": "ruleSetId"
                                },
                                {
                                  "key": "ruleId"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T03:19:22.000Z",
                          "updatedAt": "2026-07-28T03:19:22.000Z",
                          "uid": "35240-2cd3caaf-ba87-4999-9a3c-59e35e3ef82e"
                        }
                      ],
                      "createdAt": "2026-07-28T03:19:22.000Z",
                      "updatedAt": "2026-07-28T03:19:22.000Z",
                      "uid": "35240-e7a48bbd-1086-47aa-a843-f40f6f3ee90b"
                    },
                    {
                      "name": "Update a rule",
                      "id": "df4b96f5-6fb5-421e-9a4b-f2da95091ae5",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"order\": \"<integer>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_equals\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"allow\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  }\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rulesets",
                            ":ruleSetId",
                            "rules",
                            ":ruleId"
                          ],
                          "variable": [
                            {
                              "id": "d16b8cc1-d76a-4674-bf20-738ac81f647e",
                              "key": "ruleSetId",
                              "value": "<string>",
                              "description": "(Required) Unique identifier of the rule set"
                            },
                            {
                              "id": "4182e38d-a1d8-411b-9608-efe106ea4ba4",
                              "key": "ruleId",
                              "value": "<string>",
                              "description": "(Required) Unique identifier of the rule"
                            }
                          ]
                        },
                        "description": "Update the configuration of an existing rule. Changes must be committed to take effect."
                      },
                      "response": [
                        {
                          "id": "cd5aa3d0-5bb1-4b56-9ffb-f2ceb792955d",
                          "name": "Rule updated",
                          "originalRequest": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "JSESSIONID",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"order\": \"<integer>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_equals\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"allow\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rulesets",
                                ":ruleSetId",
                                "rules",
                                ":ruleId"
                              ],
                              "variable": [
                                {
                                  "key": "ruleSetId"
                                },
                                {
                                  "key": "ruleId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"order\": \"<integer>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_equals\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"authenticate\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  }\n}",
                          "createdAt": "2026-07-28T03:19:22.000Z",
                          "updatedAt": "2026-07-28T03:19:22.000Z",
                          "uid": "35240-cd5aa3d0-5bb1-4b56-9ffb-f2ceb792955d"
                        },
                        {
                          "id": "0c5028b7-41b4-4223-a738-8168896ee0bf",
                          "name": "Invalid rule configuration",
                          "originalRequest": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "JSESSIONID",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"order\": \"<integer>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_equals\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"allow\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rulesets",
                                ":ruleSetId",
                                "rules",
                                ":ruleId"
                              ],
                              "variable": [
                                {
                                  "key": "ruleSetId"
                                },
                                {
                                  "key": "ruleId"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T03:19:22.000Z",
                          "updatedAt": "2026-07-28T03:19:22.000Z",
                          "uid": "35240-0c5028b7-41b4-4223-a738-8168896ee0bf"
                        },
                        {
                          "id": "7d8e06eb-db63-4344-b66f-fbc7978a0d22",
                          "name": "Unauthorized",
                          "originalRequest": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "JSESSIONID",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"order\": \"<integer>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_equals\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"allow\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rulesets",
                                ":ruleSetId",
                                "rules",
                                ":ruleId"
                              ],
                              "variable": [
                                {
                                  "key": "ruleSetId"
                                },
                                {
                                  "key": "ruleId"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T03:19:22.000Z",
                          "updatedAt": "2026-07-28T03:19:22.000Z",
                          "uid": "35240-7d8e06eb-db63-4344-b66f-fbc7978a0d22"
                        },
                        {
                          "id": "3d8d400f-8084-4da3-a314-5c95e1fea435",
                          "name": "Rule or rule set not found",
                          "originalRequest": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "JSESSIONID",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"order\": \"<integer>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_equals\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"allow\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rulesets",
                                ":ruleSetId",
                                "rules",
                                ":ruleId"
                              ],
                              "variable": [
                                {
                                  "key": "ruleSetId"
                                },
                                {
                                  "key": "ruleId"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T03:19:22.000Z",
                          "updatedAt": "2026-07-28T03:19:22.000Z",
                          "uid": "35240-3d8d400f-8084-4da3-a314-5c95e1fea435"
                        }
                      ],
                      "createdAt": "2026-07-28T03:19:22.000Z",
                      "updatedAt": "2026-07-28T03:19:22.000Z",
                      "uid": "35240-df4b96f5-6fb5-421e-9a4b-f2da95091ae5"
                    },
                    {
                      "name": "Delete a rule",
                      "id": "79826225-a03f-49fb-8a05-438addc48c93",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "DELETE",
                        "header": [],
                        "url": {
                          "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rulesets",
                            ":ruleSetId",
                            "rules",
                            ":ruleId"
                          ],
                          "variable": [
                            {
                              "id": "47806ad9-eb37-47b4-a61a-a720b503baa4",
                              "key": "ruleSetId",
                              "value": "<string>",
                              "description": "(Required) Unique identifier of the rule set"
                            },
                            {
                              "id": "74c8a227-f001-45a8-a281-c07401fa10c0",
                              "key": "ruleId",
                              "value": "<string>",
                              "description": "(Required) Unique identifier of the rule"
                            }
                          ]
                        },
                        "description": "Delete a specific rule from a rule set. Changes must be committed to take effect."
                      },
                      "response": [
                        {
                          "id": "15d1acbf-d795-4000-9c71-deb333eb77ff",
                          "name": "Rule deleted",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "JSESSIONID",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rulesets",
                                ":ruleSetId",
                                "rules",
                                ":ruleId"
                              ],
                              "variable": [
                                {
                                  "key": "ruleSetId"
                                },
                                {
                                  "key": "ruleId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T03:19:22.000Z",
                          "updatedAt": "2026-07-28T03:19:22.000Z",
                          "uid": "35240-15d1acbf-d795-4000-9c71-deb333eb77ff"
                        },
                        {
                          "id": "17846e15-931e-48bd-ad85-dbb1c6ed1b2a",
                          "name": "Unauthorized",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "JSESSIONID",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rulesets",
                                ":ruleSetId",
                                "rules",
                                ":ruleId"
                              ],
                              "variable": [
                                {
                                  "key": "ruleSetId"
                                },
                                {
                                  "key": "ruleId"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T03:19:22.000Z",
                          "updatedAt": "2026-07-28T03:19:22.000Z",
                          "uid": "35240-17846e15-931e-48bd-ad85-dbb1c6ed1b2a"
                        },
                        {
                          "id": "382c72f8-8a7e-48f6-8194-9f402d0ca6f1",
                          "name": "Rule or rule set not found",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "JSESSIONID",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules/:ruleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rulesets",
                                ":ruleSetId",
                                "rules",
                                ":ruleId"
                              ],
                              "variable": [
                                {
                                  "key": "ruleSetId"
                                },
                                {
                                  "key": "ruleId"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T03:19:22.000Z",
                          "updatedAt": "2026-07-28T03:19:22.000Z",
                          "uid": "35240-382c72f8-8a7e-48f6-8194-9f402d0ca6f1"
                        }
                      ],
                      "createdAt": "2026-07-28T03:19:22.000Z",
                      "updatedAt": "2026-07-28T03:19:22.000Z",
                      "uid": "35240-79826225-a03f-49fb-8a05-438addc48c93"
                    }
                  ],
                  "id": "e9ac4a24-14f8-40e6-8c4d-b16030d561ba",
                  "createdAt": "2026-07-28T03:19:22.000Z",
                  "updatedAt": "2026-07-28T03:19:22.000Z",
                  "uid": "35240-e9ac4a24-14f8-40e6-8c4d-b16030d561ba"
                },
                {
                  "name": "List rules in a rule set",
                  "id": "088dcdb3-9701-41d5-8403-b9701bb97d11",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "rulesets",
                        ":ruleSetId",
                        "rules"
                      ],
                      "variable": [
                        {
                          "id": "56c2cd61-4e0f-4e44-9464-a53eb621e06b",
                          "key": "ruleSetId",
                          "value": "<string>",
                          "description": "(Required) Unique identifier of the rule set"
                        }
                      ]
                    },
                    "description": "Retrieve all rules within a specific rule set, including their conditions, actions, and order."
                  },
                  "response": [
                    {
                      "id": "3eef07ad-4906-4716-bd71-bbfbdeb8e5c2",
                      "name": "List of rules",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "JSESSIONID",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rulesets",
                            ":ruleSetId",
                            "rules"
                          ],
                          "variable": [
                            {
                              "key": "ruleSetId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"rules\": [\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"enabled\": \"<boolean>\",\n      \"order\": \"<integer>\",\n      \"condition\": {\n        \"property\": \"<string>\",\n        \"operator\": \"not_equals\",\n        \"value\": \"<string>\",\n        \"listRef\": \"<string>\"\n      },\n      \"action\": {\n        \"type\": \"stop_cycle\",\n        \"blockTemplate\": \"<string>\",\n        \"redirectUrl\": \"<string>\"\n      }\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"enabled\": \"<boolean>\",\n      \"order\": \"<integer>\",\n      \"condition\": {\n        \"property\": \"<string>\",\n        \"operator\": \"greater_than\",\n        \"value\": \"<string>\",\n        \"listRef\": \"<string>\"\n      },\n      \"action\": {\n        \"type\": \"log\",\n        \"blockTemplate\": \"<string>\",\n        \"redirectUrl\": \"<string>\"\n      }\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T03:19:22.000Z",
                      "updatedAt": "2026-07-28T03:19:22.000Z",
                      "uid": "35240-3eef07ad-4906-4716-bd71-bbfbdeb8e5c2"
                    },
                    {
                      "id": "0407bb5c-5c7d-4744-b364-a297ae432136",
                      "name": "Unauthorized",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "JSESSIONID",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rulesets",
                            ":ruleSetId",
                            "rules"
                          ],
                          "variable": [
                            {
                              "key": "ruleSetId"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T03:19:22.000Z",
                      "updatedAt": "2026-07-28T03:19:22.000Z",
                      "uid": "35240-0407bb5c-5c7d-4744-b364-a297ae432136"
                    },
                    {
                      "id": "daef8659-0cb2-4df6-b5d3-64b9ff8c6d5e",
                      "name": "Rule set not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "JSESSIONID",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rulesets",
                            ":ruleSetId",
                            "rules"
                          ],
                          "variable": [
                            {
                              "key": "ruleSetId"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T03:19:22.000Z",
                      "updatedAt": "2026-07-28T03:19:22.000Z",
                      "uid": "35240-daef8659-0cb2-4df6-b5d3-64b9ff8c6d5e"
                    }
                  ],
                  "createdAt": "2026-07-28T03:19:22.000Z",
                  "updatedAt": "2026-07-28T03:19:22.000Z",
                  "uid": "35240-088dcdb3-9701-41d5-8403-b9701bb97d11"
                },
                {
                  "name": "Create a new rule",
                  "id": "73277310-3806-452c-87a5-dbcba67d92b7",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"name\": \"<string>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_in_list\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"allow\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  },\n  \"description\": \"<string>\",\n  \"enabled\": true\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "rulesets",
                        ":ruleSetId",
                        "rules"
                      ],
                      "variable": [
                        {
                          "id": "f18108de-f36a-4dea-80a0-533c4b1c9c05",
                          "key": "ruleSetId",
                          "value": "<string>",
                          "description": "(Required) Unique identifier of the rule set"
                        }
                      ]
                    },
                    "description": "Add a new rule to a rule set with the specified conditions and actions. Changes must be committed to take effect."
                  },
                  "response": [
                    {
                      "id": "31695a40-38aa-4c4b-9127-d1b98fa5a647",
                      "name": "Rule created",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "JSESSIONID",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_in_list\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"allow\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  },\n  \"description\": \"<string>\",\n  \"enabled\": true\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rulesets",
                            ":ruleSetId",
                            "rules"
                          ],
                          "variable": [
                            {
                              "key": "ruleSetId"
                            }
                          ]
                        }
                      },
                      "status": "Created",
                      "code": 201,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"order\": \"<integer>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_equals\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"authenticate\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  }\n}",
                      "createdAt": "2026-07-28T03:19:22.000Z",
                      "updatedAt": "2026-07-28T03:19:22.000Z",
                      "uid": "35240-31695a40-38aa-4c4b-9127-d1b98fa5a647"
                    },
                    {
                      "id": "e9eef382-2fce-4a36-b756-7bf74c8444fe",
                      "name": "Invalid rule definition",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "JSESSIONID",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_in_list\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"allow\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  },\n  \"description\": \"<string>\",\n  \"enabled\": true\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rulesets",
                            ":ruleSetId",
                            "rules"
                          ],
                          "variable": [
                            {
                              "key": "ruleSetId"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T03:19:22.000Z",
                      "updatedAt": "2026-07-28T03:19:22.000Z",
                      "uid": "35240-e9eef382-2fce-4a36-b756-7bf74c8444fe"
                    },
                    {
                      "id": "e30f5605-6c17-4de6-810d-d33a49681c8b",
                      "name": "Unauthorized",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "JSESSIONID",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_in_list\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"allow\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  },\n  \"description\": \"<string>\",\n  \"enabled\": true\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rulesets",
                            ":ruleSetId",
                            "rules"
                          ],
                          "variable": [
                            {
                              "key": "ruleSetId"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T03:19:22.000Z",
                      "updatedAt": "2026-07-28T03:19:22.000Z",
                      "uid": "35240-e30f5605-6c17-4de6-810d-d33a49681c8b"
                    },
                    {
                      "id": "ecafd8d8-cd8c-4d31-9856-027c11a13f95",
                      "name": "Rule set not found",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "JSESSIONID",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"condition\": {\n    \"property\": \"<string>\",\n    \"operator\": \"not_in_list\",\n    \"value\": \"<string>\",\n    \"listRef\": \"<string>\"\n  },\n  \"action\": {\n    \"type\": \"allow\",\n    \"blockTemplate\": \"<string>\",\n    \"redirectUrl\": \"<string>\"\n  },\n  \"description\": \"<string>\",\n  \"enabled\": true\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/rulesets/:ruleSetId/rules",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rulesets",
                            ":ruleSetId",
                            "rules"
                          ],
                          "variable": [
                            {
                              "key": "ruleSetId"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T03:19:22.000Z",
                      "updatedAt": "2026-07-28T03:19:22.000Z",
                      "uid": "35240-ecafd8d8-cd8c-4d31-9856-027c11a13f95"
                    }
                  ],
                  "createdAt": "2026-07-28T03:19:22.000Z",
                  "updatedAt": "2026-07-28T03:19:22.000Z",
                  "uid": "35240-73277310-3806-452c-87a5-dbcba67d92b7"
                }
              ],
              "id": "94f42a75-9b6e-4cd6-8f30-100a2c29a844",
              "createdAt": "2026-07-28T03:19:22.000Z",
              "updatedAt": "2026-07-28T03:19:22.000Z",
              "uid": "35240-94f42a75-9b6e-4cd6-8f30-100a2c29a844"
            }
          ],
          "id": "e343bc05-2e06-4193-a985-ca54797a9207",
          "createdAt": "2026-07-28T03:19:22.000Z",
          "updatedAt": "2026-07-28T03:19:22.000Z",
          "uid": "35240-e343bc05-2e06-4193-a985-ca54797a9207"
        }
      ],
      "id": "bd8e621d-e094-43b2-b3bd-31995f8aa44f",
      "createdAt": "2026-07-28T03:19:22.000Z",
      "updatedAt": "2026-07-28T03:19:22.000Z",
      "uid": "35240-bd8e621d-e094-43b2-b3bd-31995f8aa44f"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "JSESSIONID",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "mwg-server",
      "value": "mwg.example.com"
    },
    {
      "key": "port",
      "value": "4712"
    },
    {
      "key": "baseUrl",
      "value": "https://{{mwg-server}}:{{port}}/Konfigurator/REST/policy"
    }
  ]
}