Files
pruefwerk/Cargo.toml
T
Sharang ParnerkarandClaude Opus 5.5 499e82bf53
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 7m26s
feat(ingest): unpack tar and tar.gz source archives (#335)
Only zip was unpacked. A .tar.gz upload was kept as one opaque file and
the scan still finished as "completed" with nothing analysed.

- The archive format is read from the blob's first bytes (zip, tar, gzip
  holding a tar); the stored blob has no file name to go by.
- tar and tar.gz are held to the same ExtractLimits as zip (entry count,
  bytes actually written). Entries that would leave the destination are
  skipped, and links, devices and FIFOs are never created.
- An uploaded source archive that cannot be unpacked fails the scan run
  with the reason, and ingest failures are recorded as a skipped stage,
  instead of completing over a tree that was never there. PLC projects and
  mobile packages keep their single-file fallback.
- Zip extraction moved from ingest/blob.rs into ingest/archive.rs.
- Nightly target archive-order-intake-tgz uploads the archive fixture as
  a .tar.gz; its baseline is identical to the zip's.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-09-23 13:05:39 +02:00

45 lines
1.3 KiB
TOML

[workspace]
members = [
"compliance-core",
"compliance-agent",
"compliance-dashboard",
"compliance-graph",
"compliance-dast",
"compliance-mcp",
"compliance-smoke",
"werkbank-exec",
"control-map",
]
resolver = "2"
[workspace.lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
[workspace.dependencies]
compliance-core = { path = "compliance-core", default-features = false }
control-map = { path = "control-map" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
chrono = { version = "0.4", features = ["serde"] }
mongodb = { version = "3", features = ["rustls-tls", "compat-3-0-0"] }
reqwest = { version = "0.12", features = ["json", "rustls-tls", "multipart", "cookies", "stream"], default-features = false }
thiserror = "2"
sha2 = "0.10"
hex = "0.4"
uuid = { version = "1", features = ["v4", "v5", "serde"] }
secrecy = { version = "0.10", features = ["serde"] }
regex = "1"
zip = { version = "2", features = ["aes-crypto", "deflate"] }
# Uploaded tar and tar.gz source archives (ingest).
tar = "0.4"
flate2 = "1"
dashmap = "6"
tokio-stream = { version = "0.1", features = ["sync"] }
aes-gcm = "0.10"
rand = "0.9"
base64 = "0.22"