@@ -12,21 +12,21 @@ Feature: AWS Integration
12
12
@generated @skip
13
13
Scenario : Create an AWS integration returns "Bad Request" response
14
14
Given new "CreateAWSAccount" request
15
- And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
15
+ And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "cspm_resource_collection_enabled" : true, " excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "metrics_collection_enabled" : false, "resource_collection_enabled" : true , "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
16
16
When the request is sent
17
17
Then the response status is 400 Bad Request
18
18
19
19
@generated @skip
20
20
Scenario : Create an AWS integration returns "Conflict Error" response
21
21
Given new "CreateAWSAccount" request
22
- And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
22
+ And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "cspm_resource_collection_enabled" : true, " excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "metrics_collection_enabled" : false, "resource_collection_enabled" : true , "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
23
23
When the request is sent
24
24
Then the response status is 409 Conflict Error
25
25
26
26
@generated @skip
27
27
Scenario : Create an AWS integration returns "OK" response
28
28
Given new "CreateAWSAccount" request
29
- And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
29
+ And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "cspm_resource_collection_enabled" : true, " excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "metrics_collection_enabled" : false, "resource_collection_enabled" : true , "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
30
30
When the request is sent
31
31
Then the response status is 200 OK
32
32
@@ -68,14 +68,14 @@ Feature: AWS Integration
68
68
@generated @skip
69
69
Scenario : Generate a new external ID returns "Bad Request" response
70
70
Given new "CreateNewAWSExternalID" request
71
- And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
71
+ And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "cspm_resource_collection_enabled" : true, " excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "metrics_collection_enabled" : false, "resource_collection_enabled" : true , "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
72
72
When the request is sent
73
73
Then the response status is 400 Bad Request
74
74
75
75
@generated @skip
76
76
Scenario : Generate a new external ID returns "OK" response
77
77
Given new "CreateNewAWSExternalID" request
78
- And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
78
+ And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "cspm_resource_collection_enabled" : true, " excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "metrics_collection_enabled" : false, "resource_collection_enabled" : true , "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
79
79
When the request is sent
80
80
Then the response status is 200 OK
81
81
@@ -126,20 +126,20 @@ Feature: AWS Integration
126
126
@generated @skip
127
127
Scenario : Update an AWS integration returns "Bad Request" response
128
128
Given new "UpdateAWSAccount" request
129
- And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
129
+ And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "cspm_resource_collection_enabled" : true, " excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "metrics_collection_enabled" : false, "resource_collection_enabled" : true , "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
130
130
When the request is sent
131
131
Then the response status is 400 Bad Request
132
132
133
133
@generated @skip
134
134
Scenario : Update an AWS integration returns "Conflict Error" response
135
135
Given new "UpdateAWSAccount" request
136
- And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
136
+ And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "cspm_resource_collection_enabled" : true, " excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "metrics_collection_enabled" : false, "resource_collection_enabled" : true , "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
137
137
When the request is sent
138
138
Then the response status is 409 Conflict Error
139
139
140
140
@generated @skip
141
141
Scenario : Update an AWS integration returns "OK" response
142
142
Given new "UpdateAWSAccount" request
143
- And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
143
+ And body with value {"access_key_id" : null, "account_id" : "1234567" , "account_specific_namespace_rules" : {"auto_scaling" : false, "opswork" : false}, "cspm_resource_collection_enabled" : true, " excluded_regions" : ["us-east-1" , "us-west-2" ], "filter_tags" : ["<KEY>:<VALUE>" ], "host_tags" : ["<KEY>:<VALUE>" ], "metrics_collection_enabled" : false, "resource_collection_enabled" : true , "role_name" : "DatadogAWSIntegrationRole" , "secret_access_key" : null}
144
144
When the request is sent
145
145
Then the response status is 200 OK
0 commit comments