Skip to content

Commit 269103c

Browse files
Add unit test
1 parent f912d03 commit 269103c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_rules_remote.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,9 @@ def test_esql_non_dataset_package_related_integrations(self):
5353
production_rule = deepcopy(original_production_rule)[0]
5454
production_rule["metadata"]["integration"] = ["aws_bedrock"]
5555
production_rule["rule"]["query"] = """
56-
from logs-aws_bedrock.invocation-*
57-
56+
from logs-aws_bedrock.invocation-* metadata _id, _version, _index
5857
// Filter for access denied errors from GenAI responses
5958
| where gen_ai.response.error_code == "AccessDeniedException"
60-
6159
// keep ECS and response fields
6260
| keep
6361
user.id,

0 commit comments

Comments
 (0)