Kyverno · Capability

Kyverno Policy Reporter API — Sources

Kyverno Policy Reporter API — Sources. 1 operations. Lead operation: Kyverno List policy sources. Self-contained Naftiko capability covering one Kyverno business surface.

Run with Naftiko KyvernoSources

What You Can Do

GET
Listsources — Kyverno List policy sources
/v1/api/v1/sources

MCP Tools

kyverno-list-policy-sources

Kyverno List policy sources

read-only idempotent

Capability Spec

policy-reporter-sources.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kyverno Policy Reporter API — Sources
  description: 'Kyverno Policy Reporter API — Sources. 1 operations. Lead operation: Kyverno List policy sources. Self-contained
    Naftiko capability covering one Kyverno business surface.'
  tags:
  - Kyverno
  - Sources
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KYVERNO_API_KEY: KYVERNO_API_KEY
capability:
  consumes:
  - type: http
    namespace: policy-reporter-sources
    baseUri: http://localhost:8080
    description: Kyverno Policy Reporter API — Sources business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-sources
      path: /api/v1/sources
      operations:
      - name: listsources
        method: GET
        description: Kyverno List policy sources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: policy-reporter-sources-rest
    port: 8080
    description: REST adapter for Kyverno Policy Reporter API — Sources. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v1/sources
      name: api-v1-sources
      description: REST surface for api-v1-sources.
      operations:
      - method: GET
        name: listsources
        description: Kyverno List policy sources
        call: policy-reporter-sources.listsources
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: policy-reporter-sources-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kyverno Policy Reporter API — Sources. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: kyverno-list-policy-sources
      description: Kyverno List policy sources
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: policy-reporter-sources.listsources
      outputParameters:
      - type: object
        mapping: $.