Skip to content

Commit

Permalink
feat(appsec): Update to last remediation version
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Oct 18, 2024
1 parent caa5509 commit caed0b6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ The [public API](https://semver.org/spec/v2.0.0.html#spec-item-1) of this librar

As far as possible, we try to adhere to [Symfony guidelines](https://symfony.com/doc/current/contributing/code/bc.html#working-on-symfony-code) when deciding whether a change is a breaking change or not.

---

## [3.1.0](https://github.com/crowdsecurity/php-cs-bouncer/releases/tag/v3.1.0) - 2024-10-18
[_Compare with previous release_](https://github.com/crowdsecurity/php-cs-bouncer/compare/v3.0.0...v3.1.0)


### Changed

- Update `crowdsec/remediation-engine` dependency to `v3.5.0` (`appsec_max_body_size_kb` and
`appsec_body_size_exceeded_action` settings)


---

## [3.0.0](https://github.com/crowdsecurity/php-cs-bouncer/releases/tag/v3.0.0) - 2024-10-04
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
],
"require": {
"php": ">=7.2.5",
"crowdsec/remediation-engine": "^3.4.0",
"crowdsec/common": "^2.3.0",
"crowdsec/remediation-engine": "^3.5.0",
"crowdsec/common": "^2.3.2",
"symfony/config": "^4.4.27 || ^5.2 || ^6.0",
"twig/twig": "^3.4.2",
"gregwar/captcha": "^1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion docs/USER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ Below is the list of available settings:

### Local API Connection

- `auth_type`: Select from `api_key` and `tls`. Choose if you want to use an API-KEY or a TLS (pki) authentification.
- `auth_type`: Select from `api_key` and `tls`. Choose if you want to use an API-KEY or a TLS (pki) authentication.
TLS authentication is only available if you use CrowdSec agent with a version superior to 1.4.0.


Expand Down
2 changes: 1 addition & 1 deletion src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Constants extends RemConstants
/** @var string Path for html templates folder (e.g. ban and captcha wall) */
public const TEMPLATES_DIR = __DIR__ . '/templates';
/** @var string The last version of this library */
public const VERSION = 'v3.0.0';
public const VERSION = 'v3.1.0';
/** @var string The "disabled" x-forwarded-for setting */
public const X_FORWARDED_DISABLED = 'no_forward';
}

0 comments on commit caed0b6

Please sign in to comment.