Module policy

Source
Expand description

crate::policy::PolicyManager trait for layering additional security policies on top of the wasmCloud host

Structs§

ComponentInformation
Relevant policy information for evaluating a component
DefaultPolicyManager
A default policy manager that always returns true for all requests This is used when no policy manager is configured
HostInfo
Relevant information about the host that is receiving the invocation, or starting the component or provider
PerformInvocationRequest
A request to invoke a component function
PolicyClaims
Claims associated with a policy request, if embedded inside the component or provider
ProviderInformation
Relevant policy information for evaluating a provider
Response
A policy decision response

Enums§

RequestBody
The body of a policy request, typed by the request kind
RequestKind
The action being requested

Traits§

PolicyManager
A trait for evaluating policy decisions