blob: e72a5dadad231fb2a0cdc232465805610175e239 (
plain)
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
##############################################################################
# Copyright (c) 2018 Politecnico di Torino and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
#Tosca definitions for Verigraph extension in Tosca Yaml simple profile
tosca_definitions_version: http://docs.oasis-open.org/tosca/ns/simple/yaml/1.0
description: node type definitions exetending tosca types for support to Verigraph verification system
node_types:
verigraph.types.Antispam:
derived_from: tosca.nodes.Root
description: verigraph Antispam node
properties:
sources:
type: list
entry_schema:
type: string
verigraph.types.Cache:
derived_from: tosca.nodes.Root
description: verigraph Cache node
properties:
resources:
type: list
entry_schema:
type: string
verigraph.types.Dpi:
derived_from: tosca.nodes.Root
description: verigraph Dpi node
properties:
notAllowedList:
type: list
entry_schema:
type: string
verigraph.types.Endhost:
derived_from: tosca.nodes.Root
description: verigraph endhost node
attributes:
body:
type: string
sequence:
type: integer
protocol:
type: string
constraints:
- valid_values: [ HTTP_REQUEST, HTTP_RESPONSE, POP3_REQUEST, POP3_RESOPONSE ]
email_from:
type: string
url:
type: string
options:
type: string
destination:
type: string
verigraph.types.Endpoint:
derived_from: tosca.nodes.Root
description: verigraph Endpoint node
properties:
names:
type: list
entry_schema:
type: string
verigraph.types.FieldModifier:
derived_from: tosca.nodes.Root
description: verigraph Field Modifier node
properties:
names:
type: list
entry_schema:
type: string
verigraph.types.Firewall:
derived_from: tosca.nodes.Root
description: verigraph Firewall node
properties:
elements:
type: map
entry_schema:
description: "source : destination" firewall mapping
type: string
verigraph.types.MailClient:
derived_from: tosca.nodes.Root
description: verigraph Mail Client node
attributes:
mailserver:
type: string
verigraph.types.MailServer:
derived_from: tosca.nodes.Root
descrtiption: verigraph Mail Server node
properties:
names:
type: list
entry_schema:
type: string
verigraph.types.Nat:
derived_from: tosca.nodes.Root
descrtiption: verigraph Nat node
properties:
sources:
type: list
entry_schema:
type: string
verigraph.types.VpnAccess:
deriver_from: tosca.nodes.Root
descrtiption: verigraph Vpn Access node
attributes:
vpnexit:
type: string
verigraph.types.VpnExit:
derived_from: tosca.nodes.Root
descrtiption: verigraph Vpn Exit node
attributes:
vpnaccess:
type: string
verigraph.types.WebClient:
derived_from: tosca.nodes.Root
descrtiption: verigraph web Client node
attributes:
nameWebServer:
type: string
verigraph.types.WebServer:
derived_from: tosca.nodes.Root
descrtiption: verigraph web Server node
properties:
names:
type: list
entry_schema:
type: string
relationship_types:
verigraph.relationshipType.generic:
derived_from: tosca.relationships.Root
properties:
name:
type: string
source_id:
type: string
target_id:
type: string
|