Skip to content

Commit aea60bb

Browse files
committed
chore(cleanup): remove unused integrations (Redis, Nginx, PostgreSQL, Apache, MySQL, MongoDB, Elastic, Logstash, Kibana, Kafka, NATS, Traefik, Audit, HAP, IIS, OSQuery)
1 parent 3f3de42 commit aea60bb

17 files changed

Lines changed: 672 additions & 0 deletions
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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="20260218001" author="Manuel Abascal">
8+
9+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
10+
<![CDATA[
11+
-- Step 1: Remove menu permissions
12+
DELETE FROM utm_menu_authority WHERE menu_id = 221;
13+
14+
-- Step 2: Remove UI menu
15+
DELETE FROM utm_menu WHERE id = 221;
16+
17+
-- Step 3: Remove Elasticsearch index patterns
18+
DELETE FROM utm_index_pattern WHERE id = 27;
19+
20+
-- Step 4: Remove pipeline-filter relationships
21+
DELETE FROM utm_group_logstash_pipeline_filters WHERE pipeline_id = 14;
22+
23+
-- Step 5: Remove parsing rules
24+
DELETE FROM utm_logstash_filter WHERE id = 1401;
25+
26+
-- Step 6: Remove logstash pipeline
27+
DELETE FROM utm_logstash_pipeline WHERE id = 14;
28+
29+
-- Step 7: Remove module registration
30+
DELETE FROM utm_module WHERE id = 20;
31+
32+
-- Step 8: Remove data type registry
33+
DELETE FROM utm_data_types WHERE id = 14;
34+
]]>
35+
36+
DROP FUNCTION IF EXISTS register_integration_redis(integer);
37+
</sql>
38+
39+
</changeSet>
40+
</databaseChangeLog>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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="20260218002" author="Manuel Abascal">
8+
9+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
10+
<![CDATA[
11+
-- Step 1: Remove menu permissions
12+
DELETE FROM utm_menu_authority WHERE menu_id = 248;
13+
14+
-- Step 2: Remove UI menu
15+
DELETE FROM utm_menu WHERE id = 248;
16+
17+
-- Step 3: Remove Elasticsearch index patterns
18+
DELETE FROM utm_index_pattern WHERE id = 30;
19+
20+
-- Step 4: Remove pipeline-filter relationships
21+
DELETE FROM utm_group_logstash_pipeline_filters WHERE pipeline_id = 11;
22+
23+
-- Step 5: Remove parsing rules
24+
DELETE FROM utm_logstash_filter WHERE id = 1404;
25+
26+
-- Step 6: Remove logstash pipeline
27+
DELETE FROM utm_logstash_pipeline WHERE id = 11;
28+
29+
-- Step 7: Remove module registration
30+
DELETE FROM utm_module WHERE id = 17;
31+
32+
-- Step 8: Remove data type registry
33+
DELETE FROM utm_data_types WHERE id = 17;
34+
]]>
35+
36+
DROP FUNCTION IF EXISTS register_integration_nginx(integer);
37+
</sql>
38+
39+
</changeSet>
40+
</databaseChangeLog>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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="20260218003" author="Manuel Abascal">
8+
9+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
10+
<![CDATA[
11+
-- Step 1: Remove menu permissions
12+
DELETE FROM utm_menu_authority WHERE menu_id = 222;
13+
14+
-- Step 2: Remove UI menu
15+
DELETE FROM utm_menu WHERE id = 222;
16+
17+
-- Step 3: Remove Elasticsearch index patterns
18+
DELETE FROM utm_index_pattern WHERE id = 28;
19+
20+
-- Step 4: Remove pipeline-filter relationships
21+
DELETE FROM utm_group_logstash_pipeline_filters WHERE pipeline_id = 13;
22+
23+
-- Step 5: Remove parsing rules
24+
DELETE FROM utm_logstash_filter WHERE id = 1402;
25+
26+
-- Step 6: Remove logstash pipeline
27+
DELETE FROM utm_logstash_pipeline WHERE id = 13;
28+
29+
-- Step 7: Remove module registration
30+
DELETE FROM utm_module WHERE id = 19;
31+
32+
-- Step 8: Remove data type registry
33+
DELETE FROM utm_data_types WHERE id = 15;
34+
]]>
35+
36+
DROP FUNCTION IF EXISTS register_integration_postgresql(integer);
37+
</sql>
38+
39+
</changeSet>
40+
</databaseChangeLog>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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="20260218004" author="Manuel Abascal">
8+
9+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
10+
<![CDATA[
11+
-- Step 1: Remove menu permissions
12+
DELETE FROM utm_menu_authority WHERE menu_id = 231;
13+
14+
-- Step 2: Remove UI menu
15+
DELETE FROM utm_menu WHERE id = 231;
16+
17+
-- Step 3: Remove Elasticsearch index patterns
18+
DELETE FROM utm_index_pattern WHERE id = 38;
19+
20+
-- Step 4: Remove pipeline-filter relationships
21+
DELETE FROM utm_group_logstash_pipeline_filters WHERE pipeline_id = 2;
22+
23+
-- Step 5: Remove parsing rules
24+
DELETE FROM utm_logstash_filter WHERE id = 1412;
25+
26+
-- Step 6: Remove logstash pipeline
27+
DELETE FROM utm_logstash_pipeline WHERE id = 2;
28+
29+
-- Step 7: Remove module registration
30+
DELETE FROM utm_module WHERE id = 7;
31+
32+
-- Step 8: Remove data type registry
33+
DELETE FROM utm_data_types WHERE id = 25;
34+
]]>
35+
36+
DROP FUNCTION IF EXISTS register_integration_apache(integer);
37+
</sql>
38+
39+
</changeSet>
40+
</databaseChangeLog>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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="20260218005" author="Manuel Abascal">
8+
9+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
10+
<![CDATA[
11+
-- Step 1: Remove menu permissions
12+
DELETE FROM utm_menu_authority WHERE menu_id = 224;
13+
14+
-- Step 2: Remove UI menu
15+
DELETE FROM utm_menu WHERE id = 224;
16+
17+
-- Step 3: Remove Elasticsearch index patterns
18+
DELETE FROM utm_index_pattern WHERE id = 31;
19+
20+
-- Step 4: Remove pipeline-filter relationships
21+
DELETE FROM utm_group_logstash_pipeline_filters WHERE pipeline_id = 10;
22+
23+
-- Step 5: Remove parsing rules
24+
DELETE FROM utm_logstash_filter WHERE id = 1405;
25+
26+
-- Step 6: Remove logstash pipeline
27+
DELETE FROM utm_logstash_pipeline WHERE id = 10;
28+
29+
-- Step 7: Remove module registration
30+
DELETE FROM utm_module WHERE id = 15;
31+
32+
-- Step 8: Remove data type registry
33+
DELETE FROM utm_data_types WHERE id = 18;
34+
]]>
35+
36+
DROP FUNCTION IF EXISTS register_integration_mysql(integer);
37+
</sql>
38+
39+
</changeSet>
40+
</databaseChangeLog>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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="20260218006" author="Manuel Abascal">
8+
9+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
10+
<![CDATA[
11+
-- Step 1: Remove menu permissions
12+
DELETE FROM utm_menu_authority WHERE menu_id = 225;
13+
14+
-- Step 2: Remove UI menu
15+
DELETE FROM utm_menu WHERE id = 225;
16+
17+
-- Step 3: Remove Elasticsearch index patterns
18+
DELETE FROM utm_index_pattern WHERE id = 32;
19+
20+
-- Step 4: Remove pipeline-filter relationships
21+
DELETE FROM utm_group_logstash_pipeline_filters WHERE pipeline_id = 9;
22+
23+
-- Step 5: Remove parsing rules
24+
DELETE FROM utm_logstash_filter WHERE id = 1406;
25+
26+
-- Step 6: Remove logstash pipeline
27+
DELETE FROM utm_logstash_pipeline WHERE id = 9;
28+
29+
-- Step 7: Remove module registration
30+
DELETE FROM utm_module WHERE id = 14;
31+
32+
-- Step 8: Remove data type registry
33+
DELETE FROM utm_data_types WHERE id = 19;
34+
]]>
35+
36+
DROP FUNCTION IF EXISTS register_integration_mongodb(integer);
37+
</sql>
38+
39+
</changeSet>
40+
</databaseChangeLog>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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="20260218007" author="Manuel Abascal">
8+
9+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
10+
<![CDATA[
11+
-- Step 1: Remove menu permissions
12+
DELETE FROM utm_menu_authority WHERE menu_id = 229;
13+
14+
-- Step 2: Remove UI menu
15+
DELETE FROM utm_menu WHERE id = 229;
16+
17+
-- Step 3: Remove Elasticsearch index patterns
18+
DELETE FROM utm_index_pattern WHERE id = 36;
19+
20+
-- Step 4: Remove pipeline-filter relationships
21+
DELETE FROM utm_group_logstash_pipeline_filters WHERE pipeline_id = 5;
22+
23+
-- Step 5: Remove parsing rules
24+
DELETE FROM utm_logstash_filter WHERE id = 1410;
25+
26+
-- Step 6: Remove logstash pipeline
27+
DELETE FROM utm_logstash_pipeline WHERE id = 5;
28+
29+
-- Step 7: Remove module registration
30+
DELETE FROM utm_module WHERE id = 9;
31+
32+
-- Step 8: Remove data type registry
33+
DELETE FROM utm_data_types WHERE id = 23;
34+
]]>
35+
36+
DROP FUNCTION IF EXISTS register_integration_elasticsearch(integer);
37+
</sql>
38+
39+
</changeSet>
40+
</databaseChangeLog>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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="20260218008" author="Manuel Abascal">
8+
9+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
10+
<![CDATA[
11+
-- Step 1: Remove menu permissions
12+
DELETE FROM utm_menu_authority WHERE menu_id = 226;
13+
14+
-- Step 2: Remove UI menu
15+
DELETE FROM utm_menu WHERE id = 226;
16+
17+
-- Step 3: Remove Elasticsearch index patterns
18+
DELETE FROM utm_index_pattern WHERE id = 33;
19+
20+
-- Step 4: Remove pipeline-filter relationships
21+
DELETE FROM utm_group_logstash_pipeline_filters WHERE pipeline_id = 8;
22+
23+
-- Step 5: Remove parsing rules
24+
DELETE FROM utm_logstash_filter WHERE id = 1407;
25+
26+
-- Step 6: Remove logstash pipeline
27+
DELETE FROM utm_logstash_pipeline WHERE id = 8;
28+
29+
-- Step 7: Remove module registration
30+
DELETE FROM utm_module WHERE id = 13;
31+
32+
-- Step 8: Remove data type registry
33+
DELETE FROM utm_data_types WHERE id = 20;
34+
]]>
35+
36+
DROP FUNCTION IF EXISTS register_integration_logstash(integer);
37+
</sql>
38+
39+
</changeSet>
40+
</databaseChangeLog>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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="20260218009" author="Manuel Abascal">
8+
9+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
10+
<![CDATA[
11+
-- Step 1: Remove menu permissions
12+
DELETE FROM utm_menu_authority WHERE menu_id = 227;
13+
14+
-- Step 2: Remove UI menu
15+
DELETE FROM utm_menu WHERE id = 227;
16+
17+
-- Step 3: Remove Elasticsearch index patterns
18+
DELETE FROM utm_index_pattern WHERE id = 34;
19+
20+
-- Step 4: Remove pipeline-filter relationships
21+
DELETE FROM utm_group_logstash_pipeline_filters WHERE pipeline_id = 7;
22+
23+
-- Step 5: Remove parsing rules
24+
DELETE FROM utm_logstash_filter WHERE id = 1408;
25+
26+
-- Step 6: Remove logstash pipeline
27+
DELETE FROM utm_logstash_pipeline WHERE id = 7;
28+
29+
-- Step 7: Remove module registration
30+
DELETE FROM utm_module WHERE id = 12;
31+
32+
-- Step 8: Remove data type registry
33+
DELETE FROM utm_data_types WHERE id = 21;
34+
]]>
35+
36+
DROP FUNCTION IF EXISTS register_integration_kibana(integer);
37+
</sql>
38+
39+
</changeSet>
40+
</databaseChangeLog>

0 commit comments

Comments
 (0)