AI Cloud Architect

Amazon Bedrock Guardrails expands support for code domain

AWSBlog post by Phu Mon Htut, Bharathi Srinivasan, Jianfeng He, Koushik Kethamakka, Antonio Rodriguez, Hang Su and Shyam SrinivasanAWS Artificial Intelligence Blog

Amazon Bedrock Guardrails now extends its safety controls to protect code generation across twelve programming languages, addressing critical security challenges in AI-assisted software development. In this post, we explore how to configure content filters, prompt attack detection, denied topics, and sensitive information filters to safeguard against threats like prompt injection, data exfiltration, and malicious code generation while maintaining developer productivity .

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Bedrock Guardrails now applies content filters, prompt attack detection, denied topics and PII filters to code in prompts, comments, variables and strings, across twelve programming languages.

Who it is for

Teams building AI coding assistants or agents on Bedrock that need to block malicious code requests, prompt injection and data leaks.

Key points

  • Requires cross-Region inference, since the Standard Tier that supports the code modality needs CRIS.
  • Standard Tier covers Python, JavaScript, TypeScript, Java, C#, C++, PHP, Shell, HTML, SQL, C and Go.
  • Denied topics and PII filtering are configured per guardrail; the post gives no pricing.

Timeline

Posts about Amazon Bedrock Guardrails, oldest first.

  1. How-toIntegrate tokenization with Amazon Bedrock Guardrails for secure data handling · AWS · How-to
  2. Update to an existing featureCustomer managed KMS keys now available for Automated Reasoning checks · AWS · Announcement
  3. How-toBuild reliable AI systems with Automated Reasoning on Amazon Bedrock – Part 1 · AWS · How-to
  4. This postAmazon Bedrock Guardrails expands support for code domainAlso published by What's New with AWS
  5. New featureAutomated Reasoning checks now include natural language test Q&A generation · AWS · Announcement
  6. How-toSafeguard generative AI applications with Amazon Bedrock Guardrails · AWS · How-to
  7. Blog postAutomated Reasoning checks rewriting chatbot reference implementation · AWS · Blog post
  8. Update to an existing featureAutomated Reasoning policies now include references to the source document · AWS · Announcement
  9. How-toBuild safe generative AI applications like a Pro: Best Practices with Amazon Bedrock Guardrails · AWS · How-to
Show all 19 posts
  1. How-toIntegrate tokenization with Amazon Bedrock Guardrails for secure data handling · AWS · How-to
  2. Update to an existing featureCustomer managed KMS keys now available for Automated Reasoning checks · AWS · Announcement
  3. How-toBuild reliable AI systems with Automated Reasoning on Amazon Bedrock – Part 1 · AWS · How-to
  4. This postAmazon Bedrock Guardrails expands support for code domainAlso published by What's New with AWS
  5. New featureAutomated Reasoning checks now include natural language test Q&A generation · AWS · Announcement
  6. How-toSafeguard generative AI applications with Amazon Bedrock Guardrails · AWS · How-to
  7. Blog postAutomated Reasoning checks rewriting chatbot reference implementation · AWS · Blog post
  8. Update to an existing featureAutomated Reasoning policies now include references to the source document · AWS · Announcement
  9. How-toBuild safe generative AI applications like a Pro: Best Practices with Amazon Bedrock Guardrails · AWS · How-to
  10. How-toBuilding age-responsive, context-aware AI with Amazon Bedrock Guardrails · AWS · How-to
  11. Generally availableAmazon Bedrock Guardrails announces general availability of cross-account safeguards · AWS · AnnouncementAlso published by AWS News Blog
  12. Blog postHow Automated Reasoning checks in Amazon Bedrock transform generative AI compliance · AWS · Blog post
  13. Region expansionAmazon Bedrock Guardrails adds automated reasoning checks in Sydney · AWS · Announcement
  14. New featureSafeguard your agentic AI applications with the Amazon Bedrock Guardrails InvokeGuardrailChecks API · AWS · AnnouncementAlso published by What's New with AWS
  15. New featureAutomated Reasoning checks in Amazon Bedrock Guardrails add new policy refinement workflows · AWS · Announcement
  16. How-toBest practices for applying Amazon Bedrock Guardrails to code generation workflows · AWS · How-to
  17. New featureAutomated Reasoning policy refinement in Amazon Bedrock · AWS · Announcement
  18. New featureAmazon Bedrock Guardrails now supports Standard tier for contextual grounding checks · AWS · Announcement
  19. How-toBest practices for writing Denied Topics in Amazon Bedrock Guardrails · AWS · How-to

Go deeper