fix(release): one Prüfwerk version in every document, crates at 0.4.6 (#526)
This commit was merged in pull request #526.
This commit is contained in:
1 parent
e1bf9e861c
commit
dd70ec753c
11 files changed
+21
-20
No files matched your search
@@ -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()),
|
||||
|
||||
Reference in new issue
Block a user