Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

On this page

sylphx observability scrubbing_policies

Every sylphx observability scrubbing_policies command: its argument, its flags and a run line.

The scrubbing_policies commands of Sylphx Observability, as the CLI spells them: the same calls as the scrubbing_policies API page, typed for the shell. Install, sign in and the grammar are on the CLI index.

#get

Gets the environment's scrubbing policy (scrubbing_policies/default).

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx observability scrubbing-policies get orgs/acme/projects/shop/envs/production/scrubbing_policies/scrubbing-policy

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/scrubbing_policies/scrubbing-policy · scope observability:read · effect read · Request, response and examples

#update

Updates the environment's scrubbing policy.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx observability scrubbing-policies update orgs/acme/projects/shop/envs/production/scrubbing_policies/scrubbing-policy

PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/scrubbing_policies/scrubbing-policy · scope observability:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--meta.labelskey=valueCaller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value.
--meta.annotationskey=valueCaller-writable, unindexed annotations. Repeat the flag for each value.
--meta.display-namestringCaller-writable human-readable name.
--denied-fieldsstringMore field names to replace with [Filtered] wherever they appear in tags, extra data, request data, or breadcrumb data (case-insensitive, matched as a substring), at most 64. Repeat the flag for each value.
--keep-emailsboolKeep email addresses instead of replacing them with [email].