Model output may be sent to an external Google Cloud service
Source references: 3Text, a complete JSON request, or piped input is passed to a Model Armor command identified by a project, location, and template resource. Model output can contain prompts, user content, credentials, internal data, or sensitive material printed by the preceding command. The supplied file does not state transmission, retention, or logging policies.
Sensitive input may enter the selected Google Cloud project and its processing or logging systems, subject to that project's access and retention policies. A full JSON body may also contain fields beyond the text intended for filtering.
The Skill sends a model response to a Google Model Armor template using `--text`, a full JSON body, or piped input. When the command is run, the output enters an external cloud service identified by project, location, and template, potentially exposing user or internal data contained in it. The supplied material does not state logging or retention policies. Users can ask for those policies and restrict inputs to content without credentials or confidential data.
|------|----------|---------|-------------|| `--template` | ✓ | — | Full template resource name (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) || `--text` | — | — | Text content to sanitize || `--json` | — | — | Full JSON request body (overrides --text) |Show 2 other places
```bashgws modelarmor +sanitize-response --template projects/P/locations/L/templates/T --text 'model output'model_cmd | gws modelarmor +sanitize-response --template ...```Sanitize a model response through a Model Armor template