Skip to content

Commit

Permalink
[Security Solution][Detections] fixes failing tests for 8.4 prebuilt …
Browse files Browse the repository at this point in the history
…rules update elastic#138794

- fixes the rest of tests for elastic#138574 PR
  • Loading branch information
vitaliidm authored Aug 15, 2022
1 parent 71c4e74 commit 167bb8e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1354,12 +1354,12 @@ export default ({ getService }: FtrProviderContext) => {
created_on: createdOn,
updated_on: updatedOn,
rule_id: ruleId,
rule_version: ruleVersion,
...omittedFields
} = foundRule;
expect(omittedFields).to.eql({
rule_name: 'Simple Rule Query',
rule_type: 'query',
rule_version: 3,
enabled: false,
elastic_rule: true,
alert_count_daily: 0,
Expand Down Expand Up @@ -1408,12 +1408,12 @@ export default ({ getService }: FtrProviderContext) => {
created_on: createdOn,
updated_on: updatedOn,
rule_id: ruleId,
rule_version: ruleVersion,
...omittedFields
} = foundRule;
expect(omittedFields).to.eql({
rule_name: 'Simple Rule Query',
rule_type: 'query',
rule_version: 3,
enabled: true,
elastic_rule: true,
alert_count_daily: 0,
Expand Down Expand Up @@ -1462,12 +1462,12 @@ export default ({ getService }: FtrProviderContext) => {
created_on: createdOn,
updated_on: updatedOn,
rule_id: ruleId,
rule_version: ruleVersion,
...omittedFields
} = foundRule;
expect(omittedFields).to.eql({
rule_name: 'Simple Rule Query',
rule_type: 'query',
rule_version: 3,
enabled: false,
elastic_rule: true,
alert_count_daily: 0,
Expand Down Expand Up @@ -1516,12 +1516,12 @@ export default ({ getService }: FtrProviderContext) => {
created_on: createdOn,
updated_on: updatedOn,
rule_id: ruleId,
rule_version: ruleVersion,
...omittedFields
} = foundRule;
expect(omittedFields).to.eql({
rule_name: 'Simple Rule Query',
rule_type: 'query',
rule_version: 3,
enabled: true,
elastic_rule: true,
alert_count_daily: 0,
Expand Down

0 comments on commit 167bb8e

Please sign in to comment.