Tetrate · Capability

Tetrate Service Bridge REST API — Security Groups

Tetrate Service Bridge REST API — Security Groups. 2 operations. Lead operation: List Security Groups. Self-contained Naftiko capability covering one Tetrate business surface.

Run with Naftiko TetrateSecurity Groups

What You Can Do

GET
Listsecuritygroups — List Security Groups
/v1/organizations/{organization}/tenants/{tenant}/workspaces/{workspace}/securitygroups
POST
Createsecuritygroup — Create Security Group
/v1/organizations/{organization}/tenants/{tenant}/workspaces/{workspace}/securitygroups

MCP Tools

list-security-groups

List Security Groups

read-only idempotent
create-security-group

Create Security Group

Capability Spec

service-bridge-security-groups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tetrate Service Bridge REST API — Security Groups
  description: 'Tetrate Service Bridge REST API — Security Groups. 2 operations. Lead operation: List Security Groups. Self-contained
    Naftiko capability covering one Tetrate business surface.'
  tags:
  - Tetrate
  - Security Groups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TETRATE_API_KEY: TETRATE_API_KEY
capability:
  consumes:
  - type: http
    namespace: service-bridge-security-groups
    baseUri: https://{tsb-host}:8443/v2
    description: Tetrate Service Bridge REST API — Security Groups business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organization-tenants-tenant-workspaces-workspace-securitygroups
      path: /organizations/{organization}/tenants/{tenant}/workspaces/{workspace}/securitygroups
      operations:
      - name: listsecuritygroups
        method: GET
        description: List Security Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createsecuritygroup
        method: POST
        description: Create Security Group
        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-tetrate-token
      value: '{{env.TETRATE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: service-bridge-security-groups-rest
    port: 8080
    description: REST adapter for Tetrate Service Bridge REST API — Security Groups. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/organizations/{organization}/tenants/{tenant}/workspaces/{workspace}/securitygroups
      name: organizations-organization-tenants-tenant-workspaces-workspace-securitygroups
      description: REST surface for organizations-organization-tenants-tenant-workspaces-workspace-securitygroups.
      operations:
      - method: GET
        name: listsecuritygroups
        description: List Security Groups
        call: service-bridge-security-groups.listsecuritygroups
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsecuritygroup
        description: Create Security Group
        call: service-bridge-security-groups.createsecuritygroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: service-bridge-security-groups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tetrate Service Bridge REST API — Security Groups. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-security-groups
      description: List Security Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-bridge-security-groups.listsecuritygroups
      outputParameters:
      - type: object
        mapping: $.
    - name: create-security-group
      description: Create Security Group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: service-bridge-security-groups.createsecuritygroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.