Structs§
- AwsConfig
- Custom
Http Config - Custom
Http Config V2 - Configuration for Online Validation V2
- Encode
Indices - Exclusion
Check - Http
Call Config - A single HTTP call configuration with request and response validation
- Http
Request Config - HTTP request configuration with templating support
- Http
Response Config - Response validation configuration with multiple condition support
- Http
Status Code Range - Http
Validator Option - JwtClaims
Validator Config - Labels
- Holder of multiple [Label] providing some methods to easily clone and adds new labels in it.
- Match
Pairing Config - Configuration for pairing matches from multiple rules together
- Paired
Validator Config - Secondary validator type for rules that forward their match to a paired validator
- Path
- Proximity
Keywords Config - Regex
Cache Key - Regex
Cache Value - Regex
Caches - Regex
Rule Config - Request
Header - Response
Condition - A response condition that determines if a secret is valid or invalid
- Root
Compiled Rule - Root
Rule Config - Rule
Match - Metadata about a rule match.
- Scan
Option Builder - Scanner
- Scanner
Builder - Shared
Data - Shared
Pool - This is a simple generic wrapper around
Poolto make it a bit easier to use - Shared
Regex - String
Match - String
Matches Ctx - Suppressions
- Utf8
Encoding - Visit
String Result
Enums§
- AwsType
- Body
Matcher - Body content matcher
- Claim
Requirement - Create
Scanner Error - Http
Method - Internal
Match Validation Type - Match
Action - Match
Status - Match
Validation Type - Partial
Redact Direction - Path
Segment - Precedence
- The precedence of a rule. Catchall is the lowest precedence, Specific is the highest precedence. The default precedence is Specific. For rules that:
- Regex
Validation Error - Replacement
Type - Response
Condition Result - Response
Condition Type - Type of response condition
- Rule
Status - Scanner
Error - Scope
- Secondary
Validator - Simple
Event - A simple implementation of
Event. This is meant for testing / demonstration purposes. It always start visiting elements with key == “message” first, then the rest of the keys in the map - Status
Code Matcher - Status code matcher supporting single, list, or range
Statics§
Traits§
- Compiled
Rule - Encoding
- Specifies how indices are calculated for rule matches
- Event
- Any object that can be scanned by SDS needs to implement
Event. You can think of an Event as a “JSON-like” object that has a nested map of values with String keys. - Event
Visitor - Match
Emitter - Rule
Config
Functions§
- debug_
scan - Similar to `.scan(), except more information is given for matches (such as the keyword), and partial matches are also returned with a reason it wasn’t a full match. The current implementation is only able to return partial matches if there was a single issue.
- get_
memoized_ regex - get_
regex_ complexity_ estimate_ very_ slow - validate_
regex - Checks that a regex pattern is valid for using in an SDS scanner
Type Aliases§
- Rule
Result - A rule result that cannot be async
- Shared
Pool Guard