Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump github.com/corazawaf/coraza/v3 from 3.2.2-0.20240930072342-29962d4b4519 to 3.3.2 #47

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2025

Bumps github.com/corazawaf/coraza/v3 from 3.2.2-0.20240930072342-29962d4b4519 to 3.3.2.

Release notes

Sourced from github.com/corazawaf/coraza/v3's releases.

Version 3.3.2

What's Changed

Full Changelog: corazawaf/coraza@v3.3.1...v3.3.2

Version 3.3.1

Thanks to @​cognitivegears for fixing @restpath failing on query string or extra path info. Reference corazawaf/coraza#1266

What's Changed

New Contributors

Full Changelog: corazawaf/coraza@v3.3.0...v3.3.1

v3.3.0

Another year, another version 🎉 !

Version 3.3.0 comes with some nice new features, extended compatibility with ModSecurity SecLang, and some quick performance improvements.

The minimum required Go version is 1.22.

New features:

  • The coraza.rule.no_regex_multiline build tag has been added. It disables enabling by default regexes multiline modifiers in @rx operator. It aligns with CRS expected behavior, reduces false positives and might improve performances. Mind that it is planned to become the default behavior starting from the next major version. Check details and review available build tags here.
  • Added support to OCSF (v1.2.0) audit log format by @​durg78. Reference: #1089
  • Improved compatibility with Windows by @​jabdr. Reference: #1132 & #1133 & #1136 & #1137 & #1138
  • Added MULTIPART_STRICT_ERROR variable. It is set when mutipart fails to parse by @​fzipi, @​M4tteoP. Reference: #1098 & #1166
  • Added SecRuleUpdateActionById directive support by @​fzipi. Reference: #1071
  • Added TIME variables support by @​geoolekom and @​jcchavezs for the sake of compatibility with modsec and existing rulesets e.g. Imunify360. Some use cases are described in corazawaf/coraza#1223. Reference: #1223 & #1242
  • Allow square brackets in variables during macro expansion by @​geoolekom as a query parameter can be a slice and hence its name contains square brackets. Reference: #1226
  • Added base64 encode transformation by @​tty2 as it wasn't supported. Reference: #1257

Fixes:

  • Fixed incorrect parsing of regex in SecRule with multiple ARGS specifiers by @​geekeryy. Reference: #1087
  • Fixed default deny action status code to 403 by @​M4tteoP. Reference: #1097
  • Fixed setvar action to allow values to start with - or + by @​soujanyanmbri. Reference: #1125
  • Fixed macro parsing to handle additional border cases by @​fzipi. Reference: #1180
  • Fixed default redirect action status code by @​fzipi. Reference: #1183
  • Improved noisy warn level debug logging when the body limit action is ProcessPartial. Reference: #1187
  • Added empty glob error when no files match by @​gantony as we don't want to accidentally miss rules to be loaded because an incorrect glob. Reference: #1259
  • Go version was pinned to 1.22.0 as coraza is a library and we should not target patch versions. Reference: #1246

Performance improvements

  • Improvements on GetField by reducing heap allocations by @​M4tteoP. Reference: #1195
  • Improvements on transformArg by reducing heap allocations by @​M4tteoP. Reference: #1198

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/corazawaf/coraza/v3](https://github.com/corazawaf/coraza) from 3.2.2-0.20240930072342-29962d4b4519 to 3.3.2.
- [Release notes](https://github.com/corazawaf/coraza/releases)
- [Changelog](https://github.com/corazawaf/coraza/blob/main/CHANGELOG.md)
- [Commits](https://github.com/corazawaf/coraza/commits/v3.3.2)

---
updated-dependencies:
- dependency-name: github.com/corazawaf/coraza/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@M4tteoP M4tteoP merged commit 2d7c82f into main Jan 12, 2025
1 check passed
@dependabot dependabot bot deleted the dependabot/go_modules/main/github.com/corazawaf/coraza/v3-3.3.2 branch January 12, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant