Skip to content

[fix](build) Allow Doris hidden columns in Gitleaks - #67477

Merged
morrySnow merged 1 commit into
apache:masterfrom
hello-stephen:agent/gitleaks-doris-hidden-columns
Sep 3, 2026
Merged

[fix](build) Allow Doris hidden columns in Gitleaks#67477
morrySnow merged 1 commit into
apache:masterfrom
hello-stephen:agent/gitleaks-doris-hidden-columns

Conversation

@hello-stephen

Copy link
Copy Markdown
Contributor

Problem

Doris internal hidden column identifiers such as __DORIS_IVM_UNION_KEY_0_0_COL__ can match the generic-api-key heuristic even though they are deterministic schema names, not credentials.

Solution

Add a rule-scoped allowlist for the exact hidden-column pattern __DORIS_[A-Z0-9_]+_COL__.

Validation

@hello-stephen

Copy link
Copy Markdown
Contributor Author

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen

Copy link
Copy Markdown
Contributor Author

skip buildall

@morrySnow
morrySnow merged commit fedf874 into apache:master Sep 3, 2026
33 checks passed
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Sep 3, 2026
@hello-stephen
hello-stephen deleted the agent/gitleaks-doris-hidden-columns branch September 3, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants