Skip to content

Commit a1c619c

Browse files
authored
Merge pull request #1559 from utmstack/release/v11.1.8
Release/v11.1.8
2 parents 003345d + d661f28 commit a1c619c

File tree

7 files changed

+401
-449
lines changed

7 files changed

+401
-449
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# UTMStack 11.1.7 – Release Notes
1+
# UTMStack 11.1.8 – Release Notes
22

3-
The **UTMStack v11.1.7** update delivers important fixes and usability improvements to enhance stability and user experience.
3+
The **UTMStack v11.1.8** update delivers important fixes and usability improvements to enhance stability and user experience.
44

55
## Improvements & Fixes
66
- Improved AWS integration: updated setup guides and more reliable log processing.

backend/src/main/java/com/park/utmstack/domain/application_modules/factory/impl/ModuleAwsIamUser.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@ public List<ModuleConfigurationKey> getConfigurationKeys(Long groupId) throws Ex
7272
.withConfRequired(true)
7373
.build());
7474

75+
keys.add(ModuleConfigurationKey.builder()
76+
.withGroupId(groupId)
77+
.withConfKey("aws_log_group_name")
78+
.withConfName("Log Group Name")
79+
.withConfDescription("Configure Aws Log Group Name")
80+
.withConfDataType("text")
81+
.withConfRequired(true)
82+
.build());
83+
7584
return keys;
7685
}
7786

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<databaseChangeLog
3+
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
6+
7+
<changeSet id="20260107001" author="Manuel">
8+
<preConditions onFail="MARK_RAN">
9+
<sqlCheck expectedResult="1">
10+
SELECT CASE WHEN COUNT(*) > 0 THEN 1 ELSE 0 END AS result
11+
FROM public.utm_module_group
12+
WHERE module_id = 35
13+
</sqlCheck>
14+
</preConditions>
15+
16+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
17+
INSERT INTO public.utm_module_group_configuration (
18+
group_id,
19+
conf_key,
20+
conf_value,
21+
conf_name,
22+
conf_description,
23+
conf_data_type,
24+
conf_required,
25+
conf_options,
26+
conf_visibility
27+
)
28+
SELECT
29+
g.id,
30+
'aws_log_group_name',
31+
'',
32+
'Log Group Name',
33+
'Configure Aws Log Group Name',
34+
'text',
35+
true,
36+
null,
37+
null
38+
FROM public.utm_module_group g
39+
WHERE g.module_id = 35;
40+
</sql>
41+
</changeSet>
42+
43+
</databaseChangeLog>
Lines changed: 243 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,243 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<databaseChangeLog
3+
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
6+
7+
<changeSet id="20260107002" author="Manuel">
8+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
9+
<![CDATA[
10+
11+
UPDATE public.utm_logstash_filter
12+
SET logstash_filter='# AWS filter, version 1.0.3
13+
14+
pipeline:
15+
- dataTypes:
16+
- aws
17+
steps:
18+
- json:
19+
source: raw
20+
21+
- rename:
22+
from:
23+
- log.userIdentity.accessKeyId
24+
to: log.userIdentityAccessKeyId
25+
26+
- rename:
27+
from:
28+
- log.userIdentity.accountId
29+
to: log.userIdentityAccountId
30+
31+
- rename:
32+
from:
33+
- log.userIdentity.arn
34+
to: log.userIdentityArn
35+
36+
- rename:
37+
from:
38+
- log.userIdentity.invokedBy
39+
to: log.userIdentityInvokedBy
40+
41+
- rename:
42+
from:
43+
- log.userIdentity.principalId
44+
to: log.userIdentityPrincipalId
45+
46+
- rename:
47+
from:
48+
- log.userIdentity.sessionContext.attributes.creationDate
49+
to: log.userIdentitySessionContextAttributesCreationDate
50+
51+
- rename:
52+
from:
53+
- log.userIdentity.sessionContext.attributes.mfaAuthenticated
54+
to: log.userIdentitySessionContextAttributesMfaAuthenticated
55+
56+
- rename:
57+
from:
58+
- log.userIdentity.sessionContext.sessionIssuer.accountId
59+
to: log.userIdentitySessionContextSessionIssuerAccountId
60+
61+
- rename:
62+
from:
63+
- log.userIdentity.sessionContext.sessionIssuer.arn
64+
to: log.userIdentitySessionContextSessionIssuerArn
65+
66+
- rename:
67+
from:
68+
- log.userIdentity.sessionContext.sessionIssuer.principalId
69+
to: log.userIdentitySessionContextSessionIssuerPrincipalId
70+
71+
- rename:
72+
from:
73+
- log.userIdentity.sessionContext.sessionIssuer.type
74+
to: log.userIdentitySessionContextSessionIssuerType
75+
76+
- rename:
77+
from:
78+
- log.userIdentity.sessionContext.sessionIssuer.userName
79+
to: log.userIdentitySessionContextSessionIssuerUserName
80+
81+
- rename:
82+
from:
83+
- log.userIdentity.sessionContext.webIdFederationData
84+
to: log.userIdentitySessionContextWebIdFederationData
85+
86+
- rename:
87+
from:
88+
- log.userIdentity.type
89+
to: log.userIdentityType
90+
91+
- rename:
92+
from:
93+
- log.requestParameters.durationSeconds
94+
to: log.requestParametersDurationSeconds
95+
96+
- rename:
97+
from:
98+
- log.requestParameters.roleArn
99+
to: log.requestParametersRoleArn
100+
101+
- rename:
102+
from:
103+
- log.requestParameters.roleSessionName
104+
to: log.requestParametersRoleSessionName
105+
106+
- rename:
107+
from:
108+
- log.responseElements.assumedRoleUser.arn
109+
to: log.responseElementsAssumedRoleUserArn
110+
111+
- rename:
112+
from:
113+
- log.responseElements.assumedRoleUser.assumedRoleId
114+
to: log.responseElementsAssumedRoleUserAssumedRoleId
115+
116+
- rename:
117+
from:
118+
- log.responseElements.credentials.accessKeyId
119+
to: log.responseElementsCredentialsAccessKeyId
120+
121+
- rename:
122+
from:
123+
- log.responseElements.credentials.expiration
124+
to: log.responseElementsCredentialsExpiration
125+
126+
- rename:
127+
from:
128+
- log.responseElements.credentials.sessionToken
129+
to: log.responseElementsCredentialsSessionToken
130+
131+
- rename:
132+
from:
133+
- log.requestParameters.Host
134+
to: log.requestParametersHost
135+
136+
- rename:
137+
from:
138+
- log.requestParameters.acl
139+
to: log.requestParametersAcl
140+
141+
- rename:
142+
from:
143+
- log.requestParameters.bucketName
144+
to: log.userIdentityAccesrequestParametersBucketNamesKeyId
145+
146+
- rename:
147+
from:
148+
- log.additionalEventData.SignatureVersion
149+
to: log.additionalEventDataSignatureVersion
150+
151+
- rename:
152+
from:
153+
- log.additionalEventData.AuthenticationMethod
154+
to: log.additionalEventDataAuthenticationMethod
155+
156+
- rename:
157+
from:
158+
- log.additionalEventData.CipherSuite
159+
to: log.additionalEventDataCipherSuite
160+
161+
- rename:
162+
from:
163+
- log.additionalEventData.bytesTransferredIn
164+
to: origin.bytesReceived
165+
166+
- rename:
167+
from:
168+
- log.additionalEventData.bytesTransferredOut
169+
to: origin.bytesSent
170+
171+
- rename:
172+
from:
173+
- log.additionalEventData.x-amz-id-2
174+
to: log.additionalEventDataXamzId2
175+
176+
- rename:
177+
from:
178+
- log.additionalEventData.SSEApplied
179+
to: log.additionalEventDataSSEApplied
180+
181+
- rename:
182+
from:
183+
- log.requestParameters.key
184+
to: log.requestParametersKey
185+
186+
- rename:
187+
from:
188+
- log.requestParameters.x-amz-acl
189+
to: log.requestParametersXAmzAcl
190+
191+
- rename:
192+
from:
193+
- log.requestParameters.x-amz-server-side-encryption
194+
to: log.requestParametersXAmzServerSideEncryption
195+
196+
- rename:
197+
from:
198+
- log.responseElements.x-amz-expiration
199+
to: log.responseElementsXAmzExpiration
200+
201+
- rename:
202+
from:
203+
- log.responseElements.x-amz-server-side-encryption
204+
to: log.responseElementsXAmzServerSideEncryption
205+
206+
- rename:
207+
from:
208+
- log.responseElements.assumedRoleUser
209+
to: log.responseElementsAssumedRoleUser
210+
211+
- rename:
212+
from:
213+
- log.responseElements.credentials
214+
to: log.responseElementsCredentials
215+
216+
- rename:
217+
from:
218+
- log.tlsDetails.cipherSuite
219+
to: log.tlsDetailsCipherSuite
220+
221+
- rename:
222+
from:
223+
- log.tlsDetails.clientProvidedHostHeader
224+
to: log.tlsDetailsClientProvidedHostHeader
225+
226+
- rename:
227+
from:
228+
- log.tlsDetails.tlsVersion
229+
to: log.tlsDetailsTlsVersion
230+
231+
- delete:
232+
fields:
233+
- log.requestParameters
234+
- log.responseElements
235+
- log.userIdentity
236+
- log.additionalEventData'
237+
WHERE id=1529
238+
239+
]]>
240+
</sql>
241+
</changeSet>
242+
243+
</databaseChangeLog>

backend/src/main/resources/config/liquibase/master.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,5 +291,9 @@
291291

292292
<include file="/config/liquibase/changelog/20251223003_update_filter_wineventlog.xml" relativeToChangelogFile="false"/>
293293

294+
<include file="/config/liquibase/changelog/20260107001_add_log_group_name_aws_integration.xml" relativeToChangelogFile="false"/>
295+
296+
<include file="/config/liquibase/changelog/20260107002_update_filter_aws_integration.xml" relativeToChangelogFile="false"/>
297+
294298

295299
</databaseChangeLog>

0 commit comments

Comments
 (0)