-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Feature Request: Add support for secret scanning delegated bypass fields
The CodeSecurityConfiguration struct in github/orgs_codesecurity_configurations.go is missing support for the following fields documented in the REST API:
secret_scanning_delegated_bypass(string)secret_scanning_delegated_bypass_options(object containing reviewers array)
Related API Documentation:
- https://docs.github.com/en/enterprise-cloud@latest/rest/code-security/configurations?apiVersion=2022-11-28#update-a-code-security-configuration
- the enterprise variant does not list the field, but includes it in the response schema: https://docs.github.com/en/rest/code-security/configurations?apiVersion=2022-11-28#create-a-code-security-configuration-for-an-enterprise. The UI also supports it. I will try it out for our enterprise.
Use Case:
These fields are required to configure bypass privileges and bypass reviewers for secret scanning in code security configurations.
I will try to contribute this enhancement.
sputnyqgmlewis
Metadata
Metadata
Assignees
Labels
No labels