Skip to content

Commit 0b6aa20

Browse files
Add testcase to check for related_integrations based on index (#4096)
Removed changes from: - rules/windows/command_and_control_rdp_tunnel_plink.toml - rules/windows/command_and_control_screenconnect_childproc.toml - rules/windows/command_and_control_tunnel_vscode.toml - rules/windows/credential_access_cmdline_dump_tool.toml - rules/windows/credential_access_persistence_network_logon_provider_modification.toml - rules/windows/credential_access_saved_creds_vaultcmd.toml - rules/windows/credential_access_via_snapshot_lsass_clone_creation.toml - rules/windows/defense_evasion_defender_disabled_via_registry.toml - rules/windows/defense_evasion_from_unusual_directory.toml - rules/windows/defense_evasion_sip_provider_mod.toml - rules/windows/defense_evasion_suspicious_zoom_child_process.toml - rules/windows/defense_evasion_unusual_system_vp_child_program.toml - rules/windows/defense_evasion_via_filter_manager.toml - rules/windows/execution_com_object_xwizard.toml - rules/windows/execution_suspicious_pdf_reader.toml - rules/windows/execution_via_mmc_console_file_unusual_path.toml - rules/windows/impact_volume_shadow_copy_deletion_via_wmic.toml - rules/windows/lateral_movement_execution_from_tsclient_mup.toml - rules/windows/lateral_movement_unusual_dns_service_children.toml - rules/windows/persistence_registry_uncommon.toml - rules/windows/persistence_via_update_orchestrator_service_hijack.toml - rules/windows/privilege_escalation_dns_serverlevelplugindll.toml - rules/windows/privilege_escalation_msi_repair_via_mshelp_link.toml - rules/windows/privilege_escalation_printspooler_registry_copyfiles.toml (selectively cherry picked from commit 275c728)
1 parent 8ae1e03 commit 0b6aa20

30 files changed

+90
-67
lines changed

detection_rules/schemas/definitions.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,3 +247,11 @@ def validator(value):
247247
'geo_point', 'geo_shape', 'point', 'shape',
248248
'percolator'
249249
]
250+
251+
# definitions for the integration to index mapping unit test case
252+
IGNORE_IDS = ["eb079c62-4481-4d6e-9643-3ca499df7aaa", "699e9fdb-b77c-4c01-995c-1c15019b9c43",
253+
"0c9a14d9-d65d-486f-9b5b-91e4e6b22bd0", "a198fbbd-9413-45ec-a269-47ae4ccf59ce",
254+
"0c41e478-5263-4c69-8f9e-7dfd2c22da64", "aab184d3-72b3-4639-b242-6597c99d8bca",
255+
"a61809f3-fb5b-465c-8bff-23a8a068ac60", "f3e22c8b-ea47-45d1-b502-b57b6de950b3"]
256+
IGNORE_INDICES = ['.alerts-security.*', 'logs-*', 'metrics-*', 'traces-*', 'endgame-*',
257+
'filebeat-*', 'packetbeat-*', 'auditbeat-*', 'winlogbeat-*']

rules/cross-platform/execution_aws_ssm_sendcommand_with_command_parameters.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2022/09/03"
3-
integration = ["endpoint"]
3+
integration = ["endpoint", "auditd_manager"]
44
maturity = "production"
5-
updated_date = "2024/09/10"
5+
updated_date = "2024/09/23"
66

77
[rule]
88
author = ["Elastic"]

rules/windows/command_and_control_new_terms_commonly_abused_rat_execution.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2023/04/03"
3-
integration = ["endpoint", "windows"]
3+
integration = ["endpoint", "windows", "system"]
44
maturity = "production"
5-
updated_date = "2024/08/07"
5+
updated_date = "2024/09/23"
66

77
[rule]
88
author = ["Elastic"]

rules/windows/credential_access_dcsync_newterm_subjectuser.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2022/12/19"
3-
integration = ["windows"]
3+
integration = ["windows", "system"]
44
maturity = "production"
5-
updated_date = "2024/08/07"
5+
updated_date = "2024/09/23"
66

77
[rule]
88
author = ["Elastic"]

rules/windows/defense_evasion_cve_2020_0601.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2020/03/19"
3-
integration = ["windows"]
3+
integration = ["windows", "system"]
44
maturity = "production"
5-
updated_date = "2024/08/07"
5+
updated_date = "2024/09/23"
66

77
[rule]
88
author = ["Elastic"]

rules/windows/impact_stop_process_service_threshold.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2020/12/03"
3-
integration = ["endpoint", "windows"]
3+
integration = ["endpoint", "windows", "system"]
44
maturity = "production"
5-
updated_date = "2024/08/07"
5+
updated_date = "2024/09/23"
66

77
[rule]
88
author = ["Elastic"]

rules_building_block/collection_files_staged_in_recycle_bin_root.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2023/08/24"
3-
integration = ["endpoint"]
3+
integration = ["endpoint", "windows"]
44
maturity = "production"
5-
updated_date = "2024/08/07"
5+
updated_date = "2024/09/23"
66

77
[rule]
88
author = ["Elastic"]

rules_building_block/collection_outlook_email_archive.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2023/08/21"
3-
integration = ["endpoint"]
3+
integration = ["endpoint", "windows", "system"]
44
maturity = "production"
5-
updated_date = "2024/08/09"
5+
updated_date = "2024/09/23"
66

77
[rule]
88
author = ["Elastic"]

rules_building_block/command_and_control_bitsadmin_activity.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2023/08/21"
3-
integration = ["endpoint"]
3+
integration = ["endpoint", "windows", "system"]
44
maturity = "production"
5-
updated_date = "2024/08/09"
5+
updated_date = "2024/09/23"
66

77
[rule]
88
author = ["Elastic"]

rules_building_block/credential_access_win_private_key_access.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2023/08/21"
3-
integration = ["endpoint"]
3+
integration = ["endpoint", "windows", "system"]
44
maturity = "production"
5-
updated_date = "2024/08/09"
5+
updated_date = "2024/09/23"
66

77
[rule]
88
author = ["Elastic"]

0 commit comments

Comments
 (0)