STAC-24889: authenticate Cerberus calls - #453
Merged
VioletCranberry merged 1 commit intoAug 5, 2026
Merged
Conversation
Cerberus now requires CI callers to present a shared bearer token. Send it from the notify script. Suspend xtrace around the curl and drop --verbose: the script runs under set -exuo pipefail, so either would echo the token into the job log.
LouisLotter
approved these changes
Aug 5, 2026
VioletCranberry
changed the base branch from
stackstate-7.78.2
to
STAC-25142-agent-lint-unit
August 5, 2026 13:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cerberus now requires CI callers to authenticate with a shared bearer token
(StackVista/cerberus#4) - the endpoint was previously reachable by anyone who knew the URL.
.cerberus/cerberus_notify_failure.shnow:Authorization: Bearer ${CERBERUS_API_TOKEN}--verbose- the script runs underset -exuo pipefail, so either would echo the token into the job log${VAR?message}form so a missing token fails loudly instead of silentlysending
BearerTargets
stackstate-7.78.2because that is the default branch and.gitlab-ci.ymlpins thenotify-on-master-failjob toonly: stackstate-7.78.2- that is where the live caller is.The script sends
action: notifyonly, so it touches no branch protection.CERBERUS_API_TOKENis already provisioned for this repo.Safe to merge before the Cerberus Lambda is redeployed: the current one ignores the header.
Relates to STAC-24889