Crate dd_sds

Crate dd_sds 

Source

Structs§

AwsConfig
CustomHttpConfig
CustomHttpConfigV2
Configuration for Online Validation V2
EncodeIndices
ExclusionCheck
HttpCallConfig
A single HTTP call configuration with request and response validation
HttpRequestConfig
HTTP request configuration with templating support
HttpResponseConfig
Response validation configuration with multiple condition support
HttpStatusCodeRange
HttpValidatorOption
JwtClaimsValidatorConfig
Labels
Holder of multiple [Label] providing some methods to easily clone and adds new labels in it.
MatchPairingConfig
Configuration for pairing matches from multiple rules together
PairedValidatorConfig
Secondary validator type for rules that forward their match to a paired validator
Path
ProximityKeywordsConfig
RegexCacheKey
RegexCacheValue
RegexCaches
RegexRuleConfig
RequestHeader
ResponseCondition
A response condition that determines if a secret is valid or invalid
RootCompiledRule
RootRuleConfig
RuleMatch
Metadata about a rule match.
ScanOptionBuilder
Scanner
ScannerBuilder
SharedData
SharedPool
This is a simple generic wrapper around Pool to make it a bit easier to use
SharedRegex
StringMatch
StringMatchesCtx
Suppressions
Utf8Encoding
VisitStringResult

Enums§

AwsType
BodyMatcher
Body content matcher
ClaimRequirement
CreateScannerError
HttpMethod
InternalMatchValidationType
MatchAction
MatchStatus
MatchValidationType
PartialRedactDirection
PathSegment
Precedence
The precedence of a rule. Catchall is the lowest precedence, Specific is the highest precedence. The default precedence is Specific. For rules that:
RegexValidationError
ReplacementType
ResponseConditionResult
ResponseConditionType
Type of response condition
RuleStatus
ScannerError
Scope
SecondaryValidator
SimpleEvent
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
StatusCodeMatcher
Status code matcher supporting single, list, or range

Statics§

TOKIO_RUNTIME

Traits§

CompiledRule
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.
EventVisitor
MatchEmitter
RuleConfig

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§

RuleResult
A rule result that cannot be async
SharedPoolGuard