-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathcloud_network_monitoring.feature
More file actions
50 lines (44 loc) · 2.06 KB
/
Copy pathcloud_network_monitoring.feature
File metadata and controls
50 lines (44 loc) · 2.06 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
@endpoint(cloud-network-monitoring) @endpoint(cloud-network-monitoring-v2)
Feature: Cloud Network Monitoring
The Cloud Network Monitoring API allows you to fetch aggregated
connections and DNS traffic with their attributes. See the [Cloud Network
Monitoring page](https://docs.datadoghq.com/network_monitoring/cloud_netwo
rk_monitoring/) and [DNS Monitoring
page](https://docs.datadoghq.com/network_monitoring/dns/) for more
information.
Background:
Given a valid "apiKeyAuth" key in the system
And a valid "appKeyAuth" key in the system
And an instance of "CloudNetworkMonitoring" API
@team:Datadog/networks
Scenario: Get aggregated connections returns "OK" response
Given operation "GetAggregatedConnections" enabled
And new "GetAggregatedConnections" request
When the request is sent
Then the response status is 200 OK
@team:Datadog/networks
Scenario: Get all aggregated DNS traffic returns "Bad Request" response
Given operation "GetAggregatedDns" enabled
And new "GetAggregatedDns" request
And request contains "group_by" parameter with value "server_ungrouped,server_service"
When the request is sent
Then the response status is 400 Bad Request
@team:Datadog/networks
Scenario: Get all aggregated DNS traffic returns "OK" response
Given operation "GetAggregatedDns" enabled
And new "GetAggregatedDns" request
When the request is sent
Then the response status is 200 OK
@skip-python @skip-ruby @team:Datadog/networks
Scenario: Get all aggregated connections returns "Bad Request" response
Given operation "GetAggregatedConnections" enabled
And new "GetAggregatedConnections" request
And request contains "limit" parameter with value 8000
When the request is sent
Then the response status is 400 Bad Request
@generated @skip @team:Datadog/networks
Scenario: Get all aggregated connections returns "OK" response
Given operation "GetAggregatedConnections" enabled
And new "GetAggregatedConnections" request
When the request is sent
Then the response status is 200 OK