Skip to content

Configure G4G w/ Model Armor for FedRAMP High - #150

Merged
jmpugh merged 18 commits into
mainfrom
jeffpugh/g4g-model-armor
Jul 24, 2026
Merged

Configure G4G w/ Model Armor for FedRAMP High#150
jmpugh merged 18 commits into
mainfrom
jeffpugh/g4g-model-armor

Conversation

@jmpugh

@jmpugh jmpugh commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR allows the customer to optionally configure G4G to use Model Armor, which enhances security and safety of AI applications by proactively screening the prompts and responses by the GE assistant and is supported on all GE editions at no additional cost.

Model Armor is authorized for FedRAMP High and FedRAMP Moderate deployments (see https://docs.cloud.google.com/docs/security/compliance/deploy-gemini-gov#authorized-services).

Fixes #140

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Deployment & Compliance Impact

  • Applicable Regimes:
    • US Region Restricted (e.g., Access Policy constraint)
    • FedRAMP Moderate
    • FedRAMP High
    • DoD IL4
    • DoD IL5
    • General / All
  • NIST 800-53r5 Controls: (If this PR helps satisfy or modifies control implementations, list them here)

Checklist

Code Quality & Reusability

  • My code adheres to the Maximize Reusability principle. I have not redefined common elements and have reused existing base configurations and modules where possible.
  • I have checked that no existing module or configuration in modules/ or fast/ can be leveraged for this change.
  • My code follows the established naming conventions outlined in documentation/naming-convention.md.

Documentation

  • I have updated the README.md of the modified module or blueprint.
  • I have added/updated documentation for inputs (variables) and outputs.

Security

  • My change adheres to GCP security best practices and the principle of least privilege.
  • I have ensured compliance with the targeted regime (FedRAMP High, IL5, etc.).

Testing

  • I have tested my changes locally.
  • I have included details of my testing in this PR.

Testing Performed

I have tested prompts against GE apps with and without Model Armor and have confirmed that certain prompts that violate the default Model Armor configuration generate model responses in the unsecured app, while the secured app responds with the following:

Gemini Enterprise is unable to reply as the prompt violates your organization’s defined security policies.

@jmpugh jmpugh changed the title Jeffpugh/g4g model armor Configure G4G w/ Model Armor for FedRAMP High Jul 15, 2026
@jmpugh jmpugh added enhancement New feature or request gemini enterprise Gemini Enterprise (GE) related gemini for government Gemini for Government (G4G) related labels Jul 15, 2026
Comment thread blueprints/fedramp-high/gemini-enterprise/gemini-stage-0/data/model_armor.yaml Outdated
Comment thread blueprints/fedramp-high/gemini-enterprise/gemini-stage-0/model_armor.tf Outdated
Comment thread blueprints/fedramp-high/gemini-enterprise/deploy.sh Outdated
Comment thread blueprints/fedramp-high/gemini-enterprise/README.md Outdated
@jmpugh
jmpugh requested a review from LanceWray July 24, 2026 15:05
LanceWray
LanceWray previously approved these changes Jul 24, 2026

@LanceWray LanceWray left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Base automatically changed from jeffpugh/gem4gov-tf to main July 24, 2026 17:38
@jmpugh
jmpugh dismissed LanceWray’s stale review July 24, 2026 17:38

The base branch was changed.

@jmpugh
jmpugh enabled auto-merge (squash) July 24, 2026 17:43
@jmpugh
jmpugh disabled auto-merge July 24, 2026 17:44
@jmpugh
jmpugh merged commit 0068ff7 into main Jul 24, 2026
12 checks passed
@jmpugh
jmpugh deleted the jeffpugh/g4g-model-armor branch July 24, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request gemini enterprise Gemini Enterprise (GE) related gemini for government Gemini for Government (G4G) related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Configure Model Armor for GE for FedRAMP High & Moderate

2 participants