Skip to main content

ScanPipelineResult

The result returned by raxe.scan(). Contains all detection results from L1 (rules) and L2 (ML) layers.

Properties

Metadata (Multi-Tenant)

When scanning with tenant_id/app_id, metadata includes policy attribution:

Boolean Evaluation

The result evaluates to True when safe (no threats):

Example

Multi-Tenant Example


Detection

A single threat detection from L1 rules.

Properties

Computed Properties

Example

Output:

Severity

Enumeration of threat severity levels.

Values

Comparison

Severities are comparable by their risk level:

String Access

Get the string value from the enum:

Filtering Results

By Severity

By Confidence

By Category

By Layer


Policy Actions

The should_block property and policy_decision reflect the configured policy:

Serialization

To Dictionary

Custom Serialization


Type Hints

Full type support for IDE autocompletion: