Skip to content
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

Feature Request: Add support for showing validity check status #3

Open
felickz opened this issue Jan 9, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@felickz
Copy link
Collaborator

felickz commented Jan 9, 2024

Initial status + link

@felickz felickz added the enhancement New feature or request label Mar 23, 2024
@felickz
Copy link
Collaborator Author

felickz commented May 17, 2024

This is now included in the API response. Would be worth a noting the date that the validity was checked in case that status becomes outdated (ex: active now, but tomorrow it is revoked and is now inactive). Without some event based approach we cannot be updated to this changing... though it will query the API on any subsequent run of the action.

https://docs.github.com/en/rest/secret-scanning/secret-scanning?apiVersion=2022-11-28#get-a-secret-scanning-alert

validity string
A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are active, inactive, and unknown.

  "validity": "unknown"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant