Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/security / / DataFlowPolicy
Interface: DataFlowPolicy
Defined in: packages/security/src/dataflow/types.ts:217
The data-flow policy engine. Stateless and pure: all run-scoped state lives in the TaintLedger the caller threads in via DataFlowEvaluation.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
mode | readonly | DataFlowMode | The configured mode (mirrors the constructor input). | packages/security/src/dataflow/types.ts:219 |
Methods
evaluate()
ts
evaluate(evaluation): DataFlowDecision;Defined in: packages/security/src/dataflow/types.ts:221
Decide what to do about one candidate sink call.
Parameters
| Parameter | Type |
|---|---|
evaluation | DataFlowEvaluation |