Skip to content

fix: allow lists construction - #397

Open
cx-diogo-rocha wants to merge 2 commits into
masterfrom
AST-82620-fix-allow-lists-in-generic-api-key
Open

fix: allow lists construction#397
cx-diogo-rocha wants to merge 2 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
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.

1 participant