[traffic_guard]
Optional checks of model traffic for credentials and personal data (off by default).
| Key | Type | Default | Description |
|---|---|---|---|
traffic_guard.enabled |
bool | false |
enabled turns on the credential and personal-data checks of model traffic (default false). Restart required. |
traffic_guard.revision |
string | revision names the policy version recorded with every decision (default traffic-guard-v1). |
|
traffic_guard.credential_request |
string | credential_request, pii_request, credential_response and pii_response set what happens when a credential or personal data is found in a request or a response: off, observe (record only), block or redact. |
|
traffic_guard.pii_request |
string | credential_request, pii_request, credential_response and pii_response set what happens when a credential or personal data is found in a request or a response: off, observe (record only), block or redact. |
|
traffic_guard.credential_response |
string | credential_request, pii_request, credential_response and pii_response set what happens when a credential or personal data is found in a request or a response: off, observe (record only), block or redact. |
|
traffic_guard.pii_response |
string | credential_request, pii_request, credential_response and pii_response set what happens when a credential or personal data is found in a request or a response: off, observe (record only), block or redact. |
|
traffic_guard.max_scan_bytes |
integer | 0 |
Size in bytes of one scan window. The whole body is always scanned; a long text is scanned window by window with an overlap. |
traffic_guard.audit_log |
string | audit_log is the metadata-only JSONL audit. Rotates at 64 MiB, keeping three older generations (.1 through.3); empty selects the storage directory. |
|
[[traffic_guard.profiles]] |
array of tables | profiles are overrides for an organization, a personal user or an agent. |
|
traffic_guard.profiles[].organization_id |
string | organization_id, owner_id and profile_id select whose traffic the override applies to: an organization, a personal user or an agent id. At least one is required; the most specific match wins. A person’s Prism key has the agent id prism-key and the key of an app the person signed in to has app-signin, so an override meant for all of a person’s keys selects by owner_id or organization_id. |
|
traffic_guard.profiles[].owner_id |
string | organization_id, owner_id and profile_id select whose traffic the override applies to: an organization, a personal user or an agent id. At least one is required; the most specific match wins. A person’s Prism key has the agent id prism-key and the key of an app the person signed in to has app-signin, so an override meant for all of a person’s keys selects by owner_id or organization_id. |
|
traffic_guard.profiles[].profile_id |
string | organization_id, owner_id and profile_id select whose traffic the override applies to: an organization, a personal user or an agent id. At least one is required; the most specific match wins. A person’s Prism key has the agent id prism-key and the key of an app the person signed in to has app-signin, so an override meant for all of a person’s keys selects by owner_id or organization_id. |
|
traffic_guard.profiles[].revision |
string | revision names the override’s policy version; required. |
|
traffic_guard.profiles[].credential_request |
string | credential_request, pii_request, credential_response, pii_response and max_scan_bytes override the [traffic_guard] values; empty fields inherit. |
|
traffic_guard.profiles[].pii_request |
string | credential_request, pii_request, credential_response, pii_response and max_scan_bytes override the [traffic_guard] values; empty fields inherit. |
|
traffic_guard.profiles[].credential_response |
string | credential_request, pii_request, credential_response, pii_response and max_scan_bytes override the [traffic_guard] values; empty fields inherit. |
|
traffic_guard.profiles[].pii_response |
string | credential_request, pii_request, credential_response, pii_response and max_scan_bytes override the [traffic_guard] values; empty fields inherit. |
|
traffic_guard.profiles[].max_scan_bytes |
integer | credential_request, pii_request, credential_response, pii_response and max_scan_bytes override the [traffic_guard] values; empty fields inherit. |