Skip to content

Commit caed0b6

Browse files
feat(appsec): Update to last remediation version
1 parent caa5509 commit caed0b6

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ The [public API](https://semver.org/spec/v2.0.0.html#spec-item-1) of this librar
99

1010
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.
1111

12+
---
13+
14+
## [3.1.0](https://github.com/crowdsecurity/php-cs-bouncer/releases/tag/v3.1.0) - 2024-10-18
15+
[_Compare with previous release_](https://github.com/crowdsecurity/php-cs-bouncer/compare/v3.0.0...v3.1.0)
16+
17+
18+
### Changed
19+
20+
- Update `crowdsec/remediation-engine` dependency to `v3.5.0` (`appsec_max_body_size_kb` and
21+
`appsec_body_size_exceeded_action` settings)
22+
23+
1224
---
1325

1426
## [3.0.0](https://github.com/crowdsecurity/php-cs-bouncer/releases/tag/v3.0.0) - 2024-10-04

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
],
4242
"require": {
4343
"php": ">=7.2.5",
44-
"crowdsec/remediation-engine": "^3.4.0",
45-
"crowdsec/common": "^2.3.0",
44+
"crowdsec/remediation-engine": "^3.5.0",
45+
"crowdsec/common": "^2.3.2",
4646
"symfony/config": "^4.4.27 || ^5.2 || ^6.0",
4747
"twig/twig": "^3.4.2",
4848
"gregwar/captcha": "^1.2.1",

docs/USER_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Below is the list of available settings:
205205

206206
### Local API Connection
207207

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

211211

src/Constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Constants extends RemConstants
3737
/** @var string Path for html templates folder (e.g. ban and captcha wall) */
3838
public const TEMPLATES_DIR = __DIR__ . '/templates';
3939
/** @var string The last version of this library */
40-
public const VERSION = 'v3.0.0';
40+
public const VERSION = 'v3.1.0';
4141
/** @var string The "disabled" x-forwarded-for setting */
4242
public const X_FORWARDED_DISABLED = 'no_forward';
4343
}

0 commit comments

Comments
 (0)