ExecutionPlane.Contracts.NoEgressPolicy.V1 (execution_plane v0.1.0)

Copy Markdown View Source

Fail-closed no-egress policy for lower-runtime simulation boundaries.

Summary

Types

t()

@type t() :: %ExecutionPlane.Contracts.NoEgressPolicy.V1{
  contract_version: String.t(),
  denied_surfaces: map(),
  enforcement_boundary: String.t(),
  mode: String.t(),
  owner_repo: String.t(),
  policy_ref: String.t(),
  required_negative_evidence: [String.t()]
}

Functions

contract_version()

@spec contract_version() :: String.t()

default_lower_boundary_policy!()

@spec default_lower_boundary_policy!() :: t()

dump(policy)

@spec dump(t()) :: map()

new(value)

@spec new(map() | keyword() | t()) :: {:ok, t()} | {:error, Exception.t()}

new!(value)

@spec new!(map() | keyword() | t()) :: t()