Skip to content

feat: improve SARIF memory usage (signed) - #393

Merged
cx-lior-poterman merged 11 commits into
masterfrom
AST-140881-dhl-improve-memory-usage-signed
Aug 6, 2026
Merged

cx-lior-poterman merged 11 commits into
masterfrom
AST-140881-dhl-improve-memory-usage-signed

Conversation

@cx-diogo-rocha

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

Copy link
Copy Markdown
Contributor

Closes #

Proposed Changes

  1. Reduced the amount of time the report was held in memory for Sarif report. Now only in memory once (this can be reduced later with a deeper refactor).
  2. Added a flag to disable console report, since this was another point in the code where the full report was duplicated in memory. We should later stream to console as well even with the flag absent.

Replaces #386, having all commits signed

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 5, 2026 14:22
@cx-lior-poterman
cx-lior-poterman merged commit 0ac086c into master Aug 6, 2026
8 of 16 checks passed
@cx-lior-poterman
cx-lior-poterman deleted the AST-140881-dhl-improve-memory-usage-signed branch August 6, 2026 10:47
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