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

check for secret scanning being enabled - public repos #207

Open
yaleman opened this issue Mar 1, 2023 · 1 comment
Open

check for secret scanning being enabled - public repos #207

yaleman opened this issue Mar 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@yaleman
Copy link
Owner

yaleman commented Mar 1, 2023

Raw response from get a repo should have:

"security_and_analysis": {
      "advanced_security": {
        "status": "enabled"
      },
      "secret_scanning": {
        "status": "enabled"
      },
@yaleman
Copy link
Owner Author

yaleman commented Aug 5, 2023

push protection

For push protection and secret scanning, I believe you will still use the Update a repository endpoint. When calling that endpoint, you can pass the security_and_analysis object in the request body with the specific configurations you desire (more details on this are provided under the Body parameters section of the documentation for that endpoint).

vuln scanning

Private vulnerability reporting should be available through the Privately report a security vulnerability endpoint.

@yaleman yaleman added the enhancement New feature or request label Aug 5, 2023
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