You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Reacted by Pat Myron, Anthony Rabbito, ajilty, Chris Fisher, Jarno Nauska, Ryan McLaughlin, kennak0, andrew-lethbridge-vgh, Bob Nowadly, Lukas Deutz and 18 more
There was an additional field added to the Security and Analysis block to configure secret scanning push protection. I have a PR open google/go-github#2476 to add the field and then I can configure the repository resource.
Activity
cfisher281 commentedon Jun 8, 2022
+1
I could use this now.
lagerfeuer commentedon Jul 7, 2022
any news on this?
skumarnara commentedon Jul 7, 2022
BUMP..........
andrew-lethbridge-vgh commentedon Aug 3, 2022
Could also really use this.
jwfh commentedon Aug 3, 2022
This would be a useful feature.
Dilfer commentedon Aug 3, 2022
Would really like this feature. Right now our repo creation process is not fully automatable without this change to the provider.
kuhlman-labs commentedon Sep 21, 2022
#1298 allows us to set the GHAS settings on an org level. I will investigate how to implement this at the repo level.
kuhlman-labs commentedon Sep 22, 2022
There was an additional field added to the Security and Analysis block to configure secret scanning push protection. I have a PR open google/go-github#2476 to add the field and then I can configure the repository resource.
andrew-lethbridge-vgh commentedon Sep 22, 2022
@kuhlman-labs you are a scholar and a gentleman. This is exciting news!
kuhlman-labs commentedon Sep 26, 2022
PR has been submitted:
#1304
Luis-3M commentedon Sep 29, 2022
Looking forward to this one 🚀
kuhlman-labs commentedon Nov 21, 2022
This feature has been merged, @kfcampbell / @nickfloyd this Issue can be closed.