Modules§
Structs§
- Classification
Reason Iter - Classification
Verdict - The result of request analysis.
- ExtClassification
Metrics Settings - Structured Classification Reason Metrics reporting.
- ExtHttp
Header - Represents an HTTP header.
- ExtHttp
Headers - A collection of HTTP headers.
- ExtHttp
Request Data - Represents and HTTP request for analysis.
- ExtLogging
Settings - Configuration for logging.
- ExtRequest
Analysis Metrics Unit - Unit structure for emitting Metrics.
- ExtString
- A pointer to a string.
- ExtTier
Metrics Settings - Structured Request Safety Tier Metrics reporting.
- Request
Safety Tier Iter
Enums§
- Classification
Reason - The reason why a request received a particular Request Safety Tier.
- Header
Safety Tier - The classification of HTTP headers.
- Request
Safety Tier - The classification of HTTP requests.
- Settings
Return Code - The library can be configured only once. The return code indicates if settings were accepted, or it was a subsequent call.
Constants§
- MESSAGE_
MAX_ SIZE - The maximum length of an error message.
Functions§
- http_
desync_ guardian_ analyze_ raw_ request - Parses and analyzes a given HTTP request.
- http_
desync_ guardian_ analyze_ request - Analyzes a given HTTP request.
- http_
desync_ guardian_ initialize_ logging_ settings - Configure logging parameters. Only first call matters (subsequent are ignored).
The
settings
andsettings.callback
must be non-null. - http_
desync_ guardian_ print_ request - Return request information with Customer sensitive data obfuscated The callback must be non-null. Populates a buffer with the data in an HTTP Request that has been analyzed.
- http_
desync_ guardian_ register_ classification_ metrics_ callback - Configure Aggregated Classification Reason metrics reporting. Only first call matters (subsequent calls are ignored).
- http_
desync_ guardian_ register_ tier_ metrics_ callback - Configure Aggregated Request Safety Tier metrics reporting. Only first call matters (subsequent calls are ignored). The callback must be non-null.