-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
Description
Original comment by @ywelsch:
The tests in SmokeTestWatcherWithSecurityIT have been failing daily for the last few weeks.
-
testSearchInputWithInsufficientPrivileges:
LINK REDACTED -
testIndexActionHasPermissions:
LINK REDACTED
Output:
12:09:37 [2018-03-14T12:08:40,747][ERROR][o.e.x.w.a.i.IndexActionFactory] [node-0] failed to execute action [my_watch/index]
12:09:37 org.elasticsearch.ElasticsearchSecurityException: action [indices:data/write/bulk[s]] is unauthorized for user [watcher_manager]
12:09:37 at org.elasticsearch.xpack.core.security.support.Exceptions.authorizationError(Exceptions.java:42) ~[?:?]
12:09:37 at org.elasticsearch.xpack.security.authz.AuthorizationService.denialException(AuthorizationService.java:595) ~[?:?]
12:09:37 at org.elasticsearch.xpack.security.authz.AuthorizationService.denial(AuthorizationService.java:565) ~[?:?]
12:09:37 at org.elasticsearch.xpack.security.authz.AuthorizationService.authorize(AuthorizationService.java:310) ~[?:?]
12:09:37 at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$authorizeRequest$4(SecurityActionFilter.java:176) ~[?:?]
12:09:37 at org.elasticsearch.xpack.security.authz.AuthorizationUtils$AsyncAuthorizer.maybeRun(AuthorizationUtils.java:185) ~[?:?]
12:09:37 at org.elasticsearch.xpack.security.authz.AuthorizationUtils$AsyncAuthorizer.setRunAsRoles(AuthorizationUtils.java:179) ~[?:?]
12:09:37 at org.elasticsearch.xpack.security.authz.AuthorizationUtils$AsyncAuthorizer.authorize(AuthorizationUtils.java:167) ~[?:?]
....