Amazon Security Lake · Capability

Amazon Security Lake API — Log Sources

Amazon Security Lake API — Log Sources. 4 operations. Lead operation: Amazon Security Lake Get Data Lake Sources. Self-contained Naftiko capability covering one Amazon Security Lake business surface.

Run with Naftiko Amazon Security LakeLog Sources

What You Can Do

POST
Getdatalakesources — Amazon Security Lake Get Data Lake Sources
/v1/v1/datalake/sources
GET
Listlogsources — Amazon Security Lake List Log Sources
/v1/v1/logsources
POST
Createawslogsource — Amazon Security Lake Create AWS Log Source
/v1/v1/logsources/aws
POST
Createcustomlogsource — Amazon Security Lake Create Custom Log Source
/v1/v1/logsources/custom

MCP Tools

amazon-security-lake-get-data

Amazon Security Lake Get Data Lake Sources

read-only
amazon-security-lake-list-log

Amazon Security Lake List Log Sources

read-only idempotent
amazon-security-lake-create-aws

Amazon Security Lake Create AWS Log Source

amazon-security-lake-create-custom

Amazon Security Lake Create Custom Log Source

Capability Spec

amazon-security-lake-log-sources.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Security Lake API — Log Sources
  description: 'Amazon Security Lake API — Log Sources. 4 operations. Lead operation: Amazon Security Lake Get Data Lake Sources.
    Self-contained Naftiko capability covering one Amazon Security Lake business surface.'
  tags:
  - Amazon Security Lake
  - Log Sources
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_SECURITY_LAKE_API_KEY: AMAZON_SECURITY_LAKE_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-security-lake-log-sources
    baseUri: https://securitylake.{region}.amazonaws.com
    description: Amazon Security Lake API — Log Sources business capability. Self-contained, no shared references.
    resources:
    - name: v1-datalake-sources
      path: /v1/datalake/sources
      operations:
      - name: getdatalakesources
        method: POST
        description: Amazon Security Lake Get Data Lake Sources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-logsources
      path: /v1/logsources
      operations:
      - name: listlogsources
        method: GET
        description: Amazon Security Lake List Log Sources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: maxResults
          in: query
          type: integer
          description: Maximum number of results to return.
        - name: nextToken
          in: query
          type: string
          description: Pagination token.
    - name: v1-logsources-aws
      path: /v1/logsources/aws
      operations:
      - name: createawslogsource
        method: POST
        description: Amazon Security Lake Create AWS Log Source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-logsources-custom
      path: /v1/logsources/custom
      operations:
      - name: createcustomlogsource
        method: POST
        description: Amazon Security Lake Create Custom Log Source
        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: Authorization
      value: '{{env.AMAZON_SECURITY_LAKE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-security-lake-log-sources-rest
    port: 8080
    description: REST adapter for Amazon Security Lake API — Log Sources. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/datalake/sources
      name: v1-datalake-sources
      description: REST surface for v1-datalake-sources.
      operations:
      - method: POST
        name: getdatalakesources
        description: Amazon Security Lake Get Data Lake Sources
        call: amazon-security-lake-log-sources.getdatalakesources
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/logsources
      name: v1-logsources
      description: REST surface for v1-logsources.
      operations:
      - method: GET
        name: listlogsources
        description: Amazon Security Lake List Log Sources
        call: amazon-security-lake-log-sources.listlogsources
        with:
          maxResults: rest.maxResults
          nextToken: rest.nextToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/logsources/aws
      name: v1-logsources-aws
      description: REST surface for v1-logsources-aws.
      operations:
      - method: POST
        name: createawslogsource
        description: Amazon Security Lake Create AWS Log Source
        call: amazon-security-lake-log-sources.createawslogsource
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/logsources/custom
      name: v1-logsources-custom
      description: REST surface for v1-logsources-custom.
      operations:
      - method: POST
        name: createcustomlogsource
        description: Amazon Security Lake Create Custom Log Source
        call: amazon-security-lake-log-sources.createcustomlogsource
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-security-lake-log-sources-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Security Lake API — Log Sources. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: amazon-security-lake-get-data
      description: Amazon Security Lake Get Data Lake Sources
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-security-lake-log-sources.getdatalakesources
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-security-lake-list-log
      description: Amazon Security Lake List Log Sources
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-security-lake-log-sources.listlogsources
      with:
        maxResults: tools.maxResults
        nextToken: tools.nextToken
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-security-lake-create-aws
      description: Amazon Security Lake Create AWS Log Source
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-security-lake-log-sources.createawslogsource
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-security-lake-create-custom
      description: Amazon Security Lake Create Custom Log Source
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-security-lake-log-sources.createcustomlogsource
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.