Ensure that prompt attack strength is set to HIGH for your Amazon Bedrock guardrails. Setting prompt attack strength to HIGH in guardrails helps protect against malicious inputs designed to bypass safety measures and generate harmful content.
The prompt attacks filter in Amazon Bedrock guardrails detects and blocks attempts to manipulate the model through malicious prompts, such as prompt injection and jailbreaking. Setting the prompt attack strength to HIGH enhances protection against these attacks, ensuring your model generates safe and reliable outputs.
Audit
To determine if your Amazon Bedrock guardrails have the prompt attack strength set to HIGH, perform the following operations:
Remediation / Resolution
To ensure that prompt attack strength is set to HIGH for your Amazon Bedrock guardrails, perform the following operations:
References
- AWS Documentation
- Guardrails for Amazon Bedrock
- Guardrails for Amazon Bedrock
- Components of a guardrail
- Content filters
- AWS Command Line Interface (CLI) Documentation
- list-guardrails
- get-guardrail
- update-guardrail