-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprofileType_schema.json
119 lines (85 loc) · 2.6 KB
/
profileType_schema.json
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"title": "user_profile_type",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Document name, same as title"
},
"user_token": {
"type": "string",
"description": "Authentication token"
},
"profile_type": {
"type": "string",
"description": "Field to indicate the profile_type, app-driven (AD) or policy-driven (PD)"
},
"PSASet": {
"type": "array",
"description": "Array of objects; each item represents a PSA",
"items": {
"type": "object",
"description": "This object is an array including all the security service enforced by the PSA",
"properties": {
"id": {
"type": "string",
"description": "id of the PSA"
},
"security_controls": {
"type": "array",
"description": "This array includes all the security services which the PSA enforces; it is a vertex list for the complex PSA internal graph",
"items": {
"type": "object",
"description": "Each object is a simple PSA (a security control), including its configuration URI specific for the user",
"properties": {
"imgName": {
"type": "string",
"description": "PSA repo name"
},
"conf_id": {
"type": "string",
"description": "URI to user's PSA configuration file in the repo"
}
},
"required": ["imgName", "conf"]
}
},
"set_ingress_flow": {
"type": "array",
"description": "Adjancency list of inteconnected security controls enforced by the PSA; ingress traffic flow",
"items": {
"type": "integer",
"description": "Edge's list for the PSA's security controls graph"
}
},
"set_egress_flow": {
"type": "array",
"description": "Adjancency list of inteconnected security controls enforced by the PSA; egress traffic flow",
"items": {
"type": "integer",
"description": "Edge's list for the PSA's security controls graph"
}
}
},
"required": ["name", "security_controls"]
}
},
"ingress_flow": {
"type": "array",
"description": "Adjancency list of inteconnected PSAs; ingress traffic flow",
"items": {
"type": "string",
"description": "Edge's list for the PSA's service graph"
}
},
"egress_flow": {
"type": "array",
"description": "Adjancency list of inteconnected PSAs; egress traffic flow",
"items": {
"type": "string",
"description": "Edge's list for the PSA's service graph"
}
}
},
"required": ["name", "user_id", "user_token", "profile_type", "PSASet"]
}