Listing all networks of an organisation¶
Note
The attributes pps_limit_percentage and bw_limit_percentage are only present if percentage thresholds are enabled for the organisation.
Sends a GET request to the endpoint /organisations/{organisation}/networks.
Description¶
The List-Organisation-Networks request returns a paginated list of all networks of a specified organisation.
Requirements¶
Values of the request: Organisation ID {organisation}
Objects: none
Request¶
To request a list of all networks of an organisation, add the Organisation ID {organisation} to the path of the request.
As a result, the user gets one or more objects NetworkVO with the requested information.
The object provides the following information:
| Attributes | Description | Values |
|---|---|---|
id |
The ID of the network. | string |
organisation |
The associated organisation, referenced by ID and name. | object |
name |
The name of the network. | string |
cidr |
The CIDR range of the network. | string |
enabled |
Shows whether automatic mitigation is enabled. |
|
data_only (if available) |
Shows whether the network is monitored only, that is, it is visible in the dashboard but cannot be mitigated. |
|
mitigation_type |
The mitigation type of the network. |
|
auto_mitigation_strategy |
The automatic mitigation strategy of the network. | string |
duration |
The duration of the automatic mitigation. | integer |
subnet_mitigation_override (if subnet override enabled) |
The mitigation override for the subnet. |
|
pps_limit |
The configured limit for packets per second. | integer |
bw_limit |
The configured bandwidth limit. | integer |
pps_limit_percentage (if percentage thresholds enabled) |
The limit for packets per second as a percentage. | integer |
bw_limit_percentage (if percentage thresholds enabled) |
The bandwidth limit as a percentage. | integer |
autoStatus |
Shows whether the network is currently under automatic mitigation. |
|
manualStatus |
Shows whether the network is currently under manual mitigation. |
|
active_partial_manual_mitigations |
The active partial manual mitigations. | array |
active_partial_auto_mitigations |
The active partial automatic mitigations. | array |
allow_manual_mitigation |
Shows whether manual mitigations may be started for the network. |
|
extra |
Additional custom fields defined for the organisation. | object |
Example¶
Example response:
{
"data": [
{
"id": "xY9pQ5wR1",
"organisation": {
"id": "aB3cD4eF5",
"name": "ACME GmbH"
},
"name": "Customer-A-Prod",
"cidr": "192.0.2.0/24",
"enabled": true,
"data_only": false,
"mitigation_type": "ACTION_BLACKHOLE",
"auto_mitigation_strategy": "IP",
"duration": 0,
"subnet_mitigation_override": false,
"pps_limit": 0,
"bw_limit": 0,
"pps_limit_percentage": 0,
"bw_limit_percentage": 0,
"autoStatus": true,
"manualStatus": true,
"active_partial_manual_mitigations": [
{}
],
"active_partial_auto_mitigations": [
{}
],
"allow_manual_mitigation": true,
"extra": {}
}
],
"links": {
"first": "https://datahub-api.com/api/networks?page=1",
"last": "https://datahub-api.com/api/networks?page=5",
"prev": null,
"next": "https://datahub-api.com/api/networks?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 5,
"links": [
{
"url": "https://datahub-api.com/api/networks?page=2",
"label": "Next »",
"active": false
}
],
"path": "https://datahub-api.com/api/networks",
"per_page": 15,
"to": 15,
"total": 64
}
}
Responses¶
The following responses are available:
| STATUS CODE | DESCRIPTION |
|---|---|
| 200 | The request has succeeded. |
| 401 | The request has not succeeded because the user authentication was incorrect. |
| 403 | The request has not succeeded because the user does not have the right permissions. |