Skip to content

Tags: Checkmarx/2ms

Tags

5.3.0-pre-release

Toggle 5.3.0-pre-release's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: updated GCP validation to always consider 403 response as valid …

…result (#383)

<!--
Thanks for contributing to 2ms by offering a pull request.
-->

Closes #

**Proposed Changes**

We had an issue where GCP API Keys were having inconsistent validation,
varying from Valid to Unknown depending on the response body.

After testing the API, we concluded that 403-Forbidden code is only
received if the token is valid. It might, however, not be valid to the
API we are testing (Youtube API). But it is still valid as a GCP API
Key.

Therefore we are treating all 403 codes as Valid, unless an error
occurred on parsing the response body (this error behavior was already
present)

**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.

v5.3.0-pre-release

Toggle v5.3.0-pre-release's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: updated GCP validation to always consider 403 response as valid …

…result (#383)

<!--
Thanks for contributing to 2ms by offering a pull request.
-->

Closes #

**Proposed Changes**

We had an issue where GCP API Keys were having inconsistent validation,
varying from Valid to Unknown depending on the response body.

After testing the API, we concluded that 403-Forbidden code is only
received if the token is valid. It might, however, not be valid to the
API we are testing (Youtube API). But it is still valid as a GCP API
Key.

Therefore we are treating all 403 codes as Valid, unless an error
occurred on parsing the response body (this error behavior was already
present)

**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.

v5.2.4

Toggle v5.2.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: reverting special character support for generic rule (#380)

<!--
Thanks for contributing to 2ms by offering a pull request.
-->

Closes #

**Proposed Changes**

<!--
Please describe the big picture of your changes here. If it fixes a bug
or resolves a feature request, be sure to link to that issue.
-->

**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.

v5.2.3

Toggle v5.2.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: add special characters support for generic credential rule (#377)

**Proposed Changes**

<!--
Add special characters support for generic credential rule
-->

**Checklist**

- [X] 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.

v5.2.2

Toggle v5.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: update go version and custom rules regexTarget documentation (#373)

<!--
Thanks for contributing to 2ms by offering a pull request.
-->

Closes #

**Proposed Changes**
Update go version and custom rules regexTarget documentation

<!--
Please describe the big picture of your changes here. If it fixes a bug
or resolves a feature request, be sure to link to that issue.
-->

**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.

v5.2.1

Toggle v5.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: vulnerability (#372)

bump go version to 1.25.6 to fix vulnerability

v5.2.0

Toggle v5.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add context cancellation support to Scan API and filter whitesp…

…ace-only findings (#371)

v5.1.1

Toggle v5.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: move ScanConfig to public package (#370)

- Moved ScanConfig from internal/resources to pkg/scanner (public API)
- Replaced nested EngineConfig.ScanConfig.WithValidation with direct
EngineConfig.WithValidation field

v5.1.0

Toggle v5.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add limits fields to scan config (#369)

v5.0.0

Toggle v5.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: update ignore results with latest ids (#368)

<!--
Thanks for contributing to 2ms by offering a pull request.
-->

Closes #

**Proposed Changes**

<!--
Please describe the big picture of your changes here. If it fixes a bug
or resolves a feature request, be sure to link to that issue.
-->

**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.