Sisense · Capability

Sisense REST API — Data Security

Sisense REST API — Data Security. 2 operations. Lead operation: Get Data Security Rules. Self-contained Naftiko capability covering one Sisense business surface.

Run with Naftiko SisenseData Security

What You Can Do

GET
Getdatasecurityrules — Get Data Security Rules
/v1/elasticubes/{server}/{elasticube}/datasecurity
POST
Createdatasecurityrule — Create Data Security Rule
/v1/elasticubes/{server}/{elasticube}/datasecurity

MCP Tools

get-data-security-rules

Get Data Security Rules

read-only idempotent
create-data-security-rule

Create Data Security Rule

Capability Spec

rest-data-security.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sisense REST API — Data Security
  description: 'Sisense REST API — Data Security. 2 operations. Lead operation: Get Data Security Rules. Self-contained Naftiko
    capability covering one Sisense business surface.'
  tags:
  - Sisense
  - Data Security
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SISENSE_API_KEY: SISENSE_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-data-security
    baseUri: https://{host}/api/v1
    description: Sisense REST API — Data Security business capability. Self-contained, no shared references.
    resources:
    - name: elasticubes-server-elasticube-datasecurity
      path: /elasticubes/{server}/{elasticube}/datasecurity
      operations:
      - name: getdatasecurityrules
        method: GET
        description: Get Data Security Rules
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: server
          in: path
          type: string
          description: Server name (use 'LocalHost' for single-node)
          required: true
        - name: elasticube
          in: path
          type: string
          description: Elasticube title
          required: true
      - name: createdatasecurityrule
        method: POST
        description: Create Data Security Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: server
          in: path
          type: string
          description: Server name
          required: true
        - name: elasticube
          in: path
          type: string
          description: Elasticube title
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.SISENSE_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-data-security-rest
    port: 8080
    description: REST adapter for Sisense REST API — Data Security. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/elasticubes/{server}/{elasticube}/datasecurity
      name: elasticubes-server-elasticube-datasecurity
      description: REST surface for elasticubes-server-elasticube-datasecurity.
      operations:
      - method: GET
        name: getdatasecurityrules
        description: Get Data Security Rules
        call: rest-data-security.getdatasecurityrules
        with:
          server: rest.server
          elasticube: rest.elasticube
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdatasecurityrule
        description: Create Data Security Rule
        call: rest-data-security.createdatasecurityrule
        with:
          server: rest.server
          elasticube: rest.elasticube
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-data-security-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sisense REST API — Data Security. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-data-security-rules
      description: Get Data Security Rules
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-data-security.getdatasecurityrules
      with:
        server: tools.server
        elasticube: tools.elasticube
      outputParameters:
      - type: object
        mapping: $.
    - name: create-data-security-rule
      description: Create Data Security Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-data-security.createdatasecurityrule
      with:
        server: tools.server
        elasticube: tools.elasticube
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.