Trellix Web Gateway · Capability

Trellix Web Gateway Reporting API — Reports

Trellix Web Gateway Reporting API — Reports. 5 operations. Lead operation: List available reports. Self-contained Naftiko capability covering one Trellix Web Gateway business surface.

Run with Naftiko Trellix Web GatewayReports

What You Can Do

GET
Listreports — List available reports
/v1/reports
POST
Generatereport — Generate a new report
/v1/reports
GET
Getreport — Get a report
/v1/reports/{reportid}
DELETE
Deletereport — Delete a report
/v1/reports/{reportid}
GET
Downloadreport — Download a report
/v1/reports/{reportid}/download

MCP Tools

list-available-reports

List available reports

read-only idempotent
generate-new-report

Generate a new report

get-report

Get a report

read-only idempotent
delete-report

Delete a report

idempotent
download-report

Download a report

read-only idempotent

Capability Spec

reporting-reports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Trellix Web Gateway Reporting API — Reports
  description: 'Trellix Web Gateway Reporting API — Reports. 5 operations. Lead operation: List available reports. Self-contained
    Naftiko capability covering one Trellix Web Gateway business surface.'
  tags:
  - Trellix Web Gateway
  - Reports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TRELLIX_WEB_GATEWAY_API_KEY: TRELLIX_WEB_GATEWAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: reporting-reports
    baseUri: https://{mwg-server}:{port}/reporter/api
    description: Trellix Web Gateway Reporting API — Reports business capability. Self-contained, no shared references.
    resources:
    - name: reports
      path: /reports
      operations:
      - name: listreports
        method: GET
        description: List available reports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: generatereport
        method: POST
        description: Generate a new report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: reports-reportId
      path: /reports/{reportId}
      operations:
      - name: getreport
        method: GET
        description: Get a report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletereport
        method: DELETE
        description: Delete a report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: reports-reportId-download
      path: /reports/{reportId}/download
      operations:
      - name: downloadreport
        method: GET
        description: Download a report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
          description: Output format for the report
    authentication:
      type: apikey
      key: JSESSIONID
      value: '{{env.TRELLIX_WEB_GATEWAY_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: reporting-reports-rest
    port: 8080
    description: REST adapter for Trellix Web Gateway Reporting API — Reports. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/reports
      name: reports
      description: REST surface for reports.
      operations:
      - method: GET
        name: listreports
        description: List available reports
        call: reporting-reports.listreports
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: generatereport
        description: Generate a new report
        call: reporting-reports.generatereport
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/reports/{reportid}
      name: reports-reportid
      description: REST surface for reports-reportId.
      operations:
      - method: GET
        name: getreport
        description: Get a report
        call: reporting-reports.getreport
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletereport
        description: Delete a report
        call: reporting-reports.deletereport
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/reports/{reportid}/download
      name: reports-reportid-download
      description: REST surface for reports-reportId-download.
      operations:
      - method: GET
        name: downloadreport
        description: Download a report
        call: reporting-reports.downloadreport
        with:
          format: rest.format
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: reporting-reports-mcp
    port: 9090
    transport: http
    description: MCP adapter for Trellix Web Gateway Reporting API — Reports. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-available-reports
      description: List available reports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: reporting-reports.listreports
      outputParameters:
      - type: object
        mapping: $.
    - name: generate-new-report
      description: Generate a new report
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: reporting-reports.generatereport
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-report
      description: Get a report
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: reporting-reports.getreport
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-report
      description: Delete a report
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: reporting-reports.deletereport
      outputParameters:
      - type: object
        mapping: $.
    - name: download-report
      description: Download a report
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: reporting-reports.downloadreport
      with:
        format: tools.format
      outputParameters:
      - type: object
        mapping: $.