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] GitHub Advanced Security #1104

Closed
tjcorr opened this issue Apr 5, 2022 · 12 comments
Closed

[Feature Request] GitHub Advanced Security #1104

tjcorr opened this issue Apr 5, 2022 · 12 comments

Comments

@tjcorr
Copy link
Contributor

tjcorr commented Apr 5, 2022

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 .

@cfisher281
Copy link

+1
I could use this now.

@lagerfeuer
Copy link

any news on this?

@skumarnara
Copy link

BUMP..........

@andrew-lethbridge-vgh
Copy link

Could also really use this.

@jwfh
Copy link

jwfh commented Aug 3, 2022

This would be a useful feature.

@Dilfer
Copy link

Dilfer commented 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
Copy link
Contributor

#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
Copy link
Contributor

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
Copy link

@kuhlman-labs you are a scholar and a gentleman. This is exciting news!

@kuhlman-labs
Copy link
Contributor

PR has been submitted:
#1304

@Luis-3M
Copy link

Luis-3M commented Sep 29, 2022

Looking forward to this one 🚀

@kuhlman-labs
Copy link
Contributor

kuhlman-labs commented Nov 21, 2022

This feature has been merged, @kfcampbell / @nickfloyd this Issue can be closed.

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

No branches or pull requests

10 participants