Skip to content

[FEAT]: Support Code Scanning default setup #1648

@srgustafson8

Description

@srgustafson8

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleUsed by stalebot to clean houseStatus: Up for grabsIssues that are ready to be worked on by anyoneType: FeatureNew feature or requesthacktoberfestIssues for participation in Hacktoberfest

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions