Skip to content

feat: Add two new fields to org CodeSecurityConfiguration#4205

Open
tstollin wants to merge 1 commit intogoogle:masterfrom
tstollin:secret_scanning_extended_metadata
Open

feat: Add two new fields to org CodeSecurityConfiguration#4205
tstollin wants to merge 1 commit intogoogle:masterfrom
tstollin:secret_scanning_extended_metadata

Conversation

@tstollin
Copy link
Copy Markdown
Contributor

This PR updates support for organization-level code security configurations to match the latest REST API schema.

Specifically, it adds the following fields to CodeSecurityConfiguration in github/orgs_codesecurity_configurations.go:

  • dependabot_delegated_alert_dismissal
  • secret_scanning_extended_metadata

These fields are documented in the GitHub REST API for creating/updating code security configurations:
https://docs.github.com/en/enterprise-cloud@latest/rest/code-security/configurations?apiVersion=2026-03-10#create-a-code-security-configuration

@gmlewis gmlewis changed the title feat: Add two new fields to org CodeSecurityConfiguration feat: Add two new fields to org CodeSecurityConfiguration May 11, 2026
@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label May 11, 2026
Copy link
Copy Markdown
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @tstollin!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo.

cc: @stevehipwell - @alexandear - @zyfy29 - @Not-Dhananjay-Mishra - @munlicode

@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.71%. Comparing base (9f9ead3) to head (55c9d10).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4205   +/-   ##
=======================================
  Coverage   93.71%   93.71%           
=======================================
  Files         209      209           
  Lines       19772    19772           
=======================================
  Hits        18529    18529           
  Misses       1046     1046           
  Partials      197      197           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@Not-Dhananjay-Mishra Not-Dhananjay-Mishra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NeedsReview PR is awaiting a review before merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants