-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Changes default role for serverless from admin to…
… platform_engineer (#183608) ## Summary Addresses: #184140 In this PR we are addressing the short-term solution of #184135 where we are moving from using for serverless `admin` role for MKI environments and `system_indices_superuser` for stateless environments to `platform_engineer`. To make the above change happen, some adjustments have been introduced to make the tests work: ### Rename of custom indexes The `admin` or `system_indices_superuser` has access to any index on the system, but built-in roles in security serverless projects just have access to some or all the security default indexes, so they cannot access custom indexes. To make the tests work with the `platform_engineer` all the custom indexes that we use for testing purposes have been renamed to match ours. ### `waitForTheRuleToBeExecuted` removed from some tests `waitForTheRuleToBeExecuted` waits for the rule status to be `succeeded` but the `platform_engineer` does not have access to all the indexes, so instead the final status result will be `warning` so this method will timeout. Originally that method was created in order to make sure that some alerts are going to be displayed but, after it, we are calling `waitForAlertsToPopulate` that makes sure that we have alerts. ### Some tests have been skipped from serverless executions - Entity analytics tests exercising the legacy risk score have been removed from serverless executions, since it is not used on serverless projects. - Maintenance window callout test has been skipped in serverless due to the following reason: #184160 - One of the users tabs test has been skipped as well due to the following reason: #184201 --------- Co-authored-by: Devin Hurley <[email protected]> Co-authored-by: Georgii Gorbachev <[email protected]>
- Loading branch information
1 parent
9528a22
commit 9d84341
Showing
37 changed files
with
245 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
x-pack/test/functional/es_archives/security_solution/no_at_timestamp_field/mappings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.