-
Notifications
You must be signed in to change notification settings - Fork 949
[Feature Request] GitHub Advanced Security #1104
Copy link
Copy link
Closed
Description
Support for GitHub Advanced Security and Secret Scanning.
The current repository resource does not support the parameter: security_and_analysis which is used to enable both GHAS and secret scanning on a repository:
Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: {"security_and_analysis": {"advanced_security": {"status": "enabled"}}}. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a GET /repos/{owner}/{repo} request.
This parameter is already supported in the go library with google/go-github#2132 .
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels