Tanium · Capability

Tanium Platform REST API — Sensors

Tanium Platform REST API — Sensors. 2 operations. Lead operation: List All Sensors. Self-contained Naftiko capability covering one Tanium business surface.

Run with Naftiko TaniumSensors

What You Can Do

GET
Listsensors — List All Sensors
/v1/api/v2/sensors
GET
Getsensorbyname — Get A Sensor By Name
/v1/api/v2/sensors/by-name/{name}

MCP Tools

list-all-sensors

List All Sensors

read-only idempotent
get-sensor-name

Get A Sensor By Name

read-only idempotent

Capability Spec

platform-rest-sensors.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tanium Platform REST API — Sensors
  description: 'Tanium Platform REST API — Sensors. 2 operations. Lead operation: List All Sensors. Self-contained Naftiko
    capability covering one Tanium business surface.'
  tags:
  - Tanium
  - Sensors
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TANIUM_API_KEY: TANIUM_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-rest-sensors
    baseUri: https://{tanium_server}
    description: Tanium Platform REST API — Sensors business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-sensors
      path: /api/v2/sensors
      operations:
      - name: listsensors
        method: GET
        description: List All Sensors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v2-sensors-by-name-name
      path: /api/v2/sensors/by-name/{name}
      operations:
      - name: getsensorbyname
        method: GET
        description: Get A Sensor By Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: Name of the sensor
          required: true
    authentication:
      type: apikey
      key: session
      value: '{{env.TANIUM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: platform-rest-sensors-rest
    port: 8080
    description: REST adapter for Tanium Platform REST API — Sensors. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v2/sensors
      name: api-v2-sensors
      description: REST surface for api-v2-sensors.
      operations:
      - method: GET
        name: listsensors
        description: List All Sensors
        call: platform-rest-sensors.listsensors
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/sensors/by-name/{name}
      name: api-v2-sensors-by-name-name
      description: REST surface for api-v2-sensors-by-name-name.
      operations:
      - method: GET
        name: getsensorbyname
        description: Get A Sensor By Name
        call: platform-rest-sensors.getsensorbyname
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-rest-sensors-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tanium Platform REST API — Sensors. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-sensors
      description: List All Sensors
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-rest-sensors.listsensors
      outputParameters:
      - type: object
        mapping: $.
    - name: get-sensor-name
      description: Get A Sensor By Name
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-rest-sensors.getsensorbyname
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.