Skip to content

Commit 2f2a547

Browse files
committed
Merge remote-tracking branch 'origin/release/v11.0.4' into backlog/add-sql-query-support-to-logexplorer-via-opensearch
# Conflicts: # CHANGELOG.md # backend/src/main/java/com/park/utmstack/advice/GlobalExceptionHandler.java # frontend/src/app/shared/utm-shared.module.ts
2 parents 29feb45 + b68689e commit 2f2a547

97 files changed

Lines changed: 2897 additions & 438 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/v11-deployment-pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ jobs:
193193
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack_agent_dependencies_linux.zip" -o ./dependencies/agent/utmstack_agent_dependencies_linux.zip
194194
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack_agent_dependencies_windows.zip" -o ./dependencies/agent/utmstack_agent_dependencies_windows.zip
195195
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack_agent_dependencies_windows_arm64.zip" -o ./dependencies/agent/utmstack_agent_dependencies_windows_arm64.zip
196+
curl -sSL "https://storage.googleapis.com/utmstack-updates/dependencies/agent/utmstack-macos-agent-v10.pkg" -o ./dependencies/agent/utmstack-macos-agent.pkg
196197
197198
cp "${{ github.workspace }}/agent/utmstack_agent_service" ./dependencies/agent/
198199
cp "${{ github.workspace }}/agent/utmstack_agent_service.exe" ./dependencies/agent/

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# UTMStack 11.0.1 Release Notes
1+
# UTMStack 11.0.3
22

3-
- Enriched the TIMEZONES constant to include additional IANA zones for broader coverage.
4-
- Support for additional syslog framing methods (RFC 5424 octet counting).
3+
This is the release notes for **UTMStack v11.0.3**, a minor update focused on bug fixes and performance improvements.
4+
5+
## Fixed Issues
6+
7+
- Fixed a bug in the SOC-AI integration that caused occasional failures when generating insights.
8+
- Fixed a bug when trying to enroll and authenticate by TFA.
9+
10+
## Enhancements
11+
12+
- SIEM configuration now adapts to the Sovereign Cloud Model implemented by the provider in each region for Azure and Microsoft 365 integrations.

agent/collectors/filebeat_amd64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (f Filebeat) Install() error {
6868
return fmt.Errorf("error creating %s service: %v", config.ModulesServName, err)
6969
}
7070

71-
if err = utils.Execute("chmod", filebLogPath, "-R", "777", "filebeat"); err != nil {
71+
if err = utils.Execute("chmod", filebLogPath, "-R", "755", "filebeat"); err != nil {
7272
return fmt.Errorf("error executing chmod: %v", err)
7373
}
7474

agent/updates/dependencies.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func handleDependenciesPostDownload(dependencies []string) error {
3939
}
4040

4141
if runtime.GOOS == "linux" || runtime.GOOS == "darwin" {
42-
if err := utils.Execute("chmod", utils.GetMyPath(), "-R", "777", fmt.Sprintf(config.UpdaterSelf, "")); err != nil {
42+
if err := utils.Execute("chmod", utils.GetMyPath(), "-R", "755", fmt.Sprintf(config.UpdaterSelf, "")); err != nil {
4343
return fmt.Errorf("error executing chmod on %s: %v", fmt.Sprintf(config.UpdaterSelf, ""), err)
4444
}
4545
}
@@ -48,7 +48,7 @@ func handleDependenciesPostDownload(dependencies []string) error {
4848
return fmt.Errorf("error removing file %s: %v", file, err)
4949
}
5050
} else if runtime.GOOS == "linux" || runtime.GOOS == "darwin" {
51-
if err := utils.Execute("chmod", utils.GetMyPath(), "-R", "777", file); err != nil {
51+
if err := utils.Execute("chmod", utils.GetMyPath(), "-R", "755", file); err != nil {
5252
return fmt.Errorf("error executing chmod on %s: %v", file, err)
5353
}
5454
}

agent/updates/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func UpdateDependencies(cnf *config.Config) {
5555
}
5656

5757
if runtime.GOOS == "linux" || runtime.GOOS == "darwin" {
58-
if err = utils.Execute("chmod", utils.GetMyPath(), "-R", "777", filepath.Join(utils.GetMyPath(), fmt.Sprintf(config.ServiceFile, "_new"))); err != nil {
58+
if err = utils.Execute("chmod", utils.GetMyPath(), "-R", "755", filepath.Join(utils.GetMyPath(), fmt.Sprintf(config.ServiceFile, "_new"))); err != nil {
5959
utils.Logger.ErrorF("error executing chmod: %v", err)
6060
}
6161
}

agent/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "11.0.0"
2+
"version": "11.0.1"
33
}

backend/src/main/java/com/park/utmstack/advice/GlobalExceptionHandler.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ public ResponseEntity<?> handleMethodArgumentNotValid(MethodArgumentNotValidExce
6666
return ResponseUtil.buildBadRequestResponse(e.getBindingResult().getAllErrors().get(0).getDefaultMessage());
6767
}
6868

69+
@ExceptionHandler(ApiException.class)
70+
public ResponseEntity<?> handleApiException(ApiException ex) {
71+
return ResponseUtil.buildErrorResponse(ex.getStatus(), ex.getMessage());
72+
}
73+
6974
@ExceptionHandler(Exception.class)
7075
public ResponseEntity<?> handleGenericException(Exception e, HttpServletRequest request) {
7176
return ResponseUtil.buildInternalServerErrorResponse(e.getMessage());

backend/src/main/java/com/park/utmstack/aop/logging/NoLogException.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
package com.park.utmstack.aop.logging;
22

3-
import java.lang.annotation.ElementType;
4-
import java.lang.annotation.Retention;
5-
import java.lang.annotation.RetentionPolicy;
6-
import java.lang.annotation.Target;
3+
import java.lang.annotation.*;
74

5+
@Inherited
86
@Target(ElementType.TYPE)
97
@Retention(RetentionPolicy.RUNTIME)
108
public @interface NoLogException {}

backend/src/main/java/com/park/utmstack/config/Constants.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ public final class Constants {
140140
// ----------------------------------------------------------------------------------
141141
public static final String STATISTICS_INDEX_PATTERN = "v11-statistics-*";
142142
public static final String V11_API_ACCESS_LOGS = "v11-api-access-logs-*";
143+
public static final String V11_ALERTS_INDEX_PATTERN = "v11-alert-*";
143144

144145
// Logging
145146
public static final String TRACE_ID_KEY = "traceId";
@@ -162,6 +163,9 @@ public final class Constants {
162163
public static final String API_KEY_HEADER = "Utm-Api-Key";
163164
public static final List<String> API_ENDPOINT_IGNORE = Collections.emptyList();
164165

166+
// Application version file
167+
public static final String APP_VERSION_FILE = "/updates/version.json";
168+
165169
private Constants() {
166170
}
167171
}

backend/src/main/java/com/park/utmstack/domain/application_modules/UtmModuleGroupConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ public UtmModuleGroupConfiguration(ModuleConfigurationKey key) {
7171
this.confDataType = key.getConfDataType();
7272
this.confRequired = key.getConfRequired();
7373
this.confOptions = key.getConfOptions();
74-
this.confVisibility = key.getConfOptions();
74+
this.confValue = key.getConfValue();
75+
this.confVisibility = key.getConfVisibility();
7576
}
7677

7778
}

0 commit comments

Comments
 (0)