get_rules
Retrieve all masking rules for a policy, showing roles, masking levels, and tag values to understand data masking configuration.
Instructions
View all masking rules configured for a specific policy.
Shows which roles have what masking levels for which tag values.
Masking levels reference:
10000: No mask (show raw value)
10001: Full mask (replace with * matching data length)
10002: Email mask (show domain only)
10003: Show last four
10004: Constant mask (1 for numbers,
for strings, 1/1/2000 for dates)
10005: Null (replace with NULL)
10006: Full mask hash (replace with hashed value)
10007: Email hash (show domain, hash local part)
10008: Show last four hash (hash prefix, show last 4)
10009: Constant date (replace with 12/31/9999)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | Raw policy ID as returned by `get_policies`. Do not URL-encode. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||