Skip to content

Releases: crowdsecurity/php-remediation-engine

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.

3.0.0

09 Mar 02:28
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Breaking change: Update crowdsec/capi-client dependency to v3.0.0 (CAPI V3 endpoints)
  • Breaking change: Update crowdsec/lapi-client dependency to v3.0.0
  • Breaking change: Update crowdsec/common dependency to v2.0.0
  • Breaking change: Use custom error handler for Memcached::getItem method
  • Breaking change: Rename AbstractCache::updateItem method to upsertItem
  • Breaking change: The cacheTag string parameter of cache methods become a tags array
  • Change visibility of AbstractRemediation::parseDurationToSeconds method from private to protected

Added

  • Handle blocklist decisions when pulling CAPI decisions

2.1.0

10 Feb 00:37
053a39b
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add public method getClient for LapiRemediation and CapiRemediation classes

2.0.0

02 Feb 09:29
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Breaking change: Update crowdsec/capi-client to a new major version 2.0.0
  • Breaking change: Update crowdsec/lapi-client to a new major version 2.0.0
  • Use crowdsec/common package as a dependency for code factoring

Removed

  • Breaking change: Remove CrowdSec\RemediationEngine\Logger\FileLog (replaced by CrowdSec\Common\Logger\FileLog)

1.0.1

27 Jan 05:31
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add public API declaration