Skip to content

Commit dd93ef1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Mark hosts response version fields as nullable (#937)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 8903e20 commit dd93ef1

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2022-12-19 10:28:46.779843",
8-
"spec_repo_commit": "45a3d9c9"
7+
"regenerated": "2022-12-19 15:44:06.472004",
8+
"spec_repo_commit": "37d94b14"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-12-19 10:28:46.791723",
13-
"spec_repo_commit": "45a3d9c9"
12+
"regenerated": "2022-12-19 15:44:06.483320",
13+
"spec_repo_commit": "37d94b14"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3419,6 +3419,7 @@ components:
34193419
items:
34203420
description: The version name.
34213421
example: FreeBSD
3422+
nullable: true
34223423
type: string
34233424
type: array
34243425
gohai:
@@ -3434,6 +3435,7 @@ components:
34343435
items:
34353436
description: Version name.
34363437
example: Mac
3438+
nullable: true
34373439
type: string
34383440
type: array
34393441
machine:
@@ -3445,6 +3447,7 @@ components:
34453447
items:
34463448
description: Version name.
34473449
example: Ubuntu
3450+
nullable: true
34483451
type: string
34493452
type: array
34503453
platform:
@@ -3472,6 +3475,7 @@ components:
34723475
items:
34733476
description: Version name.
34743477
example: Windows
3478+
nullable: true
34753479
type: string
34763480
type: array
34773481
type: object

cassettes/v1/Hosts_3483037620/Get-all-hosts-with-metadata-deserializes-successfully_1831764847/recording.har

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"content": {
3838
"mimeType": "application/json",
3939
"size": 3089,
40-
"text": "{\"exact_total_matching\":true,\"total_returned\":1,\"host_list\":[{\"last_reported_time\":1640288946,\"name\":\"vagrant\",\"is_muted\":false,\"mute_timeout\":null,\"apps\":[\"ntp\",\"agent\"],\"tags_by_source\":{\"Datadog\":[\"host:vagrant\"]},\"up\":true,\"metrics\":{\"load\":0.031666666,\"iowait\":0.0434962,\"cpu\":0.6632819},\"sources\":[\"agent\"],\"meta\":{\"socket-hostname\":\"vagrant\",\"nixV\":[\"ubuntu\",\"18.04\",\"\"],\"pythonV\":\"3.8.11\",\"macV\":[\"\",\"\",\"\"],\"cpuCores\":1,\"agent_flavor\":\"agent\",\"platform\":\"linux\",\"timezones\":[\"UTC\"],\"winV\":[\"\",\"\",\"\"],\"machine\":\"amd64\",\"install_method\":{\"tool\":\"install_script\",\"installer_version\":\"install_script-1.7.1\",\"tool_version\":\"install_script\"},\"fbsdV\":[\"\",\"\",\"\"],\"gohai\":\"{\\\"cpu\\\":{\\\"cache_size\\\":\\\"8192 KB\\\",\\\"cpu_cores\\\":\\\"1\\\",\\\"cpu_logical_processors\\\":\\\"1\\\",\\\"family\\\":\\\"6\\\",\\\"mhz\\\":\\\"2711.998\\\",\\\"model\\\":\\\"142\\\",\\\"model_name\\\":\\\"Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz\\\",\\\"stepping\\\":\\\"10\\\",\\\"vendor_id\\\":\\\"GenuineIntel\\\"},\\\"filesystem\\\":[{\\\"kb_size\\\":\\\"3966892\\\",\\\"mounted_on\\\":\\\"/dev\\\",\\\"name\\\":\\\"udev\\\"},{\\\"kb_size\\\":\\\"797396\\\",\\\"mounted_on\\\":\\\"/run\\\",\\\"name\\\":\\\"tmpfs\\\"},{\\\"kb_size\\\":\\\"64800356\\\",\\\"mounted_on\\\":\\\"/\\\",\\\"name\\\":\\\"/dev/mapper/vagrant--vg-root\\\"},{\\\"kb_size\\\":\\\"3986968\\\",\\\"mounted_on\\\":\\\"/dev/shm\\\",\\\"name\\\":\\\"tmpfs\\\"},{\\\"kb_size\\\":\\\"5120\\\",\\\"mounted_on\\\":\\\"/run/lock\\\",\\\"name\\\":\\\"tmpfs\\\"},{\\\"kb_size\\\":\\\"3986968\\\",\\\"mounted_on\\\":\\\"/sys/fs/cgroup\\\",\\\"name\\\":\\\"tmpfs\\\"},{\\\"kb_size\\\":\\\"488245288\\\",\\\"mounted_on\\\":\\\"/vagrant\\\",\\\"name\\\":\\\"/vagrant\\\"},{\\\"kb_size\\\":\\\"797392\\\",\\\"mounted_on\\\":\\\"/run/user/1000\\\",\\\"name\\\":\\\"tmpfs\\\"}],\\\"memory\\\":{\\\"swap_total\\\":\\\"1003516kB\\\",\\\"total\\\":\\\"7973940kB\\\"},\\\"network\\\":{\\\"interfaces\\\":[{\\\"ipv4\\\":\\\"10.0.2.15\\\",\\\"ipv4-network\\\":\\\"10.0.2.0/24\\\",\\\"ipv6\\\":\\\"fe80::a00:27ff:fec2:be11\\\",\\\"ipv6-network\\\":\\\"fe80::/64\\\",\\\"macaddress\\\":\\\"08:00:27:c2:be:11\\\",\\\"name\\\":\\\"eth0\\\"},{\\\"ipv4\\\":\\\"192.168.122.1\\\",\\\"ipv4-network\\\":\\\"192.168.122.0/24\\\",\\\"macaddress\\\":\\\"52:54:00:6f:1c:bf\\\",\\\"name\\\":\\\"virbr0\\\"}],\\\"ipaddress\\\":\\\"10.0.2.15\\\",\\\"ipaddressv6\\\":\\\"fe80::a00:27ff:fec2:be11\\\",\\\"macaddress\\\":\\\"08:00:27:c2:be:11\\\"},\\\"platform\\\":{\\\"GOOARCH\\\":\\\"amd64\\\",\\\"GOOS\\\":\\\"linux\\\",\\\"goV\\\":\\\"1.16.7\\\",\\\"hardware_platform\\\":\\\"x86_64\\\",\\\"hostname\\\":\\\"vagrant\\\",\\\"kernel_name\\\":\\\"Linux\\\",\\\"kernel_release\\\":\\\"4.15.0-29-generic\\\",\\\"kernel_version\\\":\\\"#31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018\\\",\\\"machine\\\":\\\"x86_64\\\",\\\"os\\\":\\\"GNU/Linux\\\",\\\"processor\\\":\\\"x86_64\\\",\\\"pythonV\\\":\\\"2.7.15rc1\\\"}}\",\"network\":null,\"logs_agent\":{\"transport\":\"\"},\"host_id\":1036078308,\"agent_version\":\"7.32.3\",\"processor\":\"Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz\",\"socket-fqdn\":\"vagrant.vm.\",\"agent_checks\":[[\"ntp\",\"ntp\",\"ntp:d884b5186b651429\",\"OK\",\"\",\"\"]]},\"host_name\":\"vagrant\",\"id\":1036078308,\"aliases\":[\"vagrant\"]}],\"total_matching\":1}"
40+
"text": "{\"exact_total_matching\":true,\"total_returned\":1,\"host_list\":[{\"last_reported_time\":1640288946,\"name\":\"vagrant\",\"is_muted\":false,\"mute_timeout\":null,\"apps\":[\"ntp\",\"agent\"],\"tags_by_source\":{\"Datadog\":[\"host:vagrant\"]},\"up\":true,\"metrics\":{\"load\":0.031666666,\"iowait\":0.0434962,\"cpu\":0.6632819},\"sources\":[\"agent\"],\"meta\":{\"socket-hostname\":\"vagrant\",\"nixV\":[\"ubuntu\",\"18.04\",\"\"],\"pythonV\":\"3.8.11\",\"macV\":[\"\",\"\",\"\"],\"cpuCores\":1,\"agent_flavor\":\"agent\",\"platform\":\"linux\",\"timezones\":[\"UTC\"],\"winV\":[null,null,null],\"machine\":\"amd64\",\"install_method\":{\"tool\":\"install_script\",\"installer_version\":\"install_script-1.7.1\",\"tool_version\":\"install_script\"},\"fbsdV\":[\"\",\"\",\"\"],\"gohai\":\"{\\\"cpu\\\":{\\\"cache_size\\\":\\\"8192 KB\\\",\\\"cpu_cores\\\":\\\"1\\\",\\\"cpu_logical_processors\\\":\\\"1\\\",\\\"family\\\":\\\"6\\\",\\\"mhz\\\":\\\"2711.998\\\",\\\"model\\\":\\\"142\\\",\\\"model_name\\\":\\\"Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz\\\",\\\"stepping\\\":\\\"10\\\",\\\"vendor_id\\\":\\\"GenuineIntel\\\"},\\\"filesystem\\\":[{\\\"kb_size\\\":\\\"3966892\\\",\\\"mounted_on\\\":\\\"/dev\\\",\\\"name\\\":\\\"udev\\\"},{\\\"kb_size\\\":\\\"797396\\\",\\\"mounted_on\\\":\\\"/run\\\",\\\"name\\\":\\\"tmpfs\\\"},{\\\"kb_size\\\":\\\"64800356\\\",\\\"mounted_on\\\":\\\"/\\\",\\\"name\\\":\\\"/dev/mapper/vagrant--vg-root\\\"},{\\\"kb_size\\\":\\\"3986968\\\",\\\"mounted_on\\\":\\\"/dev/shm\\\",\\\"name\\\":\\\"tmpfs\\\"},{\\\"kb_size\\\":\\\"5120\\\",\\\"mounted_on\\\":\\\"/run/lock\\\",\\\"name\\\":\\\"tmpfs\\\"},{\\\"kb_size\\\":\\\"3986968\\\",\\\"mounted_on\\\":\\\"/sys/fs/cgroup\\\",\\\"name\\\":\\\"tmpfs\\\"},{\\\"kb_size\\\":\\\"488245288\\\",\\\"mounted_on\\\":\\\"/vagrant\\\",\\\"name\\\":\\\"/vagrant\\\"},{\\\"kb_size\\\":\\\"797392\\\",\\\"mounted_on\\\":\\\"/run/user/1000\\\",\\\"name\\\":\\\"tmpfs\\\"}],\\\"memory\\\":{\\\"swap_total\\\":\\\"1003516kB\\\",\\\"total\\\":\\\"7973940kB\\\"},\\\"network\\\":{\\\"interfaces\\\":[{\\\"ipv4\\\":\\\"10.0.2.15\\\",\\\"ipv4-network\\\":\\\"10.0.2.0/24\\\",\\\"ipv6\\\":\\\"fe80::a00:27ff:fec2:be11\\\",\\\"ipv6-network\\\":\\\"fe80::/64\\\",\\\"macaddress\\\":\\\"08:00:27:c2:be:11\\\",\\\"name\\\":\\\"eth0\\\"},{\\\"ipv4\\\":\\\"192.168.122.1\\\",\\\"ipv4-network\\\":\\\"192.168.122.0/24\\\",\\\"macaddress\\\":\\\"52:54:00:6f:1c:bf\\\",\\\"name\\\":\\\"virbr0\\\"}],\\\"ipaddress\\\":\\\"10.0.2.15\\\",\\\"ipaddressv6\\\":\\\"fe80::a00:27ff:fec2:be11\\\",\\\"macaddress\\\":\\\"08:00:27:c2:be:11\\\"},\\\"platform\\\":{\\\"GOOARCH\\\":\\\"amd64\\\",\\\"GOOS\\\":\\\"linux\\\",\\\"goV\\\":\\\"1.16.7\\\",\\\"hardware_platform\\\":\\\"x86_64\\\",\\\"hostname\\\":\\\"vagrant\\\",\\\"kernel_name\\\":\\\"Linux\\\",\\\"kernel_release\\\":\\\"4.15.0-29-generic\\\",\\\"kernel_version\\\":\\\"#31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018\\\",\\\"machine\\\":\\\"x86_64\\\",\\\"os\\\":\\\"GNU/Linux\\\",\\\"processor\\\":\\\"x86_64\\\",\\\"pythonV\\\":\\\"2.7.15rc1\\\"}}\",\"network\":null,\"logs_agent\":{\"transport\":\"\"},\"host_id\":1036078308,\"agent_version\":\"7.32.3\",\"processor\":\"Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz\",\"socket-fqdn\":\"vagrant.vm.\",\"agent_checks\":[[\"ntp\",\"ntp\",\"ntp:d884b5186b651429\",\"OK\",\"\",\"\"]]},\"host_name\":\"vagrant\",\"id\":1036078308,\"aliases\":[\"vagrant\"]}],\"total_matching\":1}"
4141
},
4242
"cookies": [],
4343
"headers": [

features/v2/security_monitoring.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Feature: Security Monitoring
188188
When the request is sent
189189
Then the response status is 200 OK
190190

191-
@team:DataDog/k9-cloud-security-platform @with-pagination
191+
@replay-only @team:DataDog/k9-cloud-security-platform @with-pagination
192192
Scenario: Get a list of security signals returns "OK" response with pagination
193193
Given new "SearchSecurityMonitoringSignals" request
194194
And body with value {"filter": {"from": "{{ timeISO("now-15m") }}", "query": "security:attack status:high", "to": "{{ timeISO("now") }}"}, "page": {"limit": 2}, "sort": "timestamp"}

0 commit comments

Comments
 (0)