forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FTR] Cleaned up check for removed apm_user role (elastic#200679)
## Summary Cleaned up check for removed `apm_user` role, see elastic/elasticsearch#116712 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_node:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) __Closes: https://github.com/elastic/kibana/issues/200666__ --------- Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information
1 parent
abf7efe
commit 8c361a0
Showing
4 changed files
with
0 additions
and
42 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -469,16 +469,6 @@ export const createUsersAndRoles = async (es: Client, supertest: SuperTestAgent) | |
}, | ||
}); | ||
|
||
await es.security.putUser({ | ||
username: AUTHENTICATION.APM_USER.username, | ||
body: { | ||
password: AUTHENTICATION.APM_USER.password, | ||
roles: ['apm_user'], | ||
full_name: 'a apm user', | ||
email: '[email protected]', | ||
}, | ||
}); | ||
|
||
await es.security.putUser({ | ||
username: AUTHENTICATION.MACHINE_LEARING_ADMIN.username, | ||
body: { | ||
|
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