Re-exports§
pub use ai_firewall::LlmFirewall;pub use ai_firewall::PromptSafetyReport;pub use ai_firewall::PromptThreatCategory;pub use ai_firewall::ai_firewall_middleware;pub use audit::AuditChain;pub use audit::AuditLogger;pub use audit::AuditRecord;pub use audit::MIN_AUDIT_KEY_BYTES;pub use audit::StdoutAuditLogger;pub use cswsh::CswsPolicy;pub use cswsh::CswsPolicyError;pub use cswsh::cswsh_guard_middleware;pub use deception::MAX_DECEPTION_TRAPS;pub use deception::deception_trap_middleware;pub use deception::register_deception_trap;pub use deception::try_register_deception_trap;pub use digest::sha256_hex;pub use dlp::DlpLayer;pub use dlp::DlpResponseLayer;pub use dlp::DlpResponseService;pub use dlp::DlpService;pub use dlp::mask_response_payload;pub use headers::SecureHeadersConfig;pub use headers::SecureHeadersLayer;pub use headers::SecureHeadersService;pub use honey::DEFAULT_HONEYPOT_BAN_TTL;pub use honey::DEFAULT_MAX_HONEYPOT_BANS;pub use honey::HoneypotLayer;pub use honey::HoneypotService;pub use honey::HoneypotState;pub use honey::MAX_HONEYPOT_TRAP_PATHS;pub use log_redactor::redact_secrets;pub use login_guard::LoginGuard;pub use mfa::MIN_TOTP_SECRET_BYTES;pub use mfa::build_mfa_qr_svg;pub use mfa::build_otpauth_uri;pub use mfa::decode_base32;pub use mfa::generate_mfa_secret;pub use mfa::generate_totp_code;pub use mfa::try_generate_mfa_secret;pub use mfa::verify_totp_code;pub use rasp::RaspInspector;pub use rasp::RaspSecurityLayer;pub use rasp::RaspSecurityService;pub use rate_limit::RateLimitBackend;pub use rate_limit::RateLimitError;pub use rate_limit::RateLimiter;pub use rate_limit::is_rate_limited;pub use rate_limit::rate_limit_middleware;pub use rbac::RbacGuard;pub use rbac::UserContext;pub use recovery_codes::GeneratedRecoveryCodes;pub use recovery_codes::RecoveryCodeError;pub use recovery_codes::RecoveryCodeVerifier;pub use recovery_codes::consume_recovery_code;pub use recovery_codes::generate_recovery_codes;pub use recovery_codes::verify_recovery_code;pub use sanitizer::HtmlSanitizer;pub use sanitizer::csp::CspSecurityLayer;pub use schema_guard::JsonSchemaPolicy;pub use schema_guard::SchemaPolicyError;pub use schema_guard::inspect_json_payload;pub use schema_guard::json_schema_guard_middleware;pub use schema_guard::schema_guard_middleware;pub use sentinel::ProofOfWorkChallenge;pub use sentinel::ProofOfWorkConfig;pub use sentinel::ProofOfWorkGate;pub use sentinel::SentinelAction;pub use sentinel::SentinelAssessment;pub use sentinel::SentinelError;pub use sentinel::SentinelObservation;pub use sentinel::SentinelOutcome;pub use sentinel::SentinelPolicy;pub use sentinel::ThreatClassifier;pub use sentinel::ThreatPattern;pub use sentinel::ThreatSentinel;pub use siem::AuthenticatedSiemSpool;pub use siem::AuthenticatedSiemSpoolError;pub use siem::AuthenticatedSiemSpoolReceipt;pub use siem::AuthenticatedSiemSpoolSnapshot;pub use siem::DurableSiemSpool;pub use siem::MAX_SIEM_INTEGRITY_KEYS;pub use siem::MAX_SIEM_SPOOL_BYTES;pub use siem::MAX_SIEM_SPOOL_RECORDS;pub use siem::SiemAlertPayload;pub use siem::SiemIntegrityKey;pub use siem::SiemKeyRing;pub use siem::SiemSpoolError;pub use siem::SiemSpoolReceipt;pub use siem::SiemSpoolSnapshot;pub use siem::dispatch_siem_alert;pub use siem::format_cef_event;pub use sri::MAX_SRI_ASSET_BYTES;pub use sri::SriError;pub use sri::compute_sri_hash;pub use sri::sri_link_tag;pub use sri::sri_link_tag_from_file;pub use sri::sri_script_tag;pub use sri::sri_script_tag_from_file;pub use telemetry::LIVE_SECURITY_EVENT_V1_JSON_SCHEMA;pub use telemetry::LiveSecurityEvent;pub use telemetry::SECURITY_EVENT_SCHEMA_VERSION;pub use telemetry::SecurityStore;pub use telemetry::SecurityTelemetry;pub use telemetry::TelemetrySnapshot;pub use telemetry::current_timestamp_str;pub use telemetry::get_real_rss_memory_mb;pub use telemetry::normalize_ip;pub use timing_guard::TimingGuardConfig;pub use timing_guard::TimingScope;pub use timing_guard::equalize_response_time;pub use timing_guard::synthetic_argon2_cpu_work;pub use timing_guard::timing_guard_middleware;pub use vault::FieldEncryptor;pub use vault::VaultError;pub use vault::VaultSecret;pub use zero_trust::MIN_FINGERPRINT_KEY_BYTES;pub use zero_trust::generate_fingerprint;pub use zero_trust::try_generate_fingerprint;pub use zero_trust::verify_fingerprint;pub use error::*;
Modules§
- ai_
firewall - LLM Security Firewall & Prompt Injection Shield v2 (
rullst-security::ai_firewall). - audit
- cswsh
- deception
- digest
- Canonical digest helpers backed by the crate’s existing crypto dependency.
- dlp
- Data Loss Prevention (DLP) Response Interceptor. Intercepts HTTP response streams to prevent accidental leaks of private keys, AWS credentials, and database secrets.
- error
- headers
- Secure response headers with a CSP nonce shared with the request renderer.
- honey
- log_
redactor - Bounded secret-pattern redaction helper for application-owned log pipelines.
- login_
guard - Anti-Bruteforce Tarpit & Login Jail Security Engine. Provides progressive async delay (tarpit) and temporary in-memory jail bans for repeated auth failures.
- mfa
- rasp
- rate_
limit - rbac
- recovery_
codes - Subject-bound single-use recovery-code verifiers for MFA recovery flows.
- sanitizer
- schema_
guard - sentinel
- Deterministic anomaly assessment and an opt-in one-shot proof-of-work gate.
- siem
- sri
- telemetry
- timing_
guard - Anti-Timing Attack User Enumeration Guard (
rullst-security::timing_guard). - vault
- Zero-Trust Secret Management & In-Memory Zeroization (Rullst Vault).
- zero_
trust - Bounded HMAC session binding for application-supplied client observations.
Structs§
- CspNonce
- A cryptographically random CSP nonce associated with one request.