OpenSearch · Capability

OpenSearch Security Plugin REST API — SSL Info

OpenSearch Security Plugin REST API — SSL Info. 2 operations. Lead operation: Get authentication info for current request. Self-contained Naftiko capability covering one Opensearch business surface.

Run with Naftiko OpensearchSSL Info

What You Can Do

GET
Authinfo — Get authentication info for current request
/v1/plugins/security/authinfo
GET
Sslinfo — Get SSL handshake info for current request
/v1/plugins/security/sslinfo

MCP Tools

get-authentication-info-current-request

Get authentication info for current request

read-only idempotent
get-ssl-handshake-info-current

Get SSL handshake info for current request

read-only idempotent

Capability Spec

security-ssl-info.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: OpenSearch Security Plugin REST API — SSL Info
  description: 'OpenSearch Security Plugin REST API — SSL Info. 2 operations. Lead operation: Get authentication info for
    current request. Self-contained Naftiko capability covering one Opensearch business surface.'
  tags:
  - Opensearch
  - SSL Info
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OPENSEARCH_API_KEY: OPENSEARCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: security-ssl-info
    baseUri: https://{cluster-host}:9200
    description: OpenSearch Security Plugin REST API — SSL Info business capability. Self-contained, no shared references.
    resources:
    - name: _plugins-_security-authinfo
      path: /_plugins/_security/authinfo
      operations:
      - name: authinfo
        method: GET
        description: Get authentication info for current request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: _plugins-_security-sslinfo
      path: /_plugins/_security/sslinfo
      operations:
      - name: sslinfo
        method: GET
        description: Get SSL handshake info for current request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.OPENSEARCH_USER}}'
      password: '{{env.OPENSEARCH_PASS}}'
  exposes:
  - type: rest
    namespace: security-ssl-info-rest
    port: 8080
    description: REST adapter for OpenSearch Security Plugin REST API — SSL Info. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/plugins/security/authinfo
      name: plugins-security-authinfo
      description: REST surface for _plugins-_security-authinfo.
      operations:
      - method: GET
        name: authinfo
        description: Get authentication info for current request
        call: security-ssl-info.authinfo
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/plugins/security/sslinfo
      name: plugins-security-sslinfo
      description: REST surface for _plugins-_security-sslinfo.
      operations:
      - method: GET
        name: sslinfo
        description: Get SSL handshake info for current request
        call: security-ssl-info.sslinfo
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: security-ssl-info-mcp
    port: 9090
    transport: http
    description: MCP adapter for OpenSearch Security Plugin REST API — SSL Info. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-authentication-info-current-request
      description: Get authentication info for current request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: security-ssl-info.authinfo
      outputParameters:
      - type: object
        mapping: $.
    - name: get-ssl-handshake-info-current
      description: Get SSL handshake info for current request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: security-ssl-info.sslinfo
      outputParameters:
      - type: object
        mapping: $.