Skip to content

Integrations fully codeowns detectors - #5104

Merged
trufflesteeeve merged 1 commit into
mainfrom
adjust-detectors-codeowners
Jul 6, 2026
Merged

Integrations fully codeowns detectors#5104
trufflesteeeve merged 1 commit into
mainfrom
adjust-detectors-codeowners

Conversation

@trufflesteeeve

@trufflesteeeve trufflesteeeve commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This includes the injection points of detectors into the rest of the systems. Specifically the detector_type.proto, which is a list of all detectors, and the defaults.go and defaults_test.go (the only contents of pkg/engine/defaults), which are also a list of all detectors.

Description:

Right now adding a new detector requires approvals from two teams, and it should really only be one. The integrations teams own detectors, so the attachment points should also be owned by us.

Checklist:

Unrelated to this change, so removed.


Note

Low Risk
Governance-only change to GitHub review routing; no runtime or application code is modified.

Overview
CODEOWNERS now routes detector “registry” touchpoints to @trufflesecurity/integrations alone, so new detectors don’t need scanning review on those paths.

Specifically, proto/detector_type.proto and pkg/engine/defaults/ are owned only by integrations. That overrides the broader proto/ co-ownership and the pkg/engine/ scanning rule for those entries—the paths called out in the PR as where detectors are wired into the system (DetectorType enum and DefaultDetectors registration).

Reviewed by Cursor Bugbot for commit 33e85ab. Bugbot is set up for automated code reviews on this repo. Configure here.

This includes the injection points of detectors into the rest of the systems. Specifically the detector_type.proto, which is a list of all detectors, and the defaults.go and defaults_test.go (the only contents of pkg/engine/defaults), which are also a list of all detectors.
@trufflesteeeve
trufflesteeeve requested a review from a team July 1, 2026 22:32
@trufflesteeeve
trufflesteeeve requested a review from a team as a code owner July 1, 2026 22:32

@rajpratham1 rajpratham1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM. This cleanly updates ownership for detector-related files and keeps the CODEOWNERS configuration consistent. I don't see any issues with this change.

@trufflesteeeve
trufflesteeeve merged commit 9174f5d into main Jul 6, 2026
17 of 18 checks passed
@trufflesteeeve
trufflesteeeve deleted the adjust-detectors-codeowners branch July 6, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants