Skip to content

Commit c6d116c

Browse files
Add cloud_provider in the sample event
1 parent c225e91 commit c6d116c

File tree

2 files changed

+62
-2
lines changed

2 files changed

+62
-2
lines changed

packages/qualys_gav/data_stream/asset/sample_event.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,37 @@
174174
"support_group": "ABC_01",
175175
"supported_by": "Nick"
176176
},
177-
"cloud_provider": "Amazon Web Services",
177+
"cloud_provider": {
178+
"aws": {
179+
"ec2": {
180+
"account_id": "123456789012",
181+
"availability_zone": "us-east-1e",
182+
"has_agent": true,
183+
"hostname": "test_dns.ec2.internal",
184+
"image_id": "ami-XXX",
185+
"instance_id": "i-XXX",
186+
"instance_state": "RUNNING",
187+
"instance_type": "i3.2xlarge",
188+
"launchdate": "2025-06-23T14:26:03.000Z",
189+
"private_dns": "test_dns.ec2.internal",
190+
"private_ip_address": "10.0.0.1",
191+
"qualys_scanner": false,
192+
"region": {
193+
"code": "us-east-1",
194+
"name": "US East (N. Virginia)"
195+
},
196+
"spot_instance": false,
197+
"subnet_id": "subnet-XXX",
198+
"vpc_id": "vpc-XXX"
199+
},
200+
"tags": [
201+
{
202+
"value": "production",
203+
"key": "environment"
204+
}
205+
]
206+
}
207+
},
178208
"container": {
179209
"has_sensor": "temp_value",
180210
"no_of_containers": 5,

packages/qualys_gav/docs/README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,37 @@ An example event for `asset` looks as following:
232232
"support_group": "ABC_01",
233233
"supported_by": "Nick"
234234
},
235-
"cloud_provider": "Amazon Web Services",
235+
"cloud_provider": {
236+
"aws": {
237+
"ec2": {
238+
"account_id": "123456789012",
239+
"availability_zone": "us-east-1e",
240+
"has_agent": true,
241+
"hostname": "test_dns.ec2.internal",
242+
"image_id": "ami-XXX",
243+
"instance_id": "i-XXX",
244+
"instance_state": "RUNNING",
245+
"instance_type": "i3.2xlarge",
246+
"launchdate": "2025-06-23T14:26:03.000Z",
247+
"private_dns": "test_dns.ec2.internal",
248+
"private_ip_address": "10.0.0.1",
249+
"qualys_scanner": false,
250+
"region": {
251+
"code": "us-east-1",
252+
"name": "US East (N. Virginia)"
253+
},
254+
"spot_instance": false,
255+
"subnet_id": "subnet-XXX",
256+
"vpc_id": "vpc-XXX"
257+
},
258+
"tags": [
259+
{
260+
"value": "production",
261+
"key": "environment"
262+
}
263+
]
264+
}
265+
},
236266
"container": {
237267
"has_sensor": "temp_value",
238268
"no_of_containers": 5,

0 commit comments

Comments
 (0)