Skip to content

Fix #2834: Add Kamelet Catalog security model, SECURITY.md and AGENTS.md#2835

Merged
oscerd merged 1 commit into
mainfrom
ci-issue-2834
May 15, 2026
Merged

Fix #2834: Add Kamelet Catalog security model, SECURITY.md and AGENTS.md#2835
oscerd merged 1 commit into
mainfrom
ci-issue-2834

Conversation

@oscerd
Copy link
Copy Markdown
Contributor

@oscerd oscerd commented May 15, 2026

Closes #2834

What

Adds a security model for the Kamelet Catalog, mirroring the apache/camel house style (a security-model.adoc page + root SECURITY.md pointer + AGENTS.md with a Security Model section + CLAUDE.md symlink).

  • docs/modules/ROOT/pages/security-model.adocspecialises the Apache Camel Security Model for Kamelets. A Kamelet is PMC-authored route code, so the trusted-template author is the catalog itself; the Kamelet runtime (kamelet: component, {{property}} binding, kamelets.utils.*) lives in apache/camel, not here. Covers: trust roles, component families, in/out-of-scope vulnerability classes, false-friend properties, downstream responsibilities, a closed triage-disposition set, and a maintainer-ratification record (Camel PMC, 2026-05-15).
  • SECURITY.md — root reporting pointer to the Apache Camel ASF process.
  • AGENTS.md (+ CLAUDE.md symlink) — AI agent guidelines with the Kamelet-specific Security Model section, matching apache/camel.

Why

The Kamelet Catalog had no documented security model, despite Kamelets having trust nuances distinct from core Camel. This gives the PMC and triagers (and scanners/AI review) an authoritative scope statement that defers to, and specialises, the parent Camel model.

Notes

  • Documentation only — no code, runtime, or kamelet YAML change.
  • nav.adoc is generated; the page is reached via the SECURITY.md / AGENTS.md xrefs.
  • Vulnerability reporting is unchanged (private-security@camel.apache.org / the Camel ASF process); this only documents scope.

Test plan

  • mvn verify (docs/model only; no functional change).
  • AsciiDoc renders under the Antora camel-kamelets module; internal xref: links resolve to existing pages (development.adoc, apis/spec.adoc).

Authored with Claude Code on behalf of Andrea Cosentino (AI-assisted). The security model content was reviewed and ratified by the Camel PMC as recorded in the document.

Adds a security model for the Kamelet Catalog that specialises the Apache
Camel Security Model for Kamelets (PMC-authored route templates), mirroring
the apache/camel house style:

- docs/modules/ROOT/pages/security-model.adoc: trust roles, component
  families, in/out-of-scope vulnerability classes, false-friend properties,
  downstream responsibilities, closed triage-disposition set, and a
  maintainer-ratification record (Camel PMC, 2026-05-15).
- SECURITY.md: root reporting pointer to the Apache Camel ASF process.
- AGENTS.md (+ CLAUDE.md symlink): AI agent guidelines with the
  Kamelet-specific Security Model section, mirroring apache/camel.

Documentation only; no code or runtime change. nav.adoc is generated, so
the page is reached via the SECURITY.md / AGENTS.md xrefs.

AI-assisted (Claude Code) on behalf of Andrea Cosentino.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@oscerd oscerd requested review from christophd and cunningt May 15, 2026 13:04
@oscerd oscerd merged commit a45bf74 into main May 15, 2026
4 of 6 checks passed
oscerd added a commit that referenced this pull request May 15, 2026
The Kamelet Catalog security model page (added in #2835, issue #2834) uses
Kamelet property-placeholder syntax {{property}} and Camel simple syntax
${body} as literal text in inline prose and tables. Asciidoctor parses the
inner {property} / {body} as attribute references, cannot resolve them, and
emits 'skipping reference to missing attribute' warnings.

camel-website's strict production Antora build (build:antora-perf) aggregates
this page from apache/camel-kamelets main and fails on those warnings, which
turns every camel-website pull request red regardless of its content.

Escape the inner attribute reference with a backslash ({\{property}},
$\{body}); Asciidoctor consumes the backslash and renders the literal
{{property}} / ${body} unchanged, with no attribute resolution and no
warning. Documentation-only change; no rendered-output difference.

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Kamelet Catalog security model (and SECURITY.md / AGENTS.md) mirroring apache/camel

1 participant