Datadog · Capability

Datadog API — Scanning

Datadog API — Scanning. 7 operations. Lead operation: Datadog List Scanning Groups. Self-contained Naftiko capability covering one Datadog business surface.

Run with Naftiko DatadogScanning

What You Can Do

GET
Listscanninggroups — Datadog List Scanning Groups
/v1/api/v2/sensitive-data-scanner/config
POST
Createscanninggroup — Datadog Create Scanning Group
/v1/api/v2/sensitive-data-scanner/config/groups
DELETE
Deletescanninggroup — Datadog Delete Scanning Group
/v1/api/v2/sensitive-data-scanner/config/groups/{group-id}
PATCH
Updatescanninggroup — Datadog Update Scanning Group
/v1/api/v2/sensitive-data-scanner/config/groups/{group-id}
POST
Createscanningrule — Datadog Create Scanning Rule
/v1/api/v2/sensitive-data-scanner/config/rules
DELETE
Deletescanningrule — Datadog Delete Scanning Rule
/v1/api/v2/sensitive-data-scanner/config/rules/{rule-id}
PATCH
Updatescanningrule — Datadog Update Scanning Rule
/v1/api/v2/sensitive-data-scanner/config/rules/{rule-id}

MCP Tools

datadog-list-scanning-groups

Datadog List Scanning Groups

read-only idempotent
datadog-create-scanning-group

Datadog Create Scanning Group

datadog-delete-scanning-group

Datadog Delete Scanning Group

idempotent
datadog-update-scanning-group

Datadog Update Scanning Group

idempotent
datadog-create-scanning-rule

Datadog Create Scanning Rule

datadog-delete-scanning-rule

Datadog Delete Scanning Rule

idempotent
datadog-update-scanning-rule

Datadog Update Scanning Rule

idempotent

Capability Spec

datadog-scanning.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Datadog API — Scanning
  description: 'Datadog API — Scanning. 7 operations. Lead operation: Datadog List Scanning Groups. Self-contained Naftiko
    capability covering one Datadog business surface.'
  tags:
  - Datadog
  - Scanning
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DATADOG_API_KEY: DATADOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: datadog-scanning
    baseUri: https://{subdomain}.{site}
    description: Datadog API — Scanning business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-sensitive-data-scanner-config
      path: /api/v2/sensitive-data-scanner/config
      operations:
      - name: listscanninggroups
        method: GET
        description: Datadog List Scanning Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v2-sensitive-data-scanner-config-groups
      path: /api/v2/sensitive-data-scanner/config/groups
      operations:
      - name: createscanninggroup
        method: POST
        description: Datadog Create Scanning Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-sensitive-data-scanner-config-groups-group_id
      path: /api/v2/sensitive-data-scanner/config/groups/{group_id}
      operations:
      - name: deletescanninggroup
        method: DELETE
        description: Datadog Delete Scanning Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatescanninggroup
        method: PATCH
        description: Datadog Update Scanning Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-sensitive-data-scanner-config-rules
      path: /api/v2/sensitive-data-scanner/config/rules
      operations:
      - name: createscanningrule
        method: POST
        description: Datadog Create Scanning Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-sensitive-data-scanner-config-rules-rule_id
      path: /api/v2/sensitive-data-scanner/config/rules/{rule_id}
      operations:
      - name: deletescanningrule
        method: DELETE
        description: Datadog Delete Scanning Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatescanningrule
        method: PATCH
        description: Datadog Update Scanning Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.DATADOG_API_KEY}}'
  exposes:
  - type: rest
    namespace: datadog-scanning-rest
    port: 8080
    description: REST adapter for Datadog API — Scanning. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v2/sensitive-data-scanner/config
      name: api-v2-sensitive-data-scanner-config
      description: REST surface for api-v2-sensitive-data-scanner-config.
      operations:
      - method: GET
        name: listscanninggroups
        description: Datadog List Scanning Groups
        call: datadog-scanning.listscanninggroups
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/sensitive-data-scanner/config/groups
      name: api-v2-sensitive-data-scanner-config-groups
      description: REST surface for api-v2-sensitive-data-scanner-config-groups.
      operations:
      - method: POST
        name: createscanninggroup
        description: Datadog Create Scanning Group
        call: datadog-scanning.createscanninggroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/sensitive-data-scanner/config/groups/{group-id}
      name: api-v2-sensitive-data-scanner-config-groups-group-id
      description: REST surface for api-v2-sensitive-data-scanner-config-groups-group_id.
      operations:
      - method: DELETE
        name: deletescanninggroup
        description: Datadog Delete Scanning Group
        call: datadog-scanning.deletescanninggroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatescanninggroup
        description: Datadog Update Scanning Group
        call: datadog-scanning.updatescanninggroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/sensitive-data-scanner/config/rules
      name: api-v2-sensitive-data-scanner-config-rules
      description: REST surface for api-v2-sensitive-data-scanner-config-rules.
      operations:
      - method: POST
        name: createscanningrule
        description: Datadog Create Scanning Rule
        call: datadog-scanning.createscanningrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/sensitive-data-scanner/config/rules/{rule-id}
      name: api-v2-sensitive-data-scanner-config-rules-rule-id
      description: REST surface for api-v2-sensitive-data-scanner-config-rules-rule_id.
      operations:
      - method: DELETE
        name: deletescanningrule
        description: Datadog Delete Scanning Rule
        call: datadog-scanning.deletescanningrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatescanningrule
        description: Datadog Update Scanning Rule
        call: datadog-scanning.updatescanningrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: datadog-scanning-mcp
    port: 9090
    transport: http
    description: MCP adapter for Datadog API — Scanning. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: datadog-list-scanning-groups
      description: Datadog List Scanning Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: datadog-scanning.listscanninggroups
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-create-scanning-group
      description: Datadog Create Scanning Group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datadog-scanning.createscanninggroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-delete-scanning-group
      description: Datadog Delete Scanning Group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: datadog-scanning.deletescanninggroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-update-scanning-group
      description: Datadog Update Scanning Group
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: datadog-scanning.updatescanninggroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-create-scanning-rule
      description: Datadog Create Scanning Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datadog-scanning.createscanningrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-delete-scanning-rule
      description: Datadog Delete Scanning Rule
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: datadog-scanning.deletescanningrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-update-scanning-rule
      description: Datadog Update Scanning Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: datadog-scanning.updatescanningrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.