Skip to content

Commit a3a31df

Browse files
committed
Update rule.ts and tests
1 parent 58e1aa8 commit a3a31df

File tree

2 files changed

+18
-23
lines changed
  • x-pack/plugins/siem
    • cypress/objects
    • server/lib/detection_engine/rules/prepackaged_rules

2 files changed

+18
-23
lines changed

x-pack/plugins/siem/cypress/objects/rule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
export const totalNumberOfPrebuiltRules = 130;
7+
export const totalNumberOfPrebuiltRules = 127;
88

99
interface Mitre {
1010
tactic: string;

x-pack/plugins/siem/server/lib/detection_engine/rules/prepackaged_rules/index.ts

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -118,25 +118,23 @@ import rule108 from './windows_execution_msbuild_started_renamed.json';
118118
import rule109 from './windows_execution_msbuild_started_unusal_process.json';
119119
import rule110 from './windows_execution_via_compiled_html_file.json';
120120
import rule111 from './windows_execution_via_net_com_assemblies.json';
121-
import rule112 from './windows_execution_via_regsvr32.json';
122-
import rule113 from './windows_execution_via_trusted_developer_utilities.json';
123-
import rule114 from './windows_html_help_executable_program_connecting_to_the_internet.json';
124-
import rule115 from './windows_injection_msbuild.json';
125-
import rule116 from './windows_misc_lolbin_connecting_to_the_internet.json';
126-
import rule117 from './windows_modification_of_boot_config.json';
127-
import rule118 from './windows_msxsl_network.json';
128-
import rule119 from './windows_net_command_system_account.json';
129-
import rule120 from './windows_persistence_via_application_shimming.json';
130-
import rule121 from './windows_priv_escalation_via_accessibility_features.json';
131-
import rule122 from './windows_process_discovery_via_tasklist_command.json';
132-
import rule123 from './windows_rare_user_runas_event.json';
133-
import rule124 from './windows_rare_user_type10_remote_login.json';
134-
import rule125 from './windows_register_server_program_connecting_to_the_internet.json';
135-
import rule126 from './windows_signed_binary_proxy_execution.json';
136-
import rule127 from './windows_suspicious_pdf_reader.json';
137-
import rule128 from './windows_suspicious_process_started_by_a_script.json';
138-
import rule129 from './windows_uac_bypass_event_viewer.json';
139-
import rule130 from './windows_whoami_command_activity.json';
121+
import rule112 from './windows_execution_via_trusted_developer_utilities.json';
122+
import rule113 from './windows_html_help_executable_program_connecting_to_the_internet.json';
123+
import rule114 from './windows_injection_msbuild.json';
124+
import rule115 from './windows_misc_lolbin_connecting_to_the_internet.json';
125+
import rule116 from './windows_modification_of_boot_config.json';
126+
import rule117 from './windows_msxsl_network.json';
127+
import rule118 from './windows_net_command_system_account.json';
128+
import rule119 from './windows_persistence_via_application_shimming.json';
129+
import rule120 from './windows_priv_escalation_via_accessibility_features.json';
130+
import rule121 from './windows_process_discovery_via_tasklist_command.json';
131+
import rule122 from './windows_rare_user_runas_event.json';
132+
import rule123 from './windows_rare_user_type10_remote_login.json';
133+
import rule124 from './windows_register_server_program_connecting_to_the_internet.json';
134+
import rule125 from './windows_suspicious_pdf_reader.json';
135+
import rule126 from './windows_uac_bypass_event_viewer.json';
136+
import rule127 from './windows_whoami_command_activity.json';
137+
140138
export const rawRules = [
141139
rule1,
142140
rule2,
@@ -265,7 +263,4 @@ export const rawRules = [
265263
rule125,
266264
rule126,
267265
rule127,
268-
rule128,
269-
rule129,
270-
rule130,
271266
];

0 commit comments

Comments
 (0)