Reach.Evidence.ExternalDataBoundary (Reach v2.8.1)

Copy Markdown View Source

Collects decoded external values crossing storage or process boundaries.

Summary

Functions

Collects boundary-crossing evidence from all source files in a project.

Returns whether boundary evidence has enough fixed-key consumers for policy promotion.

Returns whether a fact preserves a sandbox payload or transient wire envelope.

Types

environment()

@type environment() :: %{
  optional(atom() | {:reach, :state_callback}) =>
    taint() | {atom(), non_neg_integer()}
}

taint()

Functions

collect_project(project)

Collects boundary-crossing evidence from all source files in a project.

fixed_contract?(fact, min_keys \\ 2)

Returns whether boundary evidence has enough fixed-key consumers for policy promotion.

transport_envelope?(fact)

@spec transport_envelope?(Reach.Evidence.ExternalDataBoundary.Fact.t()) :: boolean()

Returns whether a fact preserves a sandbox payload or transient wire envelope.