Okta · Capability

Okta API — ThreatInsight

Okta API — ThreatInsight. 2 operations. Lead operation: ThreatInsight. Self-contained Naftiko capability covering one Okta business surface.

Run with Naftiko OktaThreatInsight

What You Can Do

GET
Getcurrentconfiguration — Gets current ThreatInsight configuration
/v1/api/v1/threats/configuration
POST
Updateconfiguration — Updates ThreatInsight configuration
/v1/api/v1/threats/configuration

MCP Tools

gets-current-threatinsight-configuration

Gets current ThreatInsight configuration

read-only idempotent
updates-threatinsight-configuration

Updates ThreatInsight configuration

Capability Spec

okta-threatinsight.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Okta API — ThreatInsight
  description: 'Okta API — ThreatInsight. 2 operations. Lead operation: ThreatInsight. Self-contained Naftiko capability covering
    one Okta business surface.'
  tags:
  - Okta
  - ThreatInsight
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OKTA_API_KEY: OKTA_API_KEY
capability:
  consumes:
  - type: http
    namespace: okta-threatinsight
    baseUri: https://your-subdomain.okta.com
    description: Okta API — ThreatInsight business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-threats-configuration
      path: /api/v1/threats/configuration
      operations:
      - name: getcurrentconfiguration
        method: GET
        description: Gets current ThreatInsight configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateconfiguration
        method: POST
        description: Updates ThreatInsight configuration
        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: Authorization
      value: '{{env.OKTA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: okta-threatinsight-rest
    port: 8080
    description: REST adapter for Okta API — ThreatInsight. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v1/threats/configuration
      name: api-v1-threats-configuration
      description: REST surface for api-v1-threats-configuration.
      operations:
      - method: GET
        name: getcurrentconfiguration
        description: Gets current ThreatInsight configuration
        call: okta-threatinsight.getcurrentconfiguration
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updateconfiguration
        description: Updates ThreatInsight configuration
        call: okta-threatinsight.updateconfiguration
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: okta-threatinsight-mcp
    port: 9090
    transport: http
    description: MCP adapter for Okta API — ThreatInsight. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: gets-current-threatinsight-configuration
      description: Gets current ThreatInsight configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: okta-threatinsight.getcurrentconfiguration
      outputParameters:
      - type: object
        mapping: $.
    - name: updates-threatinsight-configuration
      description: Updates ThreatInsight configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: okta-threatinsight.updateconfiguration
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.