fix(release): one Prüfwerk version in every document, crates at 0.4.6
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 11m15s
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 11m15s
The evidence pack's manifest and enisa-drafts.json named the crate version (0.4.4, never bumped) while the VEX, CSAF and dashboard ENISA downloads named the release tag the image was built from (0.4.5). The evidence pack now uses BUILD_VERSION as well: PRUEFWERK_VERSION at build time (CI: the latest v* tag), else the crate version. The crates are bumped to 0.4.6, the version of the next promotion, so the fallback matches too. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
This commit is contained in:
1 parent
e1bf9e861c
commit
11e9ac5bec
11 files changed
+21
-20
No files matched your search
Generated
+9
-9
@@ -691,7 +691,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "compliance-agent"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"base64",
|
||||
@@ -744,7 +744,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "compliance-core"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
dependencies = [
|
||||
"aes-gcm",
|
||||
"axum",
|
||||
@@ -775,7 +775,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "compliance-dashboard"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"axum",
|
||||
@@ -815,7 +815,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "compliance-dast"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"bollard",
|
||||
@@ -841,7 +841,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "compliance-graph"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
dependencies = [
|
||||
"bson",
|
||||
"chrono",
|
||||
@@ -865,7 +865,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "compliance-mcp"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"bson",
|
||||
@@ -889,7 +889,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "compliance-smoke"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"compliance-core",
|
||||
@@ -1016,7 +1016,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "control-map"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -6978,7 +6978,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "werkbank-exec"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
dependencies = [
|
||||
"compliance-core",
|
||||
"compliance-dast",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "compliance-agent"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -19,6 +19,7 @@ use compliance_core::models::oscal_assessment::assess;
|
||||
use compliance_core::models::{CveAlert, Finding, OnboardedTarget, SbomEntry, ScanRun, SkipCode};
|
||||
use compliance_core::{csaf_docs, enisa_docs, sbom_docs, vex_docs};
|
||||
|
||||
use crate::api::handlers::platform::BUILD_VERSION;
|
||||
use crate::error::AgentError;
|
||||
|
||||
/// Where the image records the versions of the tools it ships.
|
||||
@@ -71,7 +72,7 @@ pub fn build_pack(
|
||||
at: DateTime<Utc>,
|
||||
) -> Result<(Vec<u8>, Vec<ManifestFile>), AgentError> {
|
||||
let subject = inputs.target.name.as_str();
|
||||
let tooling = format!("Prüfwerk {}", env!("CARGO_PKG_VERSION"));
|
||||
let tooling = format!("Prüfwerk {BUILD_VERSION}");
|
||||
// The VEX statements on the CVE alerts (#498).
|
||||
let vex = vex_docs::VexInput {
|
||||
subject,
|
||||
@@ -149,7 +150,7 @@ pub fn build_pack(
|
||||
let catalog = control_map::ControlMap::cra_source();
|
||||
let manifest = Manifest {
|
||||
product: "Prüfwerk",
|
||||
version: env!("CARGO_PKG_VERSION"),
|
||||
version: BUILD_VERSION,
|
||||
generated_at: at,
|
||||
target: serde_json::json!({
|
||||
"id": inputs.target.id.map(|id| id.to_hex()),
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "compliance-core"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "compliance-dashboard"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
edition = "2021"
|
||||
default-run = "compliance-dashboard"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "compliance-dast"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "compliance-graph"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "compliance-mcp"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "compliance-smoke"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
edition = "2021"
|
||||
description = "Tiny Axum service exercising compliance-core M7.1 tenant gating. Run smoke.sh against it before merging anything that touches the auth/tenant path."
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "control-map"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "werkbank-exec"
|
||||
version = "0.4.4"
|
||||
version = "0.4.6"
|
||||
edition = "2021"
|
||||
description = "Shared dynamic-execution logic: soft-PLC provisioning + industrial-protocol probing, used by the compliance agent and the Werkbank runner."
|
||||
|
||||
|
||||
Reference in new issue
Block a user