1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
"command_options": "-f value",
"tests_group": {
"main": [
{
"auth_name": "admin",
"description": "Change user to admin (just in case...)"
},
{
"name": "list_intraextension",
"command": "intraextension list",
"result": "(?P<uuid_root>\\w+)\\s+policy_root",
"description": "Check the existence of the root intra extension",
"command_options": "-c id -c name -f value"
},
{
"name": "select root ie",
"command": "intraextension select $uuid_root",
"result": "Select $uuid_root IntraExtension.",
"description": "Select the root intra extension to work with",
"command_options": ""
},
{
"name": "check_admin_user",
"command": "subject list",
"result": "admin",
"description": "Check that admin user was added"
},
{
"name": "check_submetarule",
"command": "submetarule show",
"result": "(?P<uuid_submetarule>\\w+)\\s+rbac_rule",
"description": "Check that submetarule was added"
},
{
"name": "check_rule",
"command": "rule list $uuid_submetarule",
"result": "root_role",
"description": "Check that rules were added"
}
]
}
}
|