docs(security): add Model Armor guide with Python LangChain#3542
Merged
Conversation
Docsy v0.11.0's scripts/mermaid.html uses Resource.Err, removed in Hugo 0.141.0 and replaced by the try keyword. The repo builds with Hugo >= 0.146, so any page with a mermaid block fails the build. Docsy v0.12.0 switched the partial to try, so bump to it. Also pin the mermaid version.
Contributor
There was a problem hiding this comment.
Code Review
This pull request adds a new security documentation section, featuring a comprehensive guide on integrating Google Cloud Model Armor with MCP Toolbox to protect against prompt injection and sensitive data leakage. The review feedback points out an invalid import and function call (create_agent from langchain.agents) in the Python LangChain example, which would cause an ImportError.
twishabansal
marked this pull request as draft
June 29, 2026 12:14
twishabansal
marked this pull request as ready for review
June 30, 2026 06:19
Contributor
|
🚀 Cloudflare Preview Ready! 🔎 View Preview: https://pr-3542.toolbox-docs-6xc.pages.dev (Note: Subsequent pushes to this PR will automatically update the preview at this same URL) |
averikitsch
reviewed
Jul 8, 2026
averikitsch
reviewed
Jul 8, 2026
averikitsch
reviewed
Jul 8, 2026
averikitsch
approved these changes
Jul 8, 2026
Co-authored-by: Averi Kitsch <akitsch@google.com>
Co-authored-by: Averi Kitsch <akitsch@google.com>
Contributor
|
🧨 Preview deployments removed. Cloudflare Pages environments for |
twishabansal
added a commit
that referenced
this pull request
Jul 9, 2026
Adds a **Python (ADK)** tab to the Model Armor security guide, stacked on top of #3542 (the LangChain sample). Tested manually
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This base PR covers the shared setup and the primary Python + LangChain path.
First in a series — ADK, Agent Gateway, Google Cloud MCP servers, and Go/Node.js/Java will be added in follow-up PRs. Step 2 is built as a tabpane so those land as additional tabs without rework.
Tested manually.