diff --git a/CHANGELOG.md b/CHANGELOG.md index 0561b1a5b..eac08d3c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,3 @@ -# UTMStack 10.6.0 Release Notes +# UTMStack 10.6.1 Release Notes ## Bug Fixes -- Reorganized GeoIP database loading into more modular functions for improved maintainability and code readability. Simplified caching, removed unused database function, and restructured rule-handling logic. Improved consistency by standardizing variable names and logging practices. -- Removed unused docker volume configuration for GeoIp. -- Fixed Kernel modules weren't loaded because incorrect function call. - -## New Features -- Introduced automatic threat intelligence rules to detect blacklisted ips, hostnames and domains. +- Fixed ISM policy to ensure snapshots include only indices older than 24 hours. diff --git a/backend/src/main/java/com/park/utmstack/service/index_policy/IndexPolicyService.java b/backend/src/main/java/com/park/utmstack/service/index_policy/IndexPolicyService.java index e3ddbfe8f..8d47ed578 100644 --- a/backend/src/main/java/com/park/utmstack/service/index_policy/IndexPolicyService.java +++ b/backend/src/main/java/com/park/utmstack/service/index_policy/IndexPolicyService.java @@ -162,7 +162,7 @@ public void updatePolicy(PolicySettings settings) { .ifPresent(state -> { Transition transition = state.getTransitions().get(0); transition.setStateName(Constants.STATE_BACKUP); - transition.setConditions(null); + transition.setConditions(new TransitionCondition("24h")); }); // open -> safe_delete @@ -178,6 +178,7 @@ public void updatePolicy(PolicySettings settings) { .ifPresent(state -> { Transition transition = state.getTransitions().get(0); transition.setStateName(Constants.STATE_OPEN); + transition.setConditions(new TransitionCondition("24h")); }); // open -> delete diff --git a/version.yml b/version.yml index 98bcd91db..c4fb4fc29 100644 --- a/version.yml +++ b/version.yml @@ -1 +1 @@ -version: 10.6.0 \ No newline at end of file +version: 10.6.1 \ No newline at end of file