Skip to content

Commit 7fa019a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e42eef4a of spec repo
1 parent c7e2d12 commit 7fa019a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-04-30 19:54:55.087333",
8-
"spec_repo_commit": "4f95b6c2"
7+
"regenerated": "2025-05-01 15:37:40.949817",
8+
"spec_repo_commit": "e42eef4a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-30 19:54:55.104224",
13-
"spec_repo_commit": "4f95b6c2"
12+
"regenerated": "2025-05-01 15:37:40.965447",
13+
"spec_repo_commit": "e42eef4a"
1414
}
1515
}
1616
}

examples/v2/security-monitoring/CreateCustomFramework.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
type: DatadogAPIClient::V2::CustomFrameworkType::CUSTOM_FRAMEWORK,
99
attributes: DatadogAPIClient::V2::CustomFrameworkDataAttributes.new({
1010
name: "name",
11-
handle: "create-framework-new",
11+
handle: "",
1212
version: "10",
1313
icon_url: "test-url",
1414
requirements: [

features/v2/given.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"parameters": [
113113
{
114114
"name": "body",
115-
"value": "{\n \"data\": {\n \"type\":\"custom_framework\",\n \"attributes\":{\n \"name\":\"name\",\n \"handle\":\"create-framework-new\",\n \"version\":\"10\",\n \"icon_url\":\"test-url\",\n \"requirements\":[{\n \"name\":\"requirement\",\n \"controls\":[{\n \"name\":\"control\",\n \"rules_id\":\n [\"def-000-be9\"]\n }]\n }]\n }\n }\n}"
115+
"value": "{\n \"data\": {\n \"type\":\"custom_framework\",\n \"attributes\":{\n \"name\":\"name\",\n \"handle\":\"{{ unique_by_test }}\",\n \"version\":\"10\",\n \"icon_url\":\"test-url\",\n \"requirements\":[{\n \"name\":\"requirement\",\n \"controls\":[{\n \"name\":\"control\",\n \"rules_id\":\n [\"def-000-be9\"]\n }]\n }]\n }\n }\n}"
116116
}
117117
],
118118
"step": "there is a valid \"custom_framework\" in the system",

features/v2/security_monitoring.feature

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,14 @@ Feature: Security Monitoring
182182
Scenario: Create a custom framework returns "Conflict" response
183183
Given there is a valid "custom_framework" in the system
184184
And new "CreateCustomFramework" request
185-
And body with value {"data":{"type":"custom_framework","attributes":{"name":"name","handle":"create-framework-new","version":"10","icon_url":"test-url","requirements":[{"name":"requirement","controls":[{"name":"control","rules_id":["def-000-be9"]}]}]}}}
185+
And body with value {"data":{"type":"custom_framework","attributes":{"name":"name","handle":"{{ unique_by_test }}","version":"10","icon_url":"test-url","requirements":[{"name":"requirement","controls":[{"name":"control","rules_id":["def-000-be9"]}]}]}}}
186186
When the request is sent
187187
Then the response status is 409 Conflict
188188

189189
@team:DataDog/k9-cloud-security-platform
190190
Scenario: Create a custom framework returns "OK" response
191191
Given new "CreateCustomFramework" request
192-
And body with value {"data":{"type":"custom_framework","attributes":{"name":"name","handle":"create-framework-new","version":"10","icon_url":"test-url","requirements":[{"name":"requirement","controls":[{"name":"control","rules_id":["def-000-be9"]}]}]}}}
192+
And body with value {"data":{"type":"custom_framework","attributes":{"name":"name","handle":"{{ unique_by_test }}","version":"10","icon_url":"test-url","requirements":[{"name":"requirement","controls":[{"name":"control","rules_id":["def-000-be9"]}]}]}}}
193193
When the request is sent
194194
Then the response status is 200 OK
195195

0 commit comments

Comments
 (0)