Skip to content

Commit

Permalink
Enable prebuiltRulesFromSavedObjects with extra rules in fleet
Browse files Browse the repository at this point in the history
  • Loading branch information
rw-access committed Jul 20, 2021
1 parent 035e116 commit 327abcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const createMockConfig = (): ConfigType => ({
packagerTaskInterval: '60s',
alertMergeStrategy: 'missingFields',
prebuiltRulesFromFileSystem: true,
prebuiltRulesFromSavedObjects: false,
prebuiltRulesFromSavedObjects: true,
});

export const mockGetCurrentUser = {
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/security_solution_cypress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
`--elasticsearch.ssl.certificateAuthorities=${CA_CERT_PATH}`,
// retrieve rules from the filesystem but not from fleet for Cypress tests
'--xpack.securitySolution.prebuiltRulesFromFileSystem=true',
'--xpack.securitySolution.prebuiltRulesFromSavedObjects=false',
'--xpack.securitySolution.prebuiltRulesFromSavedObjects=true',
],
},
};
Expand Down

0 comments on commit 327abcb

Please sign in to comment.