Releases: crowdsecurity/php-cs-bouncer
Releases · crowdsecurity/php-cs-bouncer
4.3.0
Added
- Add hasBaasUrimethod to detect if the bouncer is connected to a Block As A Service Lapi
- Add resetUsageMetricsmethod to reset the usage metrics cache item
4.2.0
4.1.0
Changed
- Do not save origins count when the bouncer does not bounce the IP, due to business logic. This avoids sending a
 "processed" usage metrics to the LAPI when the IP is not bounced at all.
4.0.0
Added
- Add pushUsageMetricsmethod toAbstractBouncerclass
- Save origins count item in cache after a remediation has been applied
Changed
- Breaking change: AbstractBouncer::getRemediationForIpmethod returns now an array withremediationand
 originkeys.
- Breaking change: $remediationEngineparams ofAbstractBouncerconstructor is now aLapiRemediationEngineinstance
- Breaking change: AbstractBouncer::getAppSecRemediationForIpdon't need$remediationEngineparam anymore
- Breaking change: AbstractBouncer::handleRemediationrequires a neworiginparam
- Update crowdsec/remediation-enginedependency tov4.0.0
Removed
- Breaking change: Remove bouncing_levelconstants and configuration as it is now incrowdsec/remediation-enginepackage
3.2.0
Added
- Add protected buildRequestRawBodyhelper method toAbstractBouncerclass
3.1.0
Changed
- Update crowdsec/remediation-enginedependency tov3.5.0(appsec_max_body_size_kband
 appsec_body_size_exceeded_actionsettings)
3.0.0
Added
- Add AppSec support
- Add use_appsecconfiguration
Changed
- Breaking change: Add abstract methods that must be implemented to use AppSec:
- getRequestHost
- getRequestHeaders
- getRequestRawBody
- getRequestUserAgent
 
- bounceCurrentIpmethod asks for AppSec remediation if- use_appsecis true and IP remediation is- bypass
- Update crowdsec/commondependency tov2.3.0
- Update crowdsec/remediation-enginedependency tov3.4.0
Removed
- Breaking change: Remove DEFAULT_LAPI_URLconstant as it already exists incrowdsec/lapi-clientpackage
2.2.0
Changed
- Change the visibility of AbstractBouncer::getBanHtmlandAbstractBouncer::getCaptchaHtmltoprotectedto enable custom html rendering implementation
2.1.0
Changed
- Update gregwar/captchafrom1.2.0to1.2.1and remove override fixes
- Update crowdsec/commondependency tov2.2.0(api_connect_timeoutsetting)
- Update crowdsec/remediation-enginedependency tov3.3.0(api_connect_timeoutsetting)
2.0.0
Changed
- Update gregwar/captchafrom1.1.9to1.2.0and remove some override fixes
Removed
- Remove all code about standalone bouncer