Trellix · Capability

Trellix EDR API — Searches

Trellix EDR API — Searches. 3 operations. Lead operation: Create a real-time search. Self-contained Naftiko capability covering one Trellix business surface.

Run with Naftiko TrellixSearches

What You Can Do

POST
Createsearch — Create a real-time search
/v1/edr/v2/searches
GET
Listsearches — List searches
/v1/edr/v2/searches
GET
Getsearch — Get search status and results
/v1/edr/v2/searches/{searchid}

MCP Tools

create-real-time-search

Create a real-time search

read-only
list-searches

List searches

read-only idempotent
get-search-status-and-results

Get search status and results

read-only idempotent

Capability Spec

edr-searches.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Trellix EDR API — Searches
  description: 'Trellix EDR API — Searches. 3 operations. Lead operation: Create a real-time search. Self-contained Naftiko
    capability covering one Trellix business surface.'
  tags:
  - Trellix
  - Searches
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TRELLIX_API_KEY: TRELLIX_API_KEY
capability:
  consumes:
  - type: http
    namespace: edr-searches
    baseUri: https://api.manage.trellix.com
    description: Trellix EDR API — Searches business capability. Self-contained, no shared references.
    resources:
    - name: edr-v2-searches
      path: /edr/v2/searches
      operations:
      - name: createsearch
        method: POST
        description: Create a real-time search
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listsearches
        method: GET
        description: List searches
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: edr-v2-searches-searchId
      path: /edr/v2/searches/{searchId}
      operations:
      - name: getsearch
        method: GET
        description: Get search status and results
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.TRELLIX_API_KEY}}'
  exposes:
  - type: rest
    namespace: edr-searches-rest
    port: 8080
    description: REST adapter for Trellix EDR API — Searches. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/edr/v2/searches
      name: edr-v2-searches
      description: REST surface for edr-v2-searches.
      operations:
      - method: POST
        name: createsearch
        description: Create a real-time search
        call: edr-searches.createsearch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listsearches
        description: List searches
        call: edr-searches.listsearches
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/edr/v2/searches/{searchid}
      name: edr-v2-searches-searchid
      description: REST surface for edr-v2-searches-searchId.
      operations:
      - method: GET
        name: getsearch
        description: Get search status and results
        call: edr-searches.getsearch
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: edr-searches-mcp
    port: 9090
    transport: http
    description: MCP adapter for Trellix EDR API — Searches. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: create-real-time-search
      description: Create a real-time search
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: edr-searches.createsearch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-searches
      description: List searches
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edr-searches.listsearches
      outputParameters:
      - type: object
        mapping: $.
    - name: get-search-status-and-results
      description: Get search status and results
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edr-searches.getsearch
      outputParameters:
      - type: object
        mapping: $.