@securitychecks/cli 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.js CHANGED
@@ -1070,7 +1070,7 @@ function createEmptyWaiverFile(version = "0.0.0") {
1070
1070
  entries: {}
1071
1071
  };
1072
1072
  }
1073
- var CLI_VERSION = "0.4.0";
1073
+ var CLI_VERSION = "0.5.0";
1074
1074
  var SCHECK_DIR = ".scheck";
1075
1075
  var BASELINE_FILE = "baseline.json";
1076
1076
  var WAIVER_FILE = "waivers.json";
@@ -1889,7 +1889,7 @@ function toObservation(correlation, framework) {
1889
1889
  signals: correlation.compoundingEffect.signals
1890
1890
  },
1891
1891
  meta: {
1892
- clientVersion: "0.4.0",
1892
+ clientVersion: "0.5.0",
1893
1893
  requestId: randomUUID(),
1894
1894
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
1895
1895
  }
@@ -1907,7 +1907,7 @@ async function reportCorrelations(result, config, framework) {
1907
1907
  correlations: observations,
1908
1908
  summary: result.stats,
1909
1909
  meta: {
1910
- clientVersion: "0.4.0",
1910
+ clientVersion: "0.5.0",
1911
1911
  framework
1912
1912
  }
1913
1913
  };
@@ -1919,7 +1919,7 @@ async function reportCorrelations(result, config, framework) {
1919
1919
  headers: {
1920
1920
  "Content-Type": "application/json",
1921
1921
  ...config.apiKey && { Authorization: `Bearer ${config.apiKey}` },
1922
- "X-Client-Version": "0.4.0"
1922
+ "X-Client-Version": "0.5.0"
1923
1923
  },
1924
1924
  body: JSON.stringify(payload),
1925
1925
  signal: controller.signal
@@ -1995,7 +1995,7 @@ function buildTelemetry(result, options) {
1995
1995
  } : void 0,
1996
1996
  meta: {
1997
1997
  duration: result.duration,
1998
- clientVersion: "0.4.0",
1998
+ clientVersion: "0.5.0",
1999
1999
  mode: options.mode ?? (ciProvider ? "ci" : "manual"),
2000
2000
  ciProvider
2001
2001
  },
@@ -2556,7 +2556,7 @@ function computePostureSummary(entries) {
2556
2556
  };
2557
2557
  }
2558
2558
  function buildPostureProofArtifact(result, readiness, entries, summary, allInvariantsCount, options) {
2559
- const cliVersion = "0.4.0";
2559
+ const cliVersion = "0.5.0";
2560
2560
  const filesAnalyzed = result.artifact?.services?.length ?? 0;
2561
2561
  return {
2562
2562
  version: "1.0",