Tanium · Capability

Tanium Threat Response API — Labels

Tanium Threat Response API — Labels. 4 operations. Lead operation: List Labels For An Intel Document. Self-contained Naftiko capability covering one Tanium business surface.

Run with Naftiko TaniumLabels

What You Can Do

GET
Listinteldocumentlabels — List Labels For An Intel Document
/v1/plugin/products/threat-response/api/v1/intels/{inteldocid}/labels
POST
Addlabeltointeldocument — Add A Label To An Intel Document
/v1/plugin/products/threat-response/api/v1/intels/{inteldocid}/labels
GET
Listlabels — List All Labels
/v1/plugin/products/threat-response/api/v1/labels
GET
Getlabel — Get A Label By ID
/v1/plugin/products/threat-response/api/v1/labels/{labelid}

MCP Tools

list-labels-intel-document

List Labels For An Intel Document

read-only idempotent
add-label-intel-document

Add A Label To An Intel Document

list-all-labels

List All Labels

read-only idempotent
get-label-id

Get A Label By ID

read-only idempotent

Capability Spec

threat-response-labels.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tanium Threat Response API — Labels
  description: 'Tanium Threat Response API — Labels. 4 operations. Lead operation: List Labels For An Intel Document. Self-contained
    Naftiko capability covering one Tanium business surface.'
  tags:
  - Tanium
  - Labels
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TANIUM_API_KEY: TANIUM_API_KEY
capability:
  consumes:
  - type: http
    namespace: threat-response-labels
    baseUri: https://{tanium_server}
    description: Tanium Threat Response API — Labels business capability. Self-contained, no shared references.
    resources:
    - name: plugin-products-threat-response-api-v1-intels-intelDocId-labels
      path: /plugin/products/threat-response/api/v1/intels/{intelDocId}/labels
      operations:
      - name: listinteldocumentlabels
        method: GET
        description: List Labels For An Intel Document
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: intelDocId
          in: path
          type: integer
          description: Unique identifier of the intel document
          required: true
      - name: addlabeltointeldocument
        method: POST
        description: Add A Label To An Intel Document
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: intelDocId
          in: path
          type: integer
          description: Unique identifier of the intel document
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: plugin-products-threat-response-api-v1-labels
      path: /plugin/products/threat-response/api/v1/labels
      operations:
      - name: listlabels
        method: GET
        description: List All Labels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of labels to return
        - name: offset
          in: query
          type: integer
          description: Number of labels to skip for pagination
    - name: plugin-products-threat-response-api-v1-labels-labelId
      path: /plugin/products/threat-response/api/v1/labels/{labelId}
      operations:
      - name: getlabel
        method: GET
        description: Get A Label By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labelId
          in: path
          type: integer
          description: Unique identifier of the label
          required: true
    authentication:
      type: apikey
      key: session
      value: '{{env.TANIUM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: threat-response-labels-rest
    port: 8080
    description: REST adapter for Tanium Threat Response API — Labels. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/plugin/products/threat-response/api/v1/intels/{inteldocid}/labels
      name: plugin-products-threat-response-api-v1-intels-inteldocid-labels
      description: REST surface for plugin-products-threat-response-api-v1-intels-intelDocId-labels.
      operations:
      - method: GET
        name: listinteldocumentlabels
        description: List Labels For An Intel Document
        call: threat-response-labels.listinteldocumentlabels
        with:
          intelDocId: rest.intelDocId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: addlabeltointeldocument
        description: Add A Label To An Intel Document
        call: threat-response-labels.addlabeltointeldocument
        with:
          intelDocId: rest.intelDocId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/plugin/products/threat-response/api/v1/labels
      name: plugin-products-threat-response-api-v1-labels
      description: REST surface for plugin-products-threat-response-api-v1-labels.
      operations:
      - method: GET
        name: listlabels
        description: List All Labels
        call: threat-response-labels.listlabels
        with:
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/plugin/products/threat-response/api/v1/labels/{labelid}
      name: plugin-products-threat-response-api-v1-labels-labelid
      description: REST surface for plugin-products-threat-response-api-v1-labels-labelId.
      operations:
      - method: GET
        name: getlabel
        description: Get A Label By ID
        call: threat-response-labels.getlabel
        with:
          labelId: rest.labelId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: threat-response-labels-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tanium Threat Response API — Labels. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-labels-intel-document
      description: List Labels For An Intel Document
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: threat-response-labels.listinteldocumentlabels
      with:
        intelDocId: tools.intelDocId
      outputParameters:
      - type: object
        mapping: $.
    - name: add-label-intel-document
      description: Add A Label To An Intel Document
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: threat-response-labels.addlabeltointeldocument
      with:
        intelDocId: tools.intelDocId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-labels
      description: List All Labels
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: threat-response-labels.listlabels
      with:
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: get-label-id
      description: Get A Label By ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: threat-response-labels.getlabel
      with:
        labelId: tools.labelId
      outputParameters:
      - type: object
        mapping: $.