runtime dlp filtering-profiles¶
runtime dlp filtering-profiles list¶
List filtering profiles
Options¶
| Flag | Required | Default | Description |
|---|---|---|---|
--page <n> |
No | — | Zero-indexed page number |
--size <n> |
No | — | Page size |
--sort <field,dir> |
No | — | Sort criteria (repeatable) |
--output <fmt> |
No | pretty |
Output format |
Examples¶
Pretty output (default)
Data Filtering Profiles:
000000000000000000000001
Bulk CCN predefined dir:c2s sev:low v1
000000000000000000000002
CCPA predefined dir:c2s sev:low v1
page=0 size=2 returned=2 total=29
JSON output
{
"items": [
{
"id": "000000000000000000000001",
"name": "Bulk CCN",
"type": "predefined",
"direction": "c2s",
"severity": "low",
"version": 1
},
{
"id": "000000000000000000000002",
"name": "CCPA",
"type": "predefined",
"direction": "c2s",
"severity": "low",
"version": 1
}
],
"page": {
"number": 0,
"size": 2,
"total": 29,
"returned": 2
}
}
YAML output
items:
- id: '000000000000000000000001'
name: Bulk CCN
type: predefined
direction: c2s
severity: low
version: 1
- id: '000000000000000000000002'
name: CCPA
type: predefined
direction: c2s
severity: low
version: 1
page:
number: 0
size: 2
total: 29
returned: 2
runtime dlp filtering-profiles get¶
Get a filtering profile by id
Arguments¶
id(required) —
Options¶
| Flag | Required | Default | Description |
|---|---|---|---|
--output <fmt> |
No | pretty |
Output format |
Examples¶
Example needed
No curated input/output example for this command yet.
runtime dlp filtering-profiles replace¶
Full-replace a filtering profile (PUT)
Arguments¶
id(required) —
Options¶
| Flag | Required | Default | Description |
|---|---|---|---|
--file-based |
No | — | Apply to file-based scans (boolean) |
--non-file-based |
No | — | Apply to non-file-based scans (boolean) |
--description <s> |
No | — | Description |
--direction <s> |
No | — | Direction: BOTH |
--log-severity <s> |
No | — | Severity: CRITICAL |
--scan-type <s> |
No | — | Scan type: include |
--data-profile-id <n> |
No | — | Data profile ID |
--euc-template-id <s> |
No | — | EUC template ID |
--end-user-coaching |
No | — | Enable end-user coaching |
--granular |
No | — | Granular profile |
--file-type <s> |
No | — | File type (repeatable) |
--body <json|-> |
No | — | Raw JSON body (escape hatch; or "-" for stdin) |
--body-file <path> |
No | — | Raw JSON body file (escape hatch) |
--output <fmt> |
No | pretty |
Output format |
Examples¶
Replace a filtering profile from a body fixture (see docs/cli/examples/dlp/filtering-profiles/replace.json). The API returns the new version on success.