-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add security API commands for aggregation view feature test
Signed-off-by: Ryan Liang <[email protected]>
- Loading branch information
Showing
16 changed files
with
265 additions
and
352 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...s/fixtures/plugins/security-dashboards-plugin/indexpatterns/indexPatternTenantHeader.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"securitytenant": ["test"] | ||
} |
24 changes: 24 additions & 0 deletions
24
cypress/fixtures/plugins/security-dashboards-plugin/roles/roleWithTest.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"cluster_permissions": [ | ||
"cluster_all" | ||
], | ||
"index_permissions": [{ | ||
"index_patterns": [ | ||
"*" | ||
], | ||
"dls": "", | ||
"fls": [], | ||
"masked_fields": [], | ||
"allowed_actions": [ | ||
"indices_all" | ||
] | ||
}], | ||
"tenant_permissions": [{ | ||
"tenant_patterns": [ | ||
"test" | ||
], | ||
"allowed_actions": [ | ||
"kibana_all_write" | ||
] | ||
}] | ||
} |
20 changes: 20 additions & 0 deletions
20
cypress/fixtures/plugins/security-dashboards-plugin/roles/roleWithoutTest.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"cluster_permissions": [ | ||
"cluster_all" | ||
], | ||
"index_permissions": [{ | ||
"index_patterns": [ | ||
"*" | ||
], | ||
"dls": "", | ||
"fls": [], | ||
"masked_fields": [], | ||
"allowed_actions": [ | ||
"indices_all" | ||
] | ||
}], | ||
"tenant_permissions": [{ | ||
"tenant_patterns": [], | ||
"allowed_actions": [] | ||
}] | ||
} |
4 changes: 4 additions & 0 deletions
4
cypress/fixtures/plugins/security-dashboards-plugin/rolesmapping/kibanauserRoleMapping.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"backend_roles" : [ "kibanauser" ], | ||
"users" : [ "test1", "test2" ] | ||
} |
3 changes: 3 additions & 0 deletions
3
cypress/fixtures/plugins/security-dashboards-plugin/rolesmapping/roleWithTestMapping.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"users" : [ "test1" ] | ||
} |
3 changes: 3 additions & 0 deletions
3
cypress/fixtures/plugins/security-dashboards-plugin/rolesmapping/roleWithoutTestMapping.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"users" : [ "test2" ] | ||
} |
3 changes: 3 additions & 0 deletions
3
cypress/fixtures/plugins/security-dashboards-plugin/tenants/testTenant.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"description": "This test tenant for aggregation view feature testing." | ||
} |
3 changes: 3 additions & 0 deletions
3
cypress/fixtures/plugins/security-dashboards-plugin/users/testUser.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"password": "password" | ||
} |
Oops, something went wrong.