Skip to content

Releases: crowdsecurity/php-remediation-engine

4.3.0

11 Apr 02:01
27abce7
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add support for Allowlists decisions

4.2.0

31 Jan 02:53
779724a
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Allow Monolog 3 packages

4.1.0

16 Jan 06:00
b4bb739
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Allow Symfony 7 packages

4.0.0

09 Jan 03:54
17ac075
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add LapiRemediation::pushUsageMetrics method to push usage metrics to LAPI
  • Add bouncing_level configuration to cap maximum remediation level

Changed

  • Breaking change: getIpRemediation method now returns an array with remediation and origin keys
  • Breaking change: Change protected AbstractRemediation::updateRemediationOriginCount method to public
    updateMetricsOriginsCount with new $remediation and $delta parameters.
  • Breaking change: Do not store origins count in cache as it should be managed by the bouncer
  • Update crowdsec/lapi-client dependency to v3.4.0

Removed

  • Removed deprecated methods

3.5.0

18 Oct 05:46
f933261
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add AppSec settings to manage maximum size of the request body
    • Add appsec_max_body_size_kb setting
    • Add appsec_body_size_exceeded_action setting

3.4.0

04 Oct 02:49
ea92f7a
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add AppSec requests support with getAppSecRemediation public method in LapiRemediation class
  • Add appsec_fallback_remediation configuration for Lapi remediation

Changed

  • Update crowdsec/common dependency to v2.3.0
  • Update crowdsec/capi-client dependency to v3.2.0
  • Update crowdsec/lapi-client dependency to v3.3.0

3.3.0

14 Dec 01:23
8457be0
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Update crowdsec/common dependency to v2.2.0 (api_connect_timeout setting)
  • Update crowdsec/capi-client dependency to v3.1.0 (api_connect_timeout setting)
  • Update crowdsec/lapi-client dependency to v3.2.0 (api_connect_timeout setting)

3.2.0

20 Apr 04:57
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Store origin of decision in cache

Added

  • Store origin count of getIpRemediation in cache and provide a getOriginsCount helper method

Deprecated

  • Deprecate AbstractRemediation::getRemediationFromDecisions
  • Deprecate AbstractRemediation::sortDecisionsByRemediationPriority

3.1.1

24 Mar 05:12
83ff8ca
Compare
Choose a tag to compare

Compare with previous release

Fixed

  • Do not set logger in Memcached cache to avoid silent error

3.1.0

24 Mar 02:29
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Instantiate provided Redis and PhpFiles caches without cache tags by default
  • Do not cache CAPI decision with 0h duration
  • Set logger in cache adapter to log Symfony cache messages

Added

  • Add a boolean use_cache_tags setting for Redis and PhpFiles caches. Default to false.