Skip to content

ci(fuzzing): pass BRIGHT_HOSTNAME to the agent - #1115

Merged
alexkutsan merged 1 commit into
stablefrom
pass-bright-hostname-to-fuzzing
Oct 27, 2026
Merged

alexkutsan merged 1 commit into
stablefrom
pass-bright-hostname-to-fuzzing

Conversation

@alexkutsan

Copy link
Copy Markdown
Contributor

Summary

The fuzzing workflow's run attempt failed at the Bright license preflight with HTTP 401. Root cause: the agent validates BRIGHT_TOKEN against BRIGHT_HOSTNAME (default app.brightsec.com), but the configured token is issued for a different cluster — so the prod preflight rejected it.

This passes BRIGHT_HOSTNAME into the agent from a new repo variable, so the license check hits the cluster that actually issued the token.

Changes

  • Add BRIGHT_HOSTNAME: ${{ vars.BRIGHT_HOSTNAME }} to the Run Bright Agent (fuzzing) step env.
  • The BRIGHT_HOSTNAME repo variable has been set alongside this change; BRIGHT_TOKEN secret refreshed to match that cluster.
  • Falls back to app.brightsec.com if the variable is unset (agent default), so this is backward-compatible.

Note

Fuzzing mode still makes exactly one network call to Bright (the license check); this only changes which cluster it calls.

The license preflight validates BRIGHT_TOKEN against BRIGHT_HOSTNAME,
defaulting to app.brightsec.com. Tokens issued for another cluster (e.g.
the development playground) are rejected with HTTP 401 there. Read the
cluster from the new BRIGHT_HOSTNAME repo variable so the preflight hits
the cluster that issued the token.
@alexkutsan
alexkutsan merged commit 1765acf into stable Oct 27, 2026
5 checks passed
@alexkutsan
alexkutsan deleted the pass-bright-hostname-to-fuzzing branch October 27, 2026 12:30
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.

2 participants