Skip to content

Commit f86e22d

Browse files
abnormal_security,aws_bedrock,crowdstrike,nvidia_gpu: add required variables in system tests (#15832)
Fix system tests for abnormal_security, aws_bedrock, crowdstrike, nvidia_gpu integrations
1 parent 7f44034 commit f86e22d

File tree

7 files changed

+33
-28
lines changed

7 files changed

+33
-28
lines changed

packages/abnormal_security/data_stream/ai_security_mailbox_not_analyzed/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ streams:
1818
type: text
1919
title: Recent Message Grace Interval
2020
multi: false
21-
required: true
21+
required: false
2222
show_user: true
2323
description: How long to wait before attempting to collect recent messages. This option allows the Abnormal AI API to complete analysis of messages before the agent attempts to collect them. This should not be greater than the initial interval. Supported units for this parameter are h/m/s.
2424
- name: interval

packages/abnormal_security/data_stream/ai_security_mailbox_not_analyzed/sample_event.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@
1717
}
1818
},
1919
"agent": {
20-
"ephemeral_id": "835b49c2-b5f8-4cd3-9915-0257c60f59ad",
21-
"id": "129fb3a1-34d7-4b0f-8248-d13d3a7d46f6",
22-
"name": "elastic-agent-18300",
20+
"ephemeral_id": "ea5725c7-abdf-4082-aa3f-38a44243aced",
21+
"id": "bde1501c-c6c1-49fe-9125-c805f917c934",
22+
"name": "elastic-agent-45073",
2323
"type": "filebeat",
2424
"version": "8.19.0"
2525
},
2626
"data_stream": {
2727
"dataset": "abnormal_security.ai_security_mailbox_not_analyzed",
28-
"namespace": "26882",
28+
"namespace": "98484",
2929
"type": "logs"
3030
},
3131
"ecs": {
3232
"version": "8.11.0"
3333
},
3434
"elastic_agent": {
35-
"id": "129fb3a1-34d7-4b0f-8248-d13d3a7d46f6",
35+
"id": "bde1501c-c6c1-49fe-9125-c805f917c934",
3636
"snapshot": false,
3737
"version": "8.19.0"
3838
},
@@ -51,7 +51,7 @@
5151
],
5252
"dataset": "abnormal_security.ai_security_mailbox_not_analyzed",
5353
"id": "-1234567891234567891",
54-
"ingested": "2025-09-16T10:25:44Z",
54+
"ingested": "2025-10-30T07:35:02Z",
5555
"kind": "event",
5656
"original": "{\"abx_message_id\":-1234567891234567891,\"not_analyzed_reason\":\"PHISHING_SIMULATION\",\"recipient\":{\"email\":\"[email protected]\",\"name\":\"Phishing Test\"},\"reported_datetime\":\"2025-03-04T17:03:55Z\",\"reporter\":{\"email\":\"[email protected]\",\"name\":\"Info Test\"},\"subject\":\"Fwd: Forwarded email\"}",
5757
"reason": "PHISHING_SIMULATION",

packages/abnormal_security/docs/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,22 +219,22 @@ An example event for `ai_security_mailbox_not_analyzed` looks as following:
219219
}
220220
},
221221
"agent": {
222-
"ephemeral_id": "835b49c2-b5f8-4cd3-9915-0257c60f59ad",
223-
"id": "129fb3a1-34d7-4b0f-8248-d13d3a7d46f6",
224-
"name": "elastic-agent-18300",
222+
"ephemeral_id": "ea5725c7-abdf-4082-aa3f-38a44243aced",
223+
"id": "bde1501c-c6c1-49fe-9125-c805f917c934",
224+
"name": "elastic-agent-45073",
225225
"type": "filebeat",
226226
"version": "8.19.0"
227227
},
228228
"data_stream": {
229229
"dataset": "abnormal_security.ai_security_mailbox_not_analyzed",
230-
"namespace": "26882",
230+
"namespace": "98484",
231231
"type": "logs"
232232
},
233233
"ecs": {
234234
"version": "8.11.0"
235235
},
236236
"elastic_agent": {
237-
"id": "129fb3a1-34d7-4b0f-8248-d13d3a7d46f6",
237+
"id": "bde1501c-c6c1-49fe-9125-c805f917c934",
238238
"snapshot": false,
239239
"version": "8.19.0"
240240
},
@@ -253,7 +253,7 @@ An example event for `ai_security_mailbox_not_analyzed` looks as following:
253253
],
254254
"dataset": "abnormal_security.ai_security_mailbox_not_analyzed",
255255
"id": "-1234567891234567891",
256-
"ingested": "2025-09-16T10:25:44Z",
256+
"ingested": "2025-10-30T07:35:02Z",
257257
"kind": "event",
258258
"original": "{\"abx_message_id\":-1234567891234567891,\"not_analyzed_reason\":\"PHISHING_SIMULATION\",\"recipient\":{\"email\":\"[email protected]\",\"name\":\"Phishing Test\"},\"reported_datetime\":\"2025-03-04T17:03:55Z\",\"reporter\":{\"email\":\"[email protected]\",\"name\":\"Info Test\"},\"subject\":\"Fwd: Forwarded email\"}",
259259
"reason": "PHISHING_SIMULATION",

packages/aws_bedrock/data_stream/invocation/_dev/test/system/test-default-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ data_stream:
1212
queue_url: '{{TF_OUTPUT_queue_url}}'
1313
preserve_original_event: true
1414
preserve_duplicate_custom_fields: true
15+
file_selectors: []
1516
assert:
1617
hit_count: 348

packages/aws_bedrock/data_stream/invocation/sample_event.json

Lines changed: 17 additions & 13 deletions
Large diffs are not rendered by default.

packages/crowdstrike/data_stream/fdr/_dev/test/policy/test-default.expected

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ inputs:
88
streams:
99
- data_stream:
1010
dataset: crowdstrike.fdr
11-
type: logs
1211
fields:
1312
_conf:
1413
enable_deduplication: false
@@ -83,7 +82,7 @@ inputs:
8382
fields:
8483
- crowdstrike
8584
publisher_pipeline.disable_host: true
86-
queue_url: null
85+
queue_url: ""
8786
sqs.notification_parsing_script.source: |
8887
function parse(n) {
8988
var m = JSON.parse(n);

packages/crowdstrike/data_stream/fdr/_dev/test/policy/test-default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ vars:
55
token_url: http://host.tld/oauth2/token
66
data_stream:
77
vars:
8+
queue_url: ""
89
preserve_original_event: true
910
preserve_duplicate_custom_fields: true

0 commit comments

Comments
 (0)