Closed
Conversation
aegilops
approved these changes
Nov 21, 2025
theztefan
approved these changes
Nov 21, 2025
Collaborator
|
@GorillaBearWolf the Code scanning CodeQL results seems to be stuck. As this is required to merge, @aegilops was kind enough to open a copy of your suggestion in #10 which is now merged. Thanks a lot for the contribution! Looking forward to the next one. 😉 |
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.
Change validity filter options to match https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization and https://docs.github.com/en/enterprise-cloud@latest/code-security/secret-scanning/managing-alerts-from-secret-scanning/evaluating-alerts#checking-a-secrets-validity
This update fixes the following error when using the
--validityoption:"Error: Failed to fetch GitHub alerts: GitHub API error: 422 - {"message":"validity is invalid: it must be one of 'active', 'inactive', or 'unknown'","documentation_url":"https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization","status":"422"}"
Thanks for making the tool, I had started to build this from scratch this week!