Skip to main content

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
Contracts Library
cors
CORS Library
data_storage
Data Storage Library
flex_abi
Flex ABI
hl
High Level Framework
ip_filter
IP Filter Library
jwt
JWT Library
lock
Lock Library
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
Rate Limit Library
script
Script Library
serde
Serializing and deserializing of service names.
token_introspection
Token Introspection Library