Fix broken SQL security test
Used the wrong user. Original commit: elastic/x-pack-elasticsearch@334955fbfa
This commit is contained in:
parent
33f4a8317c
commit
2b2bf89fb1
|
@ -252,11 +252,11 @@ public class JdbcSecurityIT extends SqlSecurityTestCase {
|
|||
|
||||
expectActionMatchesAdmin(
|
||||
con -> con.getMetaData().getColumns("%", "%", "not_created", "%"),
|
||||
"read_bort",
|
||||
"wrong_access",
|
||||
con -> con.getMetaData().getColumns("%", "%", "test", "%"));
|
||||
new AuditLogAsserter()
|
||||
.expect(true, SQL_INDICES_ACTION_NAME, "test_admin", contains("*", "-*"))
|
||||
.expect(true, SQL_INDICES_ACTION_NAME, "read_bort", contains("*", "-*"))
|
||||
.expect(true, SQL_INDICES_ACTION_NAME, "wrong_access", contains("*", "-*"))
|
||||
.assertLogs();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue