{
  "info": {
    "_postman_id": "7a49f2a0-ccf1-4d1f-bd92-643b1ae04e29",
    "name": "Trellix Web Gateway Policy Anti-Malware Troubleshooting 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:31.000Z",
    "updatedAt": "2026-07-28T03:19:31.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-7a49f2a0-ccf1-4d1f-bd92-643b1ae04e29"
  },
  "item": [
    {
      "name": "troubleshooting",
      "item": [
        {
          "name": "logs",
          "item": [
            {
              "name": "Retrieve system logs",
              "id": "8af09449-07b1-4fc2-b832-5c344ebd27a1",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/troubleshooting/logs?type=audit&from=<dateTime>&to=<dateTime>&limit=100",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "troubleshooting",
                    "logs"
                  ],
                  "query": [
                    {
                      "description": "Type of log to retrieve",
                      "key": "type",
                      "value": "audit"
                    },
                    {
                      "description": "Start timestamp for log retrieval",
                      "key": "from",
                      "value": "<dateTime>"
                    },
                    {
                      "description": "End timestamp for log retrieval",
                      "key": "to",
                      "value": "<dateTime>"
                    },
                    {
                      "description": "Maximum number of log entries to return",
                      "key": "limit",
                      "value": "100"
                    }
                  ]
                },
                "description": "Access system and audit logs from the Web Gateway appliance for troubleshooting and monitoring purposes."
              },
              "response": [
                {
                  "id": "8425379f-882a-4824-b04c-3a7bfea23166",
                  "name": "Log entries returned",
                  "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}}/troubleshooting/logs?type=audit&from=<dateTime>&to=<dateTime>&limit=100",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "troubleshooting",
                        "logs"
                      ],
                      "query": [
                        {
                          "description": "Type of log to retrieve",
                          "key": "type",
                          "value": "audit"
                        },
                        {
                          "description": "Start timestamp for log retrieval",
                          "key": "from",
                          "value": "<dateTime>"
                        },
                        {
                          "description": "End timestamp for log retrieval",
                          "key": "to",
                          "value": "<dateTime>"
                        },
                        {
                          "description": "Maximum number of log entries to return",
                          "key": "limit",
                          "value": "100"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"entries\": [\n    {\n      \"timestamp\": \"<dateTime>\",\n      \"level\": \"ERROR\",\n      \"source\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"timestamp\": \"<dateTime>\",\n      \"level\": \"WARNING\",\n      \"source\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T03:19:32.000Z",
                  "updatedAt": "2026-07-28T03:19:32.000Z",
                  "uid": "35240-8425379f-882a-4824-b04c-3a7bfea23166"
                },
                {
                  "id": "c416e39f-b8c0-4cf0-8110-87813943e49f",
                  "name": "Unauthorized",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "JSESSIONID",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/troubleshooting/logs?type=audit&from=<dateTime>&to=<dateTime>&limit=100",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "troubleshooting",
                        "logs"
                      ],
                      "query": [
                        {
                          "description": "Type of log to retrieve",
                          "key": "type",
                          "value": "audit"
                        },
                        {
                          "description": "Start timestamp for log retrieval",
                          "key": "from",
                          "value": "<dateTime>"
                        },
                        {
                          "description": "End timestamp for log retrieval",
                          "key": "to",
                          "value": "<dateTime>"
                        },
                        {
                          "description": "Maximum number of log entries to return",
                          "key": "limit",
                          "value": "100"
                        }
                      ]
                    }
                  },
                  "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-c416e39f-b8c0-4cf0-8110-87813943e49f"
                }
              ],
              "createdAt": "2026-07-28T03:19:32.000Z",
              "updatedAt": "2026-07-28T03:19:32.000Z",
              "uid": "35240-8af09449-07b1-4fc2-b832-5c344ebd27a1"
            }
          ],
          "id": "2821da1c-d571-4cf6-b3b9-d23711e41466",
          "createdAt": "2026-07-28T03:19:32.000Z",
          "updatedAt": "2026-07-28T03:19:32.000Z",
          "uid": "35240-2821da1c-d571-4cf6-b3b9-d23711e41466"
        },
        {
          "name": "feedback",
          "item": [
            {
              "name": "List feedback files",
              "id": "ea493fe0-a35a-4371-b880-86fa1c71e1b7",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/troubleshooting/feedback",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "troubleshooting",
                    "feedback"
                  ]
                },
                "description": "Retrieve the list of available feedback and diagnostic files generated by the appliance."
              },
              "response": [
                {
                  "id": "4bf50e54-a82b-435c-9bd0-a2e43ffe35ad",
                  "name": "Feedback files listed",
                  "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}}/troubleshooting/feedback",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "troubleshooting",
                        "feedback"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"size\": \"<integer>\",\n      \"lastModified\": \"<dateTime>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"size\": \"<integer>\",\n      \"lastModified\": \"<dateTime>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T03:19:32.000Z",
                  "updatedAt": "2026-07-28T03:19:32.000Z",
                  "uid": "35240-4bf50e54-a82b-435c-9bd0-a2e43ffe35ad"
                },
                {
                  "id": "06cad002-a0d5-443f-99aa-f3213910c9d0",
                  "name": "Unauthorized",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "JSESSIONID",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/troubleshooting/feedback",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "troubleshooting",
                        "feedback"
                      ]
                    }
                  },
                  "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-06cad002-a0d5-443f-99aa-f3213910c9d0"
                }
              ],
              "createdAt": "2026-07-28T03:19:32.000Z",
              "updatedAt": "2026-07-28T03:19:32.000Z",
              "uid": "35240-ea493fe0-a35a-4371-b880-86fa1c71e1b7"
            }
          ],
          "id": "2823cc48-34cf-4267-b937-41e86f20741d",
          "createdAt": "2026-07-28T03:19:32.000Z",
          "updatedAt": "2026-07-28T03:19:32.000Z",
          "uid": "35240-2823cc48-34cf-4267-b937-41e86f20741d"
        }
      ],
      "id": "237c2170-5cb2-4953-9a53-dfdd884863cd",
      "createdAt": "2026-07-28T03:19:32.000Z",
      "updatedAt": "2026-07-28T03:19:32.000Z",
      "uid": "35240-237c2170-5cb2-4953-9a53-dfdd884863cd"
    }
  ],
  "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"
    }
  ]
}