Varonis · Capability

Varonis DatAlert API — Alerts

Varonis DatAlert API — Alerts. 4 operations. Lead operation: Varonis Add Note to Alert. Self-contained Naftiko capability covering one Varonis business surface.

Run with Naftiko VaronisAlerts

What You Can Do

POST
Addalertnote — Varonis Add Note to Alert
/v1/threatdetection/api/alert/alert/addnote
POST
Closealert — Varonis Close Alert
/v1/threatdetection/api/alert/alert/closealert
POST
Getalerts — Varonis Get Alerts
/v1/threatdetection/api/alert/alert/getalerts
POST
Updatealertstatus — Varonis Update Alert Status
/v1/threatdetection/api/alert/alert/setalertstatus

MCP Tools

varonis-add-note-alert

Varonis Add Note to Alert

varonis-close-alert

Varonis Close Alert

varonis-get-alerts

Varonis Get Alerts

read-only
varonis-update-alert-status

Varonis Update Alert Status

Capability Spec

datalert-alerts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Varonis DatAlert API — Alerts
  description: 'Varonis DatAlert API — Alerts. 4 operations. Lead operation: Varonis Add Note to Alert. Self-contained Naftiko
    capability covering one Varonis business surface.'
  tags:
  - Varonis
  - Alerts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VARONIS_API_KEY: VARONIS_API_KEY
capability:
  consumes:
  - type: http
    namespace: datalert-alerts
    baseUri: https://{domain}/api
    description: Varonis DatAlert API — Alerts business capability. Self-contained, no shared references.
    resources:
    - name: threatdetection-api-alert-alert-AddNote
      path: /threatdetection/api/alert/alert/AddNote
      operations:
      - name: addalertnote
        method: POST
        description: Varonis Add Note to Alert
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: threatdetection-api-alert-alert-CloseAlert
      path: /threatdetection/api/alert/alert/CloseAlert
      operations:
      - name: closealert
        method: POST
        description: Varonis Close Alert
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: threatdetection-api-alert-alert-GetAlerts
      path: /threatdetection/api/alert/alert/GetAlerts
      operations:
      - name: getalerts
        method: POST
        description: Varonis Get Alerts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: threatdetection-api-alert-alert-SetAlertStatus
      path: /threatdetection/api/alert/alert/SetAlertStatus
      operations:
      - name: updatealertstatus
        method: POST
        description: Varonis Update Alert Status
        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: X-API-Key
      value: '{{env.VARONIS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: datalert-alerts-rest
    port: 8080
    description: REST adapter for Varonis DatAlert API — Alerts. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/threatdetection/api/alert/alert/addnote
      name: threatdetection-api-alert-alert-addnote
      description: REST surface for threatdetection-api-alert-alert-AddNote.
      operations:
      - method: POST
        name: addalertnote
        description: Varonis Add Note to Alert
        call: datalert-alerts.addalertnote
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/threatdetection/api/alert/alert/closealert
      name: threatdetection-api-alert-alert-closealert
      description: REST surface for threatdetection-api-alert-alert-CloseAlert.
      operations:
      - method: POST
        name: closealert
        description: Varonis Close Alert
        call: datalert-alerts.closealert
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/threatdetection/api/alert/alert/getalerts
      name: threatdetection-api-alert-alert-getalerts
      description: REST surface for threatdetection-api-alert-alert-GetAlerts.
      operations:
      - method: POST
        name: getalerts
        description: Varonis Get Alerts
        call: datalert-alerts.getalerts
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/threatdetection/api/alert/alert/setalertstatus
      name: threatdetection-api-alert-alert-setalertstatus
      description: REST surface for threatdetection-api-alert-alert-SetAlertStatus.
      operations:
      - method: POST
        name: updatealertstatus
        description: Varonis Update Alert Status
        call: datalert-alerts.updatealertstatus
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: datalert-alerts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Varonis DatAlert API — Alerts. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: varonis-add-note-alert
      description: Varonis Add Note to Alert
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datalert-alerts.addalertnote
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: varonis-close-alert
      description: Varonis Close Alert
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datalert-alerts.closealert
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: varonis-get-alerts
      description: Varonis Get Alerts
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: datalert-alerts.getalerts
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: varonis-update-alert-status
      description: Varonis Update Alert Status
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datalert-alerts.updatealertstatus
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.