Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enable or disable Secret Scanning for a repository #2204

@yogur

Description

@yogur

The library doesn't seem to support enabling or disabling Secret Scanning. This is doable through the REST API by sending a PATCH request and setting the status in the object secret_scanning to enabled or disabled. https://docs.github.com/en/rest/reference/repos#update-a-repository

Is this planned to be added to the library?

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