{ "info": { "_postman_id": "96f6c07d-7774-4372-8d41-108fbf4c8fc3", "name": "Trellix Web Gateway Policy Anti-Malware URL Filtering 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:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "lastUpdatedBy": "35240", "uid": "35240-96f6c07d-7774-4372-8d41-108fbf4c8fc3" }, "item": [ { "name": "urlfilter", "item": [ { "name": "categories", "item": [ { "name": "List URL categories", "id": "278e5e1d-70f5-411c-96b8-b4a1ef8eebcb", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/urlfilter/categories", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "categories" ] }, "description": "Retrieve the list of available URL categories used for web filtering and policy decisions." }, "response": [ { "id": "f6611daf-7bf7-4a60-87f6-60d070d252d4", "name": "List of URL categories", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "url": { "raw": "{{baseUrl}}/urlfilter/categories", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "categories" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"categories\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"parentCategory\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"parentCategory\": \"\"\n }\n ]\n}", "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-f6611daf-7bf7-4a60-87f6-60d070d252d4" }, { "id": "c8650b5b-0b6f-424c-84ac-3f864363adfd", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "url": { "raw": "{{baseUrl}}/urlfilter/categories", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "categories" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-c8650b5b-0b6f-424c-84ac-3f864363adfd" } ], "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-278e5e1d-70f5-411c-96b8-b4a1ef8eebcb" } ], "id": "762be404-e549-4f75-8876-775f01bdf447", "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-762be404-e549-4f75-8876-775f01bdf447" }, { "name": "lookup", "item": [ { "name": "Look up URL categorization", "id": "2e192158-8b23-4ec3-bf3e-b80dfc919da3", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/urlfilter/lookup?url=", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "lookup" ], "query": [ { "description": "(Required) URL to look up", "key": "url", "value": "" } ] }, "description": "Look up the category and reputation of a specific URL against the Trellix Global Threat Intelligence database." }, "response": [ { "id": "b98b715a-d957-4641-818b-a8eaad6d35e5", "name": "URL categorization result", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "url": { "raw": "{{baseUrl}}/urlfilter/lookup?url=", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "lookup" ], "query": [ { "description": "(Required) URL to look up", "key": "url", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"url\": \"\",\n \"categories\": [\n \"\",\n \"\"\n ],\n \"reputation\": \"neutral\",\n \"riskLevel\": \"\"\n}", "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-b98b715a-d957-4641-818b-a8eaad6d35e5" }, { "id": "bdffc31b-2267-4557-9ca2-8481ef026d53", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "url": { "raw": "{{baseUrl}}/urlfilter/lookup?url=", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "lookup" ], "query": [ { "description": "(Required) URL to look up", "key": "url", "value": "" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-bdffc31b-2267-4557-9ca2-8481ef026d53" } ], "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-2e192158-8b23-4ec3-bf3e-b80dfc919da3" } ], "id": "bf80d6be-3509-4ea3-82be-c8efdff6c8c2", "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-bf80d6be-3509-4ea3-82be-c8efdff6c8c2" }, { "name": "settings", "item": [ { "name": "Get URL filter settings", "id": "9694cb25-1b64-4492-ab41-793aff499c9c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/urlfilter/settings", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "settings" ] }, "description": "Retrieve the current URL filtering configuration including blocked categories, allowed exceptions, and safe search settings." }, "response": [ { "id": "5485f466-ff1d-4832-abfb-66c9a689d631", "name": "URL filter settings", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "url": { "raw": "{{baseUrl}}/urlfilter/settings", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "settings" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"enabled\": \"\",\n \"blockedCategories\": [\n \"\",\n \"\"\n ],\n \"allowedExceptions\": [\n \"\",\n \"\"\n ],\n \"safeSearchEnabled\": \"\",\n \"blockUncategorized\": \"\"\n}", "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-5485f466-ff1d-4832-abfb-66c9a689d631" }, { "id": "6b11dbf5-96e5-4f1a-8c62-4aa0a848e7d3", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "url": { "raw": "{{baseUrl}}/urlfilter/settings", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "settings" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-6b11dbf5-96e5-4f1a-8c62-4aa0a848e7d3" } ], "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-9694cb25-1b64-4492-ab41-793aff499c9c" }, { "name": "Update URL filter settings", "id": "2fde8276-c219-43f9-aa9d-7a3b0a5be2ce", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"enabled\": \"\",\n \"blockedCategories\": [\n \"\",\n \"\"\n ],\n \"allowedExceptions\": [\n \"\",\n \"\"\n ],\n \"safeSearchEnabled\": \"\",\n \"blockUncategorized\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/urlfilter/settings", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "settings" ] }, "description": "Update the URL filtering configuration. Changes must be committed to take effect." }, "response": [ { "id": "9762f096-6a07-428a-9e97-08d684c08028", "name": "Settings updated", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"enabled\": \"\",\n \"blockedCategories\": [\n \"\",\n \"\"\n ],\n \"allowedExceptions\": [\n \"\",\n \"\"\n ],\n \"safeSearchEnabled\": \"\",\n \"blockUncategorized\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/urlfilter/settings", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "settings" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-9762f096-6a07-428a-9e97-08d684c08028" }, { "id": "2a5f536a-1d88-4bca-a248-83cb3b4317aa", "name": "Invalid settings", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"enabled\": \"\",\n \"blockedCategories\": [\n \"\",\n \"\"\n ],\n \"allowedExceptions\": [\n \"\",\n \"\"\n ],\n \"safeSearchEnabled\": \"\",\n \"blockUncategorized\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/urlfilter/settings", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "settings" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-2a5f536a-1d88-4bca-a248-83cb3b4317aa" }, { "id": "91756e0b-f9b4-4619-aef7-30ecf6e7c26a", "name": "Unauthorized", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"enabled\": \"\",\n \"blockedCategories\": [\n \"\",\n \"\"\n ],\n \"allowedExceptions\": [\n \"\",\n \"\"\n ],\n \"safeSearchEnabled\": \"\",\n \"blockUncategorized\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/urlfilter/settings", "host": [ "{{baseUrl}}" ], "path": [ "urlfilter", "settings" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-91756e0b-f9b4-4619-aef7-30ecf6e7c26a" } ], "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-2fde8276-c219-43f9-aa9d-7a3b0a5be2ce" } ], "id": "0e6554a4-4ebc-4416-8e20-3defb6e332b6", "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-0e6554a4-4ebc-4416-8e20-3defb6e332b6" } ], "id": "d26eb25f-7ba7-4bec-9b69-baf479b10945", "createdAt": "2026-07-28T03:19:32.000Z", "updatedAt": "2026-07-28T03:19:32.000Z", "uid": "35240-d26eb25f-7ba7-4bec-9b69-baf479b10945" } ], "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" } ] }