ragraf_policy_trace
Edition: community Capability: schema Operation page: policy_trace
What it does
Tracing decisions about permissions (U6)
What problem it solves
Checks permissions before the change: which action is allowed by default and which is not.
How to call it
ragraf_policy_trace(symbol=…)
ragraf -p config/ragraf.yaml query policy_trace <symbol>
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| symbol | str | required |
| action | str | None | None |
| depth | int | 3 |
| limit | int | 300 |
| min_confidence | float | None | None |
What it returns
action_filter, allows, body_read, callers, default_behavior, denies, lines, path, symbol