Skip to content

[INS-467] Add IPinfo detector to default detectors list#4970

Open
mustansir14 wants to merge 2 commits into
ins-465-add-datadogapikey-detector-to-defaultsfrom
ins-467-add-ipinfo-detector-to-default-detectors
Open

[INS-467] Add IPinfo detector to default detectors list#4970
mustansir14 wants to merge 2 commits into
ins-465-add-datadogapikey-detector-to-defaultsfrom
ins-467-add-ipinfo-detector-to-default-detectors

Conversation

@mustansir14
Copy link
Copy Markdown
Contributor

@mustansir14 mustansir14 commented May 18, 2026

Description:

This PR adds the IPinfo detector to the default detectors list. It also gates it behind a feature flag. It's based off of #4969 because that contains some plumbing that's needed here,

Testing:

Unit Tests are passing. Integration tests didn't have the required keys in the GCP vault. Once added, they are passing too.

Corpora Testing:

The detector does not appear in the list.
image

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

Note

Medium Risk
Medium risk because it changes the default detector set (and associated verification calls), which may affect scan performance and produce additional findings for existing users.

Overview
Adds the IPinfo detector to the engine’s default detector list and gates it behind a new feature.IPInfoDetectorEnabled flag that is enabled by default at startup.

Updates default-detector coverage tests to treat IPInfo as feature-flagged (no longer “missing by mistake”), and adjusts the ipinfo integration test expectations to validate/ignore newly-populated Result secret-part fields.

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

@mustansir14 mustansir14 requested a review from a team May 18, 2026 08:48
@mustansir14 mustansir14 requested a review from a team as a code owner May 18, 2026 08:48
@github-actions
Copy link
Copy Markdown

Corpora Test Results

No detector regex or keyword changes in this PR. Bench skipped.

@mustansir14 mustansir14 force-pushed the ins-467-add-ipinfo-detector-to-default-detectors branch from cda3c7c to d337d07 Compare May 21, 2026 09:45
@mustansir14 mustansir14 changed the base branch from main to ins-465-add-datadogapikey-detector-to-defaults May 21, 2026 09:46
@mustansir14 mustansir14 added the review/product-eng Team integrations reviewed, awaiting product-eng review label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review/product-eng Team integrations reviewed, awaiting product-eng review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants