Skip to content

[Feature Request] GitHub Advanced Security #1104

Closed

Description

@tjcorr

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 .

Activity

  1. cfisher281 commented on Jun 8, 2022

    @cfisher281

    +1
    I could use this now.

  2. lagerfeuer commented on Jul 7, 2022

    @lagerfeuer

    any news on this?

  3. skumarnara commented on Jul 7, 2022

    @skumarnara

    BUMP..........

  4. andrew-lethbridge-vgh commented on Aug 3, 2022

    @andrew-lethbridge-vgh

    Could also really use this.

  5. jwfh commented on Aug 3, 2022

    @jwfh

    This would be a useful feature.

  6. Dilfer commented on Aug 3, 2022

    @Dilfer

    Would really like this feature. Right now our repo creation process is not fully automatable without this change to the provider.

  7. kuhlman-labs commented on Sep 21, 2022

    @kuhlman-labs
    Contributor

    #1298 allows us to set the GHAS settings on an org level. I will investigate how to implement this at the repo level.

  8. kuhlman-labs commented on Sep 22, 2022

    @kuhlman-labs
    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.

  9. andrew-lethbridge-vgh commented on Sep 22, 2022

    @andrew-lethbridge-vgh

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

  10. kuhlman-labs commented on Sep 26, 2022

    @kuhlman-labs
    Contributor

    PR has been submitted:
    #1304

  11. Luis-3M commented on Sep 29, 2022

    @Luis-3M

    Looking forward to this one 🚀

  12. kuhlman-labs commented on Nov 21, 2022

    @kuhlman-labs
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions