Skip to main content

Module handlers

Module handlers 

Source
Expand description

HTTP handlers module

Re-exports§

pub use ab_testing::ab_testing_router;
pub use ab_testing::ABTestingState;
pub use access_review::access_review_router;
pub use access_review::AccessReviewState;
pub use access_review::ApproveAccessRequest;
pub use access_review::RevokeAccessRequest;
pub use auth_helpers::OptionalAuthClaims;
pub use change_management::change_management_router;
pub use change_management::ChangeManagementState;
pub use compliance_dashboard::compliance_dashboard_router;
pub use compliance_dashboard::ComplianceDashboardState;
pub use consumer_contracts::consumer_contracts_router;
pub use consumer_contracts::ConsumerContractsState;
pub use contract_health::contract_health_router;
pub use contract_health::ContractHealthState;
pub use deceptive_canary::get_canary_config;
pub use deceptive_canary::get_canary_stats;
pub use deceptive_canary::update_canary_config;
pub use drift_budget::drift_budget_router;
pub use drift_budget::DriftBudgetState;
pub use failure_designer::generate_scenario;
pub use failure_designer::preview_config;
pub use failure_designer::validate_rule;
pub use failure_designer::FailureDesignerState;
pub use incident_replay::generate_replay;
pub use incident_replay::import_and_generate;
pub use incident_replay::import_incident;
pub use incident_replay::IncidentReplayState;
pub use performance::performance_router;
pub use performance::PerformanceState;
pub use privileged_access::privileged_access_router;
pub use privileged_access::PrivilegedAccessState;
pub use protocol_contracts::protocol_contracts_router;
pub use protocol_contracts::ProtocolContractState;
pub use risk_assessment::risk_assessment_router;
pub use risk_assessment::RiskAssessmentState;
pub use snapshots::snapshot_router;
pub use snapshots::SnapshotState;
pub use token_lifecycle::token_lifecycle_router;
pub use token_lifecycle::TokenLifecycleState;
pub use webhook_test::webhook_test_router;
pub use webhook_test::WebhookTestState;
pub use world_state::world_state_router;
pub use world_state::WorldStateState;

Modules§

ab_testing
A/B Testing API handlers
access_review
Access review API handlers
auth_helpers
Authentication helper functions for handlers
change_management
HTTP handlers for change management
compliance_dashboard
HTTP handlers for compliance dashboard
consent
Consent screen handlers
consumer_contracts
Consumer contracts handlers
contract_health
Unified contract health timeline
deceptive_canary
Deceptive Canary API handlers
drift_budget
Drift budget and incident management handlers
failure_designer
Failure Designer API handlers
incident_replay
Incident Replay API handlers
oauth2_server
OAuth2 server endpoints
performance
Performance Mode API handlers
pr_generation
PR generation handlers — re-export shim.
privileged_access
HTTP handlers for privileged access management
protocol_contracts
Protocol contract management handlers
risk_assessment
HTTP handlers for risk assessment
risk_simulation
Risk simulation API handlers
snapshot_diff
Snapshot Diff API Handlers
snapshots
Snapshot management API handlers
token_lifecycle
Token lifecycle test scenario handlers
webhook_test
Webhook testing utilities and endpoints
world_state
World State API handlers

Structs§

AiStudioState
State for AI Studio handlers
ConsistencyState
State for consistency handlers
FidelityState
State for fidelity handlers
ForecastingState
State for forecasting handlers
PRGenerationState
State for PR generation handlers
ScenarioStudioState
State for scenario studio handlers
SemanticDriftState
State for semantic drift handlers
ThreatModelingState
State for threat modeling handlers

Functions§

ai_studio_router
Build AI Studio router
calculate_fidelity
Calculate fidelity score
consistency_router
Create consistency router
fidelity_router
Create fidelity router
forecasting_router
Create router for forecasting endpoints
get_fidelity
Get fidelity score for a workspace
pr_generation_router
Create PR generation router
scenario_studio_router
Create scenario studio router
semantic_drift_router
Create router for semantic drift endpoints
threat_modeling_router
Create router for threat modeling endpoints
xray_router
Create X-Ray router