Skip to content

fix: allow lists construction - #397

Merged
cx-lior-poterman merged 3 commits into
masterfrom
AST-82620-fix-allow-lists-in-generic-api-key
Sep 16, 2026
Merged

cx-lior-poterman merged 3 commits into
masterfrom
AST-82620-fix-allow-lists-in-generic-api-key

Conversation

@cx-diogo-rocha

Copy link
Copy Markdown
Contributor

Closes #

Proposed Changes
When we migrated the gitleaks rules to our own code for supporting custom rules, we introduced a method convertAllowLists, part of converting rules to gitleaks rules

The allowlists were being appended together, when they should be independent. This PR fixes this

Checklist

  • I covered my changes with tests.
  • I Updated the documentation that is affected by my changes:
    • Change in the CLI arguments
    • Change in the configuration file

I submit this contribution under the Apache-2.0 license.

@cx-diogo-rocha
cx-diogo-rocha requested a review from a team as a code owner September 4, 2026 16:49
cx-julio-silva
cx-julio-silva previously approved these changes Sep 10, 2026

@cx-artur-ribeiro cx-artur-ribeiro 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

@cx-lior-poterman
cx-lior-poterman merged commit ac491cc into master Sep 16, 2026
7 of 16 checks passed
@cx-lior-poterman
cx-lior-poterman deleted the AST-82620-fix-allow-lists-in-generic-api-key branch September 16, 2026 11:21
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.

5 participants