naftiko: 1.0.0-alpha2 info: label: OpenSearch Security Plugin REST API — Action Groups description: 'OpenSearch Security Plugin REST API — Action Groups. 5 operations. Lead operation: List all action groups. Self-contained Naftiko capability covering one Opensearch business surface.' tags: - Opensearch - Action Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OPENSEARCH_API_KEY: OPENSEARCH_API_KEY capability: consumes: - type: http namespace: security-action-groups baseUri: https://{cluster-host}:9200 description: OpenSearch Security Plugin REST API — Action Groups business capability. Self-contained, no shared references. resources: - name: _plugins-_security-api-actiongroups path: /_plugins/_security/api/actiongroups operations: - name: listactiongroups method: GET description: List all action groups outputRawFormat: json outputParameters: - name: result type: object value: $. - name: _plugins-_security-api-actiongroups-name path: /_plugins/_security/api/actiongroups/{name} operations: - name: getactiongroup method: GET description: Get action group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createorreplaceactiongroup method: PUT description: Create or replace an action group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteactiongroup method: DELETE description: Delete action group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patchactiongroup method: PATCH description: Patch action group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.OPENSEARCH_USER}}' password: '{{env.OPENSEARCH_PASS}}' exposes: - type: rest namespace: security-action-groups-rest port: 8080 description: REST adapter for OpenSearch Security Plugin REST API — Action Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/plugins/security/api/actiongroups name: plugins-security-api-actiongroups description: REST surface for _plugins-_security-api-actiongroups. operations: - method: GET name: listactiongroups description: List all action groups call: security-action-groups.listactiongroups outputParameters: - type: object mapping: $. - path: /v1/plugins/security/api/actiongroups/{name} name: plugins-security-api-actiongroups-name description: REST surface for _plugins-_security-api-actiongroups-name. operations: - method: GET name: getactiongroup description: Get action group call: security-action-groups.getactiongroup outputParameters: - type: object mapping: $. - method: PUT name: createorreplaceactiongroup description: Create or replace an action group call: security-action-groups.createorreplaceactiongroup with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteactiongroup description: Delete action group call: security-action-groups.deleteactiongroup outputParameters: - type: object mapping: $. - method: PATCH name: patchactiongroup description: Patch action group call: security-action-groups.patchactiongroup with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: security-action-groups-mcp port: 9090 transport: http description: MCP adapter for OpenSearch Security Plugin REST API — Action Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-action-groups description: List all action groups hints: readOnly: true destructive: false idempotent: true call: security-action-groups.listactiongroups outputParameters: - type: object mapping: $. - name: get-action-group description: Get action group hints: readOnly: true destructive: false idempotent: true call: security-action-groups.getactiongroup outputParameters: - type: object mapping: $. - name: create-replace-action-group description: Create or replace an action group hints: readOnly: false destructive: false idempotent: true call: security-action-groups.createorreplaceactiongroup with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-action-group description: Delete action group hints: readOnly: false destructive: true idempotent: true call: security-action-groups.deleteactiongroup outputParameters: - type: object mapping: $. - name: patch-action-group description: Patch action group hints: readOnly: false destructive: false idempotent: true call: security-action-groups.patchactiongroup with: body: tools.body outputParameters: - type: object mapping: $.