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

[FEAT]: Support Code Scanning default setup #1648

Open
1 task done
srgustafson8 opened this issue Apr 13, 2023 · 5 comments · May be fixed by #2036 or #2228
Open
1 task done

[FEAT]: Support Code Scanning default setup #1648

srgustafson8 opened this issue Apr 13, 2023 · 5 comments · May be fixed by #2036 or #2228
Labels
hacktoberfest Issues for participation in Hacktoberfest Status: Up for grabs Issues that are ready to be worked on by anyone Type: Feature New feature or request

Comments

@srgustafson8
Copy link
Contributor

Describe the need

We manage our whole GitHub organisation programatically, including the creation of repositories. We are also a GHAS customer, and want to use it to it's maximum. Getting all teams across 500+ repositories to enable Code Scanning is a headache, so being able to automatically enable the default scanning programatically for a repository would be helpful.

There is now an API for this so it can be Terraformed.

Depends on google/go-github#2751 for the go-github SDK to support it.

SDK Version

No response

API Version

2022-11-28

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@srgustafson8 srgustafson8 added Status: Triage This is being looked at and prioritized Type: Feature New feature or request labels Apr 13, 2023
@kfcampbell kfcampbell added Priority: Normal Status: Blocked Some technical or requirement is blocking the issue and removed Status: Triage This is being looked at and prioritized labels Apr 14, 2023
@srgustafson8
Copy link
Contributor Author

This has now been implemented in go-github here: google/go-github#2808 and released in v53.2.0 🚀

@kfcampbell kfcampbell added Status: Up for grabs Issues that are ready to be worked on by anyone hacktoberfest Issues for participation in Hacktoberfest and removed Status: Blocked Some technical or requirement is blocking the issue labels Oct 17, 2023
@VariableExp0rt
Copy link

I'd be happy to give this a shot @kfcampbell

@kfcampbell
Copy link
Member

@VariableExp0rt please go for it!

@VariableExp0rt
Copy link

@kfcampbell apologies I haven't been able to get to this over the last few weeks, but should now have some time to take a crack at it.

@VariableExp0rt VariableExp0rt linked a pull request Dec 1, 2023 that will close this issue
4 tasks
@VariableExp0rt
Copy link

@kfcampbell I've given this a first pass, but would appreciate a couple of pointers on the test setup, I followed the guide in CONTRIBUTING.md but am struggling to get those to run successfully under the individual and organization test cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Issues for participation in Hacktoberfest Status: Up for grabs Issues that are ready to be worked on by anyone Type: Feature New feature or request
Projects
None yet
4 participants