Skip to content

feat(alert-slack-bot): grant contents:read for prod-alerts source lookup - #307

Draft
anushkamittal20 wants to merge 1 commit into
chainguard-dev:mainfrom
anushkamittal20:alert-slack-bot-contents-read
Draft

feat(alert-slack-bot): grant contents:read for prod-alerts source lookup#307
anushkamittal20 wants to merge 1 commit into
chainguard-dev:mainfrom
anushkamittal20:alert-slack-bot-contents-read

Conversation

@anushkamittal20

Copy link
Copy Markdown
Member

The prod-alerts digest reads mono source to explain what an alert or DLQ is about, via the shared githubsource reader over the org-scoped alert-slack-bot token (chainguard-dev/mono#51527).

This adds contents:read to the existing alert-slack-bot policy. It stays limited to mono and read-only. Mirrors #305 for guardbot.

Without this, mono_lookup reads return 403; the digest still posts, just without code lookups (the client build is non-fatal).

The prod-alerts digest reads mono source to explain what an alert or DLQ
is about, via the shared githubsource reader over the org-scoped
alert-slack-bot token (chainguard-dev/mono#51527). Add contents:read to
the existing policy; it stays limited to mono and read-only. Mirrors chainguard-dev#305
for guardbot.
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