Skip to content

fix: alibaba secret validation should not run when disableValidation is true - #394

Merged
cx-lior-poterman merged 1 commit into
masterfrom
AST-156360-support-external-validate
Aug 7, 2026
Merged

cx-lior-poterman merged 1 commit into
masterfrom
AST-156360-support-external-validate

Conversation

@cx-diogo-rocha

@cx-diogo-rocha cx-diogo-rocha commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

Closes #

Proposed Changes
When we introduced custom rules we gave support to disable validation on custom Queries. At the time our change only supported disabling validation for rules in ruleIDToFunction map.
This PR change allows to also disable validation for rules in the alternative flow that goes through !v.pairsCollector.addIfNeeded (currently only alibaba rules fall on this flow)

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 August 6, 2026 14:36
@cx-lior-poterman
cx-lior-poterman merged commit 1e75879 into master Aug 7, 2026
9 of 18 checks passed
@cx-lior-poterman
cx-lior-poterman deleted the AST-156360-support-external-validate branch August 7, 2026 09:05
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
two-ms 5.3.0

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre># [5.3.0](Checkmarx/2ms@v5.2.4...v5.3.0) (2026-08-11)


### Bug Fixes

* sarif output by removing "," at results start ([#395](Checkmarx/2ms#395)) ([dc51425](Checkmarx/2ms@dc51425))
* alibaba secret validation should not run when disableValidation is true ([#394](Checkmarx/2ms#394)) ([1e75879](Checkmarx/2ms@1e75879))
* exploit that could pass a command through PR title or other metadata fields ([#387](Checkmarx/2ms#387)) ([14d3e50](Checkmarx/2ms@14d3e50))
* updated GCP validation to always consider 403 response as valid result ([#383](Checkmarx/2ms#383)) ([3e59cdb](Checkmarx/2ms@3e59cdb))
* vulnerabilities ([#384](Checkmarx/2ms#384)) ([e7cd9ac](Checkmarx/2ms@e7cd9ac))


### Features

* improve SARIF memory usage (signed) ([#393](Checkmarx/2ms#393)) ([0ac086c](Checkmarx/2ms@0ac086c))
</pre>
  <p>View the full release notes at <a href="https://github.com/Checkmarx/2ms/releases/tag/v5.3.0">https://github.com/Checkmarx/2ms/releases/tag/v5.3.0</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!16391
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.

3 participants