Skip to main content

Module json_selector

Module json_selector 

Source
Expand description

Detector verification response selector grammar and evaluator. Bounded rooted selectors for detector-owned verification responses.

Structs§

SelectorError
A syntax error in a detector verification response selector.

Constants§

MAX_SELECTOR_BYTES
Maximum encoded selector length accepted from a detector specification.
MAX_SELECTOR_SEGMENTS
Maximum object-key and array-index segments in one selector.

Functions§

select
Resolve a dotted selector against a JSON value.
validate
Validate the rooted response selector grammar used by detector TOMLs.
validate_detector_response_selectors
Validate every response selector and selector-dependent field in a detector.