Trellix Web Gateway · Capability

Trellix Web Gateway Policy API — Authentication

Trellix Web Gateway Policy API — Authentication. 2 operations. Lead operation: Get authentication settings. Self-contained Naftiko capability covering one Trellix Web Gateway business surface.

Run with Naftiko Trellix Web GatewayAuthentication

What You Can Do

GET
Getauthenticationsettings — Get authentication settings
/v1/authentication/settings
PUT
Updateauthenticationsettings — Update authentication settings
/v1/authentication/settings

MCP Tools

get-authentication-settings

Get authentication settings

read-only idempotent
update-authentication-settings

Update authentication settings

idempotent

Capability Spec

policy-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Trellix Web Gateway Policy API — Authentication
  description: 'Trellix Web Gateway Policy API — Authentication. 2 operations. Lead operation: Get authentication settings.
    Self-contained Naftiko capability covering one Trellix Web Gateway business surface.'
  tags:
  - Trellix Web Gateway
  - Authentication
  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-authentication
    baseUri: https://{mwg-server}:{port}/Konfigurator/REST/policy
    description: Trellix Web Gateway Policy API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: authentication-settings
      path: /authentication/settings
      operations:
      - name: getauthenticationsettings
        method: GET
        description: Get authentication settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateauthenticationsettings
        method: PUT
        description: Update authentication 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-authentication-rest
    port: 8080
    description: REST adapter for Trellix Web Gateway Policy API — Authentication. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/authentication/settings
      name: authentication-settings
      description: REST surface for authentication-settings.
      operations:
      - method: GET
        name: getauthenticationsettings
        description: Get authentication settings
        call: policy-authentication.getauthenticationsettings
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateauthenticationsettings
        description: Update authentication settings
        call: policy-authentication.updateauthenticationsettings
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: policy-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Trellix Web Gateway Policy API — Authentication. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-authentication-settings
      description: Get authentication settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: policy-authentication.getauthenticationsettings
      outputParameters:
      - type: object
        mapping: $.
    - name: update-authentication-settings
      description: Update authentication settings
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: policy-authentication.updateauthenticationsettings
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.