{ "info": { "_postman_id": "46518213-de54-4830-a23c-1759d4e4ce0e", "name": "Trellix Web Gateway Policy Anti-Malware 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:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "lastUpdatedBy": "35240", "uid": "35240-46518213-de54-4830-a23c-1759d4e4ce0e" }, "item": [ { "name": "antimalware", "item": [ { "name": "engines", "item": [ { "name": "List anti-malware engines", "id": "5f6c1311-650f-4e0e-8d3c-86da7414287a", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/antimalware/engines", "host": [ "{{baseUrl}}" ], "path": [ "antimalware", "engines" ] }, "description": "Retrieve the list of configured anti-malware scanning engines and their current status." }, "response": [ { "id": "1162ff43-3ceb-477d-8adb-bd8e74eb4990", "name": "List of anti-malware engines", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "url": { "raw": "{{baseUrl}}/antimalware/engines", "host": [ "{{baseUrl}}" ], "path": [ "antimalware", "engines" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"engines\": [\n {\n \"name\": \"\",\n \"version\": \"\",\n \"signatureDate\": \"\",\n \"enabled\": \"\",\n \"status\": \"error\"\n },\n {\n \"name\": \"\",\n \"version\": \"\",\n \"signatureDate\": \"\",\n \"enabled\": \"\",\n \"status\": \"error\"\n }\n ]\n}", "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-1162ff43-3ceb-477d-8adb-bd8e74eb4990" }, { "id": "81159719-8fa7-4287-ad00-4a7dd67bde1f", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "url": { "raw": "{{baseUrl}}/antimalware/engines", "host": [ "{{baseUrl}}" ], "path": [ "antimalware", "engines" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-81159719-8fa7-4287-ad00-4a7dd67bde1f" } ], "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-5f6c1311-650f-4e0e-8d3c-86da7414287a" } ], "id": "6a387f8c-c4ad-4d4d-834e-cc576628c150", "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-6a387f8c-c4ad-4d4d-834e-cc576628c150" }, { "name": "settings", "item": [ { "name": "Get anti-malware settings", "id": "7e472243-4eeb-41c3-ab90-70b2018bf81f", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/antimalware/settings", "host": [ "{{baseUrl}}" ], "path": [ "antimalware", "settings" ] }, "description": "Retrieve the current anti-malware scanning configuration including enabled engines, scan behavior, and file type handling." }, "response": [ { "id": "4bb0a228-4ce6-4540-a584-03739bed687f", "name": "Anti-malware 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}}/antimalware/settings", "host": [ "{{baseUrl}}" ], "path": [ "antimalware", "settings" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"enabled\": \"\",\n \"engines\": [\n \"\",\n \"\"\n ],\n \"scanDirection\": \"both\",\n \"maxScanSize\": \"\",\n \"blockOnError\": \"\",\n \"gatewayAntiMalwareEnabled\": \"\"\n}", "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-4bb0a228-4ce6-4540-a584-03739bed687f" }, { "id": "7582eee3-97c0-40bd-ae04-2738421d4804", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: apikey", "key": "JSESSIONID", "value": "" } ], "url": { "raw": "{{baseUrl}}/antimalware/settings", "host": [ "{{baseUrl}}" ], "path": [ "antimalware", "settings" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-7582eee3-97c0-40bd-ae04-2738421d4804" } ], "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-7e472243-4eeb-41c3-ab90-70b2018bf81f" }, { "name": "Update anti-malware settings", "id": "321ee78c-f95a-4502-83d6-c5b0418fde2d", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"enabled\": \"\",\n \"engines\": [\n \"\",\n \"\"\n ],\n \"scanDirection\": \"both\",\n \"maxScanSize\": \"\",\n \"blockOnError\": \"\",\n \"gatewayAntiMalwareEnabled\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/antimalware/settings", "host": [ "{{baseUrl}}" ], "path": [ "antimalware", "settings" ] }, "description": "Update the anti-malware scanning configuration. Changes must be committed to take effect." }, "response": [ { "id": "64232109-788f-400c-9570-eb21cfd8223b", "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 \"engines\": [\n \"\",\n \"\"\n ],\n \"scanDirection\": \"both\",\n \"maxScanSize\": \"\",\n \"blockOnError\": \"\",\n \"gatewayAntiMalwareEnabled\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/antimalware/settings", "host": [ "{{baseUrl}}" ], "path": [ "antimalware", "settings" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-64232109-788f-400c-9570-eb21cfd8223b" }, { "id": "179a9712-b149-4de3-8ba6-757695b24246", "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 \"engines\": [\n \"\",\n \"\"\n ],\n \"scanDirection\": \"both\",\n \"maxScanSize\": \"\",\n \"blockOnError\": \"\",\n \"gatewayAntiMalwareEnabled\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/antimalware/settings", "host": [ "{{baseUrl}}" ], "path": [ "antimalware", "settings" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-179a9712-b149-4de3-8ba6-757695b24246" }, { "id": "9e47788b-7b9c-4f25-9ded-3cf080af6006", "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 \"engines\": [\n \"\",\n \"\"\n ],\n \"scanDirection\": \"both\",\n \"maxScanSize\": \"\",\n \"blockOnError\": \"\",\n \"gatewayAntiMalwareEnabled\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/antimalware/settings", "host": [ "{{baseUrl}}" ], "path": [ "antimalware", "settings" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-9e47788b-7b9c-4f25-9ded-3cf080af6006" } ], "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-321ee78c-f95a-4502-83d6-c5b0418fde2d" } ], "id": "47feb5b0-061e-447f-af8d-6060b2bb8661", "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-47feb5b0-061e-447f-af8d-6060b2bb8661" } ], "id": "5282f5a7-bbee-4664-9ae2-1839fecc7a93", "createdAt": "2026-07-28T03:17:53.000Z", "updatedAt": "2026-07-28T03:17:53.000Z", "uid": "35240-5282f5a7-bbee-4664-9ae2-1839fecc7a93" } ], "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" } ] }