Skip to main content

Crate stygian_charon

Crate stygian_charon 

Source
Expand description

stygian-charon

Defensive anti-bot diagnostics for Stygian. The crate classifies likely anti-bot providers from transaction evidence and from HTTP Archive (HAR) files.

Re-exports§

pub use acquisition::AcquisitionModeHint;
pub use acquisition::AcquisitionPolicy;
pub use acquisition::AcquisitionStartHint;
pub use acquisition::RuntimePolicyHints;
pub use acquisition::map_adapter_strategy;
pub use acquisition::map_policy_hints;
pub use acquisition::map_runtime_policy;
pub use adaptive::AdaptivePolicyError;
pub use adaptive::AdaptiveSloPolicy;
pub use adaptive::RegressionHistoryPolicy;
pub use analyzer::AnalyzerProfile;
pub use analyzer::AnalyzerVersion;
pub use analyzer::ProviderAnalyzer;
pub use backtest::BacktestCase;
pub use backtest::BacktestDisagreement;
pub use backtest::BacktestError;
pub use backtest::BacktestReport;
pub use backtest::BacktestSample;
pub use backtest::run_profile_backtest;
pub use bundle::BundleCoherenceViolation;
pub use bundle::BundleError;
pub use bundle::BundleMetadata;
pub use bundle::BundleRedactionPolicy;
pub use bundle::DiagnosticBundle;
pub use bundle::apply_redaction;
pub use bundle::build_diagnostic_bundle;
pub use bundle::build_diagnostic_bundle_with_snapshot;
pub use bundle::diagnostic_bundle_from_investigation;
pub use cache::RedisInvestigationCache;
pub use cache::InvestigationReportCache;
pub use cache::MemoryInvestigationCache;
pub use cache::investigation_cache_key;
pub use classifier::classify_har;
pub use classifier::classify_har_with_profile;
pub use classifier::classify_transaction;
pub use classifier::classify_transaction_with_profile;
pub use differential::ModeComparison;
pub use differential::ModeDifferentialCorpus;
pub use differential::ModeDifferentialError;
pub use differential::ModeDifferentialPairResult;
pub use differential::ModeDifferentialRunReport;
pub use differential::ModeDifferentialThresholds;
pub use differential::run_mode_differential_regression;
pub use investigation::compare_reports;
pub use investigation::infer_requirements;
pub use investigation::infer_requirements_with_target_class;
pub use investigation::investigate_har;
pub use investigation::investigate_har_with_profile;
pub use investigation::investigate_har_cached;
pub use investigation::investigate_har_cached_with_target_class;
pub use observatory::LiveObservatoryProbe;
pub use observatory::run_external_observatory_live;
pub use observatory::ObservatoryCase;
pub use observatory::ObservatoryComparison;
pub use observatory::ObservatoryError;
pub use observatory::ObservatoryEscalation;
pub use observatory::ObservatoryReport;
pub use observatory::ObservatorySample;
pub use observatory::run_external_observatory_from_hars;
pub use policy::analyze_and_plan;
pub use policy::build_runtime_policy;
pub use policy::plan_from_report;
pub use probe::ChallengeProbe;
pub use probe::ProbeCategory;
pub use probe::ProbeExpectation;
pub use probe::ProbePackReport;
pub use probe::ProbeRunResult;
pub use probe::challenge_probe_pack;
pub use probe::run_probe_pack;
pub use release_risk::ReleaseCandidateRiskSnapshot;
pub use release_risk::ReleaseRiskAssessment;
pub use release_risk::ReleaseRiskBreakdown;
pub use release_risk::ReleaseRiskInput;
pub use release_risk::ReleaseRiskLevel;
pub use release_risk::ReleaseRiskThresholds;
pub use release_risk::ReleaseRiskWeights;
pub use release_risk::ReleaseTrendDirection;
pub use release_risk::ReleaseTrendPoint;
pub use release_risk::ReleaseTrendReport;
pub use release_risk::assess_release_risk;
pub use release_risk::build_release_trend_report;
pub use release_risk::release_risk_input_from_reports;
pub use snapshot::FingerprintSignals;
pub use snapshot::NormalizedFingerprintSnapshot;
pub use snapshot::ScreenFingerprint;
pub use snapshot::SnapshotCoherenceReport;
pub use snapshot::SnapshotCoherenceViolation;
pub use snapshot::SnapshotCollectionError;
pub use snapshot::SnapshotCompatibilityError;
pub use snapshot::SnapshotDeterminismOptions;
pub use snapshot::SnapshotDriftReport;
pub use snapshot::SnapshotMode;
pub use snapshot::SnapshotSignalDrift;
pub use snapshot::SnapshotSignalDriftKind;
pub use snapshot::TlsFingerprint;
pub use snapshot::WebGlFingerprint;
pub use snapshot::collect_deterministic_snapshot_bytes;
pub use snapshot::compare_snapshot_signal_drift;
pub use snapshot::evaluate_snapshot_coherence;
pub use snapshot::normalize_snapshot_for_determinism;
pub use snapshot::validate_snapshot_compatibility;
pub use types::AdapterStrategy;
pub use types::AntiBotProvider;
pub use types::AntiBotRequirement;
pub use types::BlockedRatioSlo;
pub use types::Detection;
pub use types::ExecutionMode;
pub use types::HarClassificationReport;
pub use types::HarRequestSummary;
pub use types::HostSummary;
pub use types::IntegrationRecommendation;
pub use types::InvestigationBundle;
pub use types::InvestigationDiff;
pub use types::InvestigationReport;
pub use types::MarkerCount;
pub use types::ProviderScore;
pub use types::RequirementLevel;
pub use types::RequirementsProfile;
pub use types::RuntimePolicy;
pub use types::SessionMode;
pub use types::TargetClass;
pub use types::TelemetryLevel;
pub use types::TransactionView;

Modules§

acquisition
Mapping layer from runtime policy to acquisition strategy hints. Pure mapping from Charon policy outputs to acquisition-runner input hints.
adaptive
Adaptive SLO policy interfaces and regression-history implementation.
analyzer
Versioned analyzer interfaces and profile selection.
backtest
Historical HAR replay across analyzer profiles.
bundle
Diagnostic bundle API with redaction policy.
cache
Investigation report cache backends and cache key helpers.
classifier
Provider signature classification logic.
differential
Mode differential regression runner across snapshot capture modes.
har
HAR parsing and extraction utilities.
investigation
Investigation reports and baseline/candidate diffing.
metrics
Telemetry and metrics collection (feature-gated). Telemetry and metrics collection for SLO assessment and escalation operations.
observatory
External observatory runner and comparison reports.
policy
Runtime policy planning based on investigation output.
probe
Challenge-style probe pack for adversarial and regression testing.
release_risk
Release risk scoring and release-candidate trend reporting.
snapshot
Normalized fingerprint snapshot schema types and compatibility checks.
types
Public types for transaction and report models.