[package]
edition = "2021"
name = "security_events"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Security telemetry, redaction, HMAC-sealed events, and audit-friendly event sinks."
documentation = "https://docs.rs/security_events"
readme = "README.md"
keywords = [
"security",
"audit",
"telemetry",
"logging",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kerberosmansour/SunLitSecurityLibraries"
[features]
default = []
http-sink = ["dep:reqwest"]
otel = [
"dep:tracing-opentelemetry",
"dep:opentelemetry",
]
[lib]
name = "security_events"
path = "src/lib.rs"
[[test]]
name = "cve_maswe_0001_sensitive_logs"
path = "tests/cve_maswe_0001_sensitive_logs.rs"
[[test]]
name = "cve_regression"
path = "tests/cve_regression.rs"
[[test]]
name = "e2e_sunlit_m3"
path = "tests/e2e_sunlit_m3.rs"
[[test]]
name = "e2e_sunlit_owasp_m22"
path = "tests/e2e_sunlit_owasp_m22.rs"
[[test]]
name = "mobile_redaction_tests"
path = "tests/mobile_redaction_tests.rs"
[[test]]
name = "prop_redaction"
path = "tests/prop_redaction.rs"
[[test]]
name = "sunlit_events_detection"
path = "tests/sunlit_events_detection.rs"
[[test]]
name = "sunlit_events_redaction"
path = "tests/sunlit_events_redaction.rs"
[[test]]
name = "sunlit_events_sanitize"
path = "tests/sunlit_events_sanitize.rs"
[[test]]
name = "sunlit_events_schema"
path = "tests/sunlit_events_schema.rs"
[[test]]
name = "sunlit_owasp_hmac"
path = "tests/sunlit_owasp_hmac.rs"
[[test]]
name = "sunlit_owasp_sinks"
path = "tests/sunlit_owasp_sinks.rs"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.opentelemetry]
version = "0.27"
optional = true
[dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"json",
"rustls-tls",
]
optional = true
default-features = false
[dependencies.security_core]
version = "0.1.2"
package = "security_core"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.time]
version = "0.3"
features = [
"serde",
"formatting",
"parsing",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-opentelemetry]
version = "0.27"
optional = true
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"json",
]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.secure_errors]
version = "0.1.1"
package = "secure_errors"
[dev-dependencies.serde_json]
version = "1"