php-github-api icon indicating copy to clipboard operation
php-github-api copied to clipboard

Secrets Scanning Alerts

Open ls-philippe-gamache opened this issue 2 years ago • 1 comments

Add Secrets Scanning Alerts for Entreprise, Organizations and Repository

https://docs.github.com/en/[email protected]/rest/secret-scanning#list-secret-scanning-alerts-for-an-enterprise call : Sprintf("enterprises/%v/secret-scanning/alerts", %enterprise)

https://docs.github.com/en/[email protected]/rest/secret-scanning#list-secret-scanning-alerts-for-an-organization call : Sprintf("orgs/%v/secret-scanning/alerts", %org)

https://docs.github.com/en/[email protected]/rest/secret-scanning#list-secret-scanning-alerts-for-a-repository call : Sprintf("repos/%v/%v/secret-scanning/alerts", owner, repo)

ls-philippe-gamache avatar Sep 08 '22 21:09 ls-philippe-gamache

Hi @ls-philippe-gamache, thanks for the feature-request. Feel free to open a PR to add these endpoints (together with a few tests and docs)!

acrobat avatar Sep 12 '22 18:09 acrobat