-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathciscorouter_rtbh.json
More file actions
174 lines (174 loc) · 5 KB
/
ciscorouter_rtbh.json
File metadata and controls
174 lines (174 loc) · 5 KB
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"appid" : "95FD54D0-08D2-458D-9BE1-88EB716141E2",
"name" : "Cisco Router BGP RTBH",
"description" : "This app interfaces with Cisco IOS-XE devices to create a blackhole for configured IPs or networks in Cisco BGP networks; it supports containment actions like 'block ip', 'block network', correct actions like 'unblock ip', 'unblock network', and investigative actions like 'list blocked networks' on a Cisco CSR device. It uses the SSH interface to log on and perform its actions. The target host is required to have the SSH interface enabled and a user account configured for privilege access (15).",
"publisher": "World Wide Technology",
"package_name": "phantom_ciscorouter_rtbh-1.10",
"type": "firewall",
"license": "Copyright (c) World Wide Technology, Inc. 2016",
"main_module" : "ciscorouter_rtbh_connector.pyc",
"app_version": "1.10,
"utctime_updated": "2016-10-21T22:02:18.000000Z",
"product_vendor": "Cisco Systems",
"product_name": "Cisco IOS-XE",
"product_version_regex": ".*",
"min_phantom_version": "1.0.240",
"logo": "cisco.png",
"url": "https://github.com/taruch/phantom_cisco_csr_rtbh.git",
"configuration": {
"trigger_host": {
"description": "Device IP/Hostname",
"order": 0,
"data_type": "string",
"required": true
},
"ph": {
"data_type": "ph",
"order": 1
},
"username": {
"description": "User with access to the trigger node",
"data_type": "string",
"order": 2,
"required": true
},
"password": {
"description": "Password",
"data_type": "password",
"order": 3,
"required": true
},
"tag": {
"description": "Route Tag",
"data_type": "string",
"order": 4,
"required": false
},
"route_to_null": {
"description": "Null Route IP (x.x.x.x)",
"order": 5,
"data_type": "string",
"required": true
}
},
"actions": [
{
"action": "test connectivity",
"description": "Validate the asset configuration for connectivity",
"verbose": "This action logs into the Cisco router using a SSH call",
"type": "test",
"identifier": "test connectivity",
"read_only": true,
"parameters": {},
"output": [],
"versions": "EQ(*)"
},
{
"action": "list blocked networks",
"description": "Lists currently blocked networks",
"type": "investigate",
"identifier": "list_networks",
"read_only": true,
"parameters": {},
"render": {
"width": 12,
"title": "Static Routes",
"type": "table",
"height": 20
},
"output": [
{
"data_path": "action_result.data.*.blackholed-network",
"data_type": "string",
"column_name": "Blocked Network",
"column_order": 0
},
{
"data_path": "action_result.status",
"data_type": "string"
},
{
"data_path": "action_result.message",
"data_type": "string"
}
],
"versions": "EQ(*)"
},
{
"action": "block ip",
"description": "Blocks an IP",
"type": "contain",
"identifier": "block_ip",
"read_only": true,
"parameters": {
"destination_network": {
"contains": [ "ip" ],
"description": "IP to block (X.X.X.X)",
"data_type": "string",
"required": true
},
"name": {
"description": "Name route",
"data_type": "string",
"required": false
}
},
"output": [],
"versions": "EQ(*)"
},
{
"action": "unblock ip",
"description": "Unblocks an IP",
"type": "correct",
"identifier": "unblock_ip",
"read_only": true,
"parameters": {
"destination_network": {
"contains": [ "ip" ],
"description": "IP to unBlock (X.X.X.X)",
"data_type": "string",
"required": true
}
},
"output": [],
"versions": "EQ(*)"
},
{
"action": "block network",
"description": "Blocks an IP network",
"type": "contain",
"identifier": "block_network",
"read_only": true,
"parameters": {
"destination_network": {
"description": "IP/network to block (X.X.X.X/NM)",
"data_type": "string",
"required": true
},
"name": {
"description": "Name route",
"data_type": "string",
"required": false
}
},
"output": [],
"versions": "EQ(*)"
},
{
"action": "unblock network",
"description": "Unblocks an IP network",
"type": "correct",
"identifier": "unblock_network",
"read_only": true,
"parameters": {
"destination_network": {
"description": "IP/network to unBlock (X.X.X.X/NM)",
"data_type": "string",
"required": true
}
},
"output": [],
"versions": "EQ(*)"
}
]
}