Skip to content

Commit 0db6c1c

Browse files
committed
[Tuning] Add mv_expand for gen_ai.policy.action field
Resolves #5202 Resolves #5203 Resolves #5204 The gen_ai.policy.action field is an array, so an additional mv_expand is necessary for the rules to work correctly with AWS Bedrock integration events that contain multiple policy actions. Updated rules: - Unusual High Word Policy Blocks Detected - Unusual High Denied Topic Blocks Detected - Unusual High Denied Sensitive Information Policy Blocks Detected
1 parent 3a52db2 commit 0db6c1c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

rules/integrations/aws_bedrock/aws_bedrock_multiple_sensitive_information_policy_blocks_detected.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2024/11/20"
33
integration = ["aws_bedrock"]
44
maturity = "production"
5-
updated_date = "2025/09/25"
5+
updated_date = "2025/11/10"
66

77
[rule]
88
author = ["Elastic"]
@@ -83,6 +83,7 @@ from logs-aws_bedrock.invocation-*
8383
8484
// Expand multi-valued policy name field
8585
| mv_expand gen_ai.policy.name
86+
| mv_expand gen_ai.policy.action
8687
8788
// Filter for blocked actions related to sensitive info policy
8889
| where

rules/integrations/aws_bedrock/aws_bedrock_multiple_topic_policy_blocks_detected.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2024/11/20"
33
integration = ["aws_bedrock"]
44
maturity = "production"
5-
updated_date = "2025/09/25"
5+
updated_date = "2025/11/10"
66

77
[rule]
88
author = ["Elastic"]
@@ -83,6 +83,7 @@ from logs-aws_bedrock.invocation-*
8383
8484
// Expand multi-value policy name field
8585
| mv_expand gen_ai.policy.name
86+
| mv_expand gen_ai.policy.action
8687
8788
// Filter for blocked topic policy violations
8889
| where

rules/integrations/aws_bedrock/aws_bedrock_multiple_word_policy_blocks_detected.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2024/11/20"
33
integration = ["aws_bedrock"]
44
maturity = "production"
5-
updated_date = "2025/09/25"
5+
updated_date = "2025/11/10"
66

77
[rule]
88
author = ["Elastic"]
@@ -83,6 +83,7 @@ from logs-aws_bedrock.invocation-*
8383
8484
// Expand multivalued policy names
8585
| mv_expand gen_ai.policy.name
86+
| mv_expand gen_ai.policy.action
8687
8788
// Filter for blocked profanity-related policy violations
8889
| where

0 commit comments

Comments
 (0)