File tree Expand file tree Collapse file tree
java/com/park/utmstack/domain/application_modules
resources/config/liquibase Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,5 +65,6 @@ public enum ModuleName {
6565 PFSENSE ,
6666 ORACLE ,
6767 SURICATA ,
68- UTMSTACK
68+ UTMSTACK ,
69+ CROWDSTRIKE
6970}
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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+
294296
295297</databaseChangeLog >
You can’t perform that action at this time.
0 commit comments