Crate pdk

Crate pdk 

Source
Expand description

PDK - Policy Development Kit

Features

  • ll: USE AT OWN RISK: low-level items that may change without notice. Exposes the low level implementation details.
  • experimental_metrics: USE AT OWN RISK: this feature is experimental and might change without notice. Exposes the api for host metrics.
  • script_stream: Enable the Evaluator to consume streamed payloads.

Modulesยง

authentication
Utils to access and share authentication data between filters.
cache
Cache Library
classy
Classy - an asynchronous policy development kit
contracts
PDK Contracts Lib
cors
PDK CORS Lib
data_storage
Data Storage Library
flex_abi
PDK Flex ABI
hl
The PDK High Level Framework.
jwt
PDK JWT Lib
lock
PDK Lock Lib
logger
Wrapper of the log package to enrich log messages with policy and request metadata.
metadata
Exposes metadata for the policy.
policy_violation
Information regarding if a policy from the chain reached a scenario that can be considered an expected error. E.g. a policy that checks credentials and they were invalid.
rl
PDK Rate Limit Lib
script
PDK Script
serde
Serializing and deserializing of service names.