SigmaHunting query: tune before alertingPrompt injection and exfiltration in LLM app logs
Bedrock guardrail deleted or updated
Deleting or loosening a Bedrock guardrail removes content and prompt-attack filtering from every application that relies on it, which lets jailbreak prompts and unsafe output through. Review who changed the guardrail and whether the change was planned.
- Log source
- AWS CloudTrail (management events)
- Techniques
- AML.T0054 LLM Jailbreak · LLM01 Prompt Injection
- MITRE ATT&CK
- T1685Disable or Modify Tools
- Reviewed
- 2026-11-10
Query · Sigma
title: Amazon Bedrock Guardrail Deleted Or Updated
id: 19a690c0-07a7-4d81-ae92-ad1f0d84a32d
status: experimental
description: Detects deletion or update of an Amazon Bedrock guardrail, which can weaken model safety and prompt-attack filtering.
references:
- https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/aws/cloudtrail/aws_cloudtrail_bedrock_guardrail_deleted.yml
- https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/aws/cloudtrail/aws_cloudtrail_bedrock_guardrail_updated.yml
author: ThreatDeck (adapted from SigmaHQ rules by Marco Pedrinazzi)
date: 2026-11-09
modified: 2026-11-10
tags:
- attack.defense-impairment
- attack.t1685
logsource:
product: aws
service: cloudtrail
detection:
selection:
eventSource: 'bedrock.amazonaws.com'
eventName:
- 'DeleteGuardrail'
- 'UpdateGuardrail'
condition: selection
falsepositives:
- Planned guardrail changes by authorized identities
level: medium Other platforms
Microsoft Sentinel / Defender (KQL)
Microsoft Sentinel / Log Analytics: AWSCloudTrail (Amazon Web Services S3 connector)
AWSCloudTrail
| where TimeGenerated > ago(1d)
| where EventSource == "bedrock.amazonaws.com"
| where EventName in ("DeleteGuardrail", "UpdateGuardrail")
| extend GuardrailId = tostring(parse_json(RequestParameters).guardrailIdentifier)
| project TimeGenerated, EventName, GuardrailId, UserIdentityArn, SourceIpAddress, UserAgent, AWSRegion,
RecipientAccountId, ErrorCode Splunk (SPL)
Splunk: AWS CloudTrail (Splunk Add-on for AWS, sourcetype aws:cloudtrail) · Set index= to the index that holds your CloudTrail data.
index=aws sourcetype=aws:cloudtrail eventSource="bedrock.amazonaws.com" eventName IN ("DeleteGuardrail", "UpdateGuardrail")
| table _time eventName requestParameters.guardrailIdentifier userIdentity.arn sourceIPAddress userAgent awsRegion recipientAccountId errorCode Expected false positives
- Planned guardrail tuning by the application or platform team
Sources
- SigmaHQ: AWS Bedrock Guardrail Deleted
- SigmaHQ: AWS Bedrock Guardrail Updated
- AWS docs: Monitor Amazon Bedrock API calls using CloudTrail
Adapted from SigmaHQ rules 59b70e4d-dd17-44a9-b740-acf07ae3eb6a and 1c722651-254a-4b04-a9f4-99b62a2d0a1f (Detection Rule License 1.1)
Reviewed against vendor documentation, not tested in your environment. Defensive use only.