[package] name = "compliance-agent" version = "0.4.6" edition = "2021" [lints] workspace = true [dependencies] compliance-core = { workspace = true, features = ["mongodb", "telemetry", "axum", "secrets"] } control-map = { workspace = true } compliance-graph = { path = "../compliance-graph" } compliance-dast = { path = "../compliance-dast" } # Shared dynamic-execution logic (soft-PLC provisioning + ICS probing), also # used by the Werkbank runner. werkbank-exec = { path = "../werkbank-exec" } # Native firmware build/target detection for bare-metal & RTOS artifacts. # Same-company IP, used directly (not via CLI) so the whole firmwerk suite is # available to the onboarding classifier. Repo: git.breakpilot.com/platform/firmwerk; # crates are firmwerk-* from tag v0.6.0 (declared-dependency SBOM, #38). # NOTE: CI must be able to fetch this # private repo (see the git-auth step in .gitea/workflows/ci.yml). firmwerk-core = { git = "ssh://git@git.breakpilot.com:22222/platform/firmwerk.git", tag = "v0.6.0" } # firmwerk-repro drives the reproducible build (NixBackend seal_and_build) that # yields a sealed lock. firmwerk-repro = { git = "ssh://git@git.breakpilot.com:22222/platform/firmwerk.git", tag = "v0.6.0" } # firmwerk-sbom renders the bill of materials from a sealed lock or, without a # build, from the analysed plan (+ binary SCA). firmwerk-sbom = { git = "ssh://git@git.breakpilot.com:22222/platform/firmwerk.git", tag = "v0.6.0" } serde = { workspace = true } serde_json = { workspace = true } tokio = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true } chrono = { workspace = true } mongodb = { workspace = true } reqwest = { workspace = true } thiserror = { workspace = true } sha2 = { workspace = true } hex = { workspace = true } uuid = { workspace = true } secrecy = { workspace = true } regex = { workspace = true } axum = { version = "0.8", features = ["multipart"] } tower-http = { version = "0.6", features = ["cors", "trace", "set-header"] } git2 = "0.20" octocrab = "0.44" tokio-cron-scheduler = "0.13" dotenvy = "0.15" hmac = "0.12" # Constant-time comparison of the GitLab webhook token. subtle = "2.6" walkdir = "2" # Gradle version catalogs (libs.versions.toml) in mobile and JVM projects. toml = "0.8" # Read-only XML tree parsing for PLCopen project files (POU extraction). roxmltree = "0.20" # kas project files (Yocto layer pins); already in the tree through firmwerk-core. yaml-rust2 = { version = "0.13", default-features = false } base64 = "0.22" urlencoding = "2" futures-util = "0.3" zip = { workspace = true } tar = { workspace = true } flate2 = { workspace = true } tokio-tungstenite = { version = "0.26", features = ["rustls-tls-webpki-roots"] } dashmap = { workspace = true } tokio-stream = { workspace = true } rand = { workspace = true } # PE/ELF headers of committed binaries (hardening, #495). The same version and # features firmwerk-sbom already pulls in, so it adds nothing to the build. object = { version = "0.36", default-features = false, features = ["read", "std"] } [dev-dependencies] compliance-core = { workspace = true, features = ["mongodb", "axum", "secrets"] } tower = { version = "0.5", features = ["util"] } reqwest = { workspace = true } serde_json = { workspace = true } tokio = { workspace = true } mongodb = { workspace = true } uuid = { workspace = true } secrecy = { workspace = true } axum = { version = "0.8", features = ["multipart"] } tower-http = { version = "0.6", features = ["cors"] }