From b95cbeb00c5d4552827928e64775b15deec8642c Mon Sep 17 00:00:00 2001 From: Madison Caldwell Date: Fri, 14 Jan 2022 20:17:14 -0500 Subject: [PATCH] Add back severity and riskScore assertions for EQL alerts (#122954) --- .../integration/detection_rules/event_correlation_rule.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugins/security_solution/cypress/integration/detection_rules/event_correlation_rule.spec.ts b/x-pack/plugins/security_solution/cypress/integration/detection_rules/event_correlation_rule.spec.ts index e1208c7c54a3b..d764a12f951d8 100644 --- a/x-pack/plugins/security_solution/cypress/integration/detection_rules/event_correlation_rule.spec.ts +++ b/x-pack/plugins/security_solution/cypress/integration/detection_rules/event_correlation_rule.spec.ts @@ -165,6 +165,8 @@ describe('Detection rules, EQL', () => { .invoke('text') .then((text) => { expect(text).contains(this.rule.name); + expect(text).contains(this.rule.severity.toLowerCase()); + expect(text).contains(this.rule.riskScore); }); }); });