Skip to content

fix(validation): exempt notificationsBearerAuth-only requirements from S-042 - #526

Merged
hdamker merged 1 commit into
camaraproject:mainfrom
hdamker:fix/s042-notification-receiver
Nov 9, 2026
Merged

hdamker merged 1 commit into
camaraproject:mainfrom
hdamker:fix/s042-notification-receiver

Conversation

@hdamker

@hdamker hdamker commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • bug

What this PR does / why we need it:

S-042 camara-security-openid-scheme treats any named security requirement as "secured" and then demands the openId scheme. The receiver-side notification template in Commonalities (artifacts/notification-templates/sample-notification.yaml) is secured only by the notification delivery scheme notificationsBearerAuth and has no openId scheme by design, so the Commonalities Artifacts Lint fails on every PR since v1-rc moved to v0.11.1 (camaraproject/Commonalities#746).

A requirement that names only notificationsBearerAuth no longer counts as secured for the openId test, the same reasoning as the existing callback exemption. A provider API secured by any other scheme still fires. The FAQ entry and the ruleset changelog say so; two tests cover the receiver-side shape and a renamed bearer scheme.

Which issue(s) this PR fixes:

Refs camaraproject/Commonalities#746

Special notes for reviewers:

With this ruleset all four Commonalities templates lint with zero errors, and the findings of the regression fixture branch regression/r4.3-broken-spec-security-scheme are unchanged. The change is under linting/**, which the Validation Regression canary's path filter does not cover; the canary is dispatched manually after merge. Patch release v0.11.2 follows, then the v1-rc move.

Changelog input

 release-note
 S-042 no longer requires the openId scheme for operations secured only by notificationsBearerAuth (receiver-side notification endpoints).

Additional documentation

docs
 documentation/validation/faq.md#s-041-security-scheme

…m S-042

The receiver-side notification template in Commonalities is secured only by
the notification delivery scheme and has no openId scheme by design.
Refs camaraproject/Commonalities#746
@hdamker
hdamker requested review from Kevsy and rartych as code owners November 9, 2026 20:14
@hdamker
hdamker merged commit bc10778 into camaraproject:main Nov 9, 2026
8 checks passed
@hdamker

hdamker commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Merged as a hot fix for camaraproject/Commonalities#746

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.

1 participant