-
Notifications
You must be signed in to change notification settings - Fork 0
SEP-1875: Warn when a reused sep service account's Grafana role is below Admin #1428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
1d6d994
Report reuse vs create from find_or_create_account
peter-o-addo f46ed17
Propagate account reuse flag through mint
peter-o-addo 822136d
Warn when a reused sep account's role is below Admin
peter-o-addo 7bb458a
Update mint tests for reuse flag return
peter-o-addo 2f86b84
Add tests for mint-path probe on reused SEP accounts
peter-o-addo ed902f1
Add tests for healthy reused mint probes without warnings
peter-o-addo 22b3c3c
Add tests for create-path probe skip on first-start mint
peter-o-addo 9b4862a
Add changelog
peter-o-addo 8c53ffb
Add tests for post-mint probe using the minted token
peter-o-addo 4919a2f
Sync mint-path docstrings with reuse probe behavior
peter-o-addo d5b55c0
Fix missing UNREACHABLE warning on mint-path token probe
peter-o-addo 7665141
Align find_or_create_account with get_or_create convention
peter-o-addo 4e88ed1
Share role-gap warning via warn_role_gap helper
peter-o-addo ebae57c
Merge branch 'main' into SEP-1875
peter-o-addo d5b9aa6
Merge branch 'main' into SEP-1875
peter-o-addo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| When the side-car mints a Grafana token onto an existing `sep` service account whose org role ranks below Admin, it now warns on stderr naming the account and the role gap, then keeps the token; a freshly created account is unchanged. |
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.