Trellix Web Gateway · Capability

Trellix Web Gateway Policy API — Anti-Malware

Trellix Web Gateway Policy API — Anti-Malware. 3 operations. Lead operation: List anti-malware engines. Self-contained Naftiko capability covering one Trellix Web Gateway business surface.

Run with Naftiko Trellix Web GatewayAnti-Malware

What You Can Do

GET
Listantimalwareengines — List anti-malware engines
/v1/antimalware/engines
GET
Getantimalwaresettings — Get anti-malware settings
/v1/antimalware/settings
PUT
Updateantimalwaresettings — Update anti-malware settings
/v1/antimalware/settings

MCP Tools

list-anti-malware-engines

List anti-malware engines

read-only idempotent
get-anti-malware-settings

Get anti-malware settings

read-only idempotent
update-anti-malware-settings

Update anti-malware settings

idempotent

Capability Spec

policy-anti-malware.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Trellix Web Gateway Policy API — Anti-Malware
  description: 'Trellix Web Gateway Policy API — Anti-Malware. 3 operations. Lead operation: List anti-malware engines. Self-contained
    Naftiko capability covering one Trellix Web Gateway business surface.'
  tags:
  - Trellix Web Gateway
  - Anti-Malware
  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: policy-anti-malware
    baseUri: https://{mwg-server}:{port}/Konfigurator/REST/policy
    description: Trellix Web Gateway Policy API — Anti-Malware business capability. Self-contained, no shared references.
    resources:
    - name: antimalware-engines
      path: /antimalware/engines
      operations:
      - name: listantimalwareengines
        method: GET
        description: List anti-malware engines
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: antimalware-settings
      path: /antimalware/settings
      operations:
      - name: getantimalwaresettings
        method: GET
        description: Get anti-malware settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateantimalwaresettings
        method: PUT
        description: Update anti-malware settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: JSESSIONID
      value: '{{env.TRELLIX_WEB_GATEWAY_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: policy-anti-malware-rest
    port: 8080
    description: REST adapter for Trellix Web Gateway Policy API — Anti-Malware. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/antimalware/engines
      name: antimalware-engines
      description: REST surface for antimalware-engines.
      operations:
      - method: GET
        name: listantimalwareengines
        description: List anti-malware engines
        call: policy-anti-malware.listantimalwareengines
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/antimalware/settings
      name: antimalware-settings
      description: REST surface for antimalware-settings.
      operations:
      - method: GET
        name: getantimalwaresettings
        description: Get anti-malware settings
        call: policy-anti-malware.getantimalwaresettings
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateantimalwaresettings
        description: Update anti-malware settings
        call: policy-anti-malware.updateantimalwaresettings
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: policy-anti-malware-mcp
    port: 9090
    transport: http
    description: MCP adapter for Trellix Web Gateway Policy API — Anti-Malware. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-anti-malware-engines
      description: List anti-malware engines
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: policy-anti-malware.listantimalwareengines
      outputParameters:
      - type: object
        mapping: $.
    - name: get-anti-malware-settings
      description: Get anti-malware settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: policy-anti-malware.getantimalwaresettings
      outputParameters:
      - type: object
        mapping: $.
    - name: update-anti-malware-settings
      description: Update anti-malware settings
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: policy-anti-malware.updateantimalwaresettings
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.