@cyclonedx/cdxgen 12.4.0 → 12.4.1
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/README.md +6 -4
- package/bin/cdxgen.js +32 -11
- package/bin/convert.js +12 -8
- package/bin/hbom.js +13 -8
- package/bin/repl.js +14 -10
- package/bin/validate.js +10 -13
- package/bin/verify.js +7 -29
- package/data/cyclonedx-2.0-bundled.schema.json +7182 -0
- package/lib/audit/index.js +2 -1
- package/lib/cli/index.js +21 -11
- package/lib/cli/index.poku.js +117 -0
- package/lib/helpers/bomUtils.js +155 -1
- package/lib/helpers/bomUtils.poku.js +79 -1
- package/lib/helpers/plugins.js +17 -16
- package/lib/helpers/protobom.js +53 -0
- package/lib/helpers/protobom.poku.js +44 -1
- package/lib/helpers/protobomLoader.js +43 -0
- package/lib/helpers/protobomLoader.poku.js +31 -0
- package/lib/server/server.js +2 -1
- package/lib/stages/postgen/postgen.js +219 -12
- package/lib/stages/postgen/postgen.poku.js +163 -0
- package/lib/validator/bomValidator.js +90 -38
- package/lib/validator/bomValidator.poku.js +90 -0
- package/lib/validator/complianceRules.js +4 -2
- package/lib/validator/index.poku.js +14 -0
- package/package.json +1 -1
- package/types/bin/repl.d.ts +1 -1
- package/types/bin/repl.d.ts.map +1 -1
- package/types/lib/audit/index.d.ts.map +1 -1
- package/types/lib/cli/index.d.ts.map +1 -1
- package/types/lib/helpers/bomUtils.d.ts +10 -0
- package/types/lib/helpers/bomUtils.d.ts.map +1 -1
- package/types/lib/helpers/hbomAnalysis.d.ts +14 -0
- package/types/lib/helpers/hbomAnalysis.d.ts.map +1 -1
- package/types/lib/helpers/hostTopology.d.ts.map +1 -1
- package/types/lib/helpers/plugins.d.ts.map +1 -1
- package/types/lib/helpers/protobom.d.ts +2 -0
- package/types/lib/helpers/protobom.d.ts.map +1 -1
- package/types/lib/helpers/protobomLoader.d.ts +17 -0
- package/types/lib/helpers/protobomLoader.d.ts.map +1 -0
- package/types/lib/server/server.d.ts.map +1 -1
- package/types/lib/stages/postgen/postgen.d.ts.map +1 -1
- package/types/lib/stages/postgen/ruleEngine.d.ts.map +1 -1
- package/types/lib/third-party/arborist/lib/node.d.ts +23 -0
- package/types/lib/third-party/arborist/lib/node.d.ts.map +1 -1
- package/types/lib/validator/bomValidator.d.ts.map +1 -1
- package/types/lib/validator/complianceRules.d.ts.map +1 -1
|
@@ -6,6 +6,10 @@ import Ajv2020 from "ajv/dist/2020.js";
|
|
|
6
6
|
import addFormats from "ajv-formats";
|
|
7
7
|
import { PackageURL } from "packageurl-js";
|
|
8
8
|
|
|
9
|
+
import {
|
|
10
|
+
isCycloneDxSpecVersionAtLeast,
|
|
11
|
+
toCycloneDxSpecVersionString,
|
|
12
|
+
} from "../helpers/bomUtils.js";
|
|
9
13
|
import { thoughtLog } from "../helpers/logger.js";
|
|
10
14
|
import { DEBUG_MODE, dirNameStr, isPartialTree } from "../helpers/utils.js";
|
|
11
15
|
import {
|
|
@@ -14,6 +18,13 @@ import {
|
|
|
14
18
|
} from "../stages/postgen/spdxConverter.js";
|
|
15
19
|
|
|
16
20
|
const dirName = dirNameStr;
|
|
21
|
+
const SUPPORTED_CYCLONEDX_SCHEMA_VERSIONS = new Set([
|
|
22
|
+
"1.4",
|
|
23
|
+
"1.5",
|
|
24
|
+
"1.6",
|
|
25
|
+
"1.7",
|
|
26
|
+
"2.0",
|
|
27
|
+
]);
|
|
17
28
|
const PLACEHOLDER_COMPONENT_NAMES = new Set(["app", "application", "project"]);
|
|
18
29
|
const SPDX_EXPORT_TYPES = new Set([
|
|
19
30
|
"CreationInfo",
|
|
@@ -23,6 +34,74 @@ const SPDX_EXPORT_TYPES = new Set([
|
|
|
23
34
|
"software_Package",
|
|
24
35
|
]);
|
|
25
36
|
let spdxExportSchemaValidator;
|
|
37
|
+
const cycloneDxSchemaValidators = new Map();
|
|
38
|
+
|
|
39
|
+
const AJV_OPTIONS = {
|
|
40
|
+
strict: false,
|
|
41
|
+
logger: false,
|
|
42
|
+
verbose: true,
|
|
43
|
+
code: {
|
|
44
|
+
source: true,
|
|
45
|
+
lines: true,
|
|
46
|
+
optimize: true,
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
const readJsonSchema = (fileName) =>
|
|
51
|
+
JSON.parse(readFileSync(join(dirName, "data", fileName), "utf-8"));
|
|
52
|
+
|
|
53
|
+
const addDraft2020BundledSchema = (ajv, schema, schemaId) => {
|
|
54
|
+
const bundledSchema = { ...schema };
|
|
55
|
+
delete bundledSchema.$schema;
|
|
56
|
+
bundledSchema.$id = schemaId;
|
|
57
|
+
ajv.addSchema(bundledSchema);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
const getCycloneDxSchemaValidator = (specVersion) => {
|
|
61
|
+
if (cycloneDxSchemaValidators.has(specVersion)) {
|
|
62
|
+
return cycloneDxSchemaValidators.get(specVersion);
|
|
63
|
+
}
|
|
64
|
+
let validate;
|
|
65
|
+
if (isCycloneDxSpecVersionAtLeast(specVersion, "2.0")) {
|
|
66
|
+
const ajv = new Ajv2020(AJV_OPTIONS);
|
|
67
|
+
addFormats(ajv);
|
|
68
|
+
addDraft2020BundledSchema(
|
|
69
|
+
ajv,
|
|
70
|
+
readJsonSchema("cryptography-defs.schema.json"),
|
|
71
|
+
"https://cyclonedx.org/schema/cryptography-defs.schema.json",
|
|
72
|
+
);
|
|
73
|
+
addDraft2020BundledSchema(
|
|
74
|
+
ajv,
|
|
75
|
+
readJsonSchema("jsf-0.82.schema.json"),
|
|
76
|
+
"https://cyclonedx.org/schema/jsf-0.82.schema.json",
|
|
77
|
+
);
|
|
78
|
+
addDraft2020BundledSchema(
|
|
79
|
+
ajv,
|
|
80
|
+
readJsonSchema("spdx.schema.json"),
|
|
81
|
+
"https://cyclonedx.org/schema/spdx.schema.json",
|
|
82
|
+
);
|
|
83
|
+
validate = ajv.compile(readJsonSchema("cyclonedx-2.0-bundled.schema.json"));
|
|
84
|
+
} else {
|
|
85
|
+
const schemas = [
|
|
86
|
+
readJsonSchema(`bom-${specVersion}.schema.json`),
|
|
87
|
+
readJsonSchema("jsf-0.82.schema.json"),
|
|
88
|
+
readJsonSchema("spdx.schema.json"),
|
|
89
|
+
];
|
|
90
|
+
if (isCycloneDxSpecVersionAtLeast(specVersion, "1.7")) {
|
|
91
|
+
schemas.push(readJsonSchema("cryptography-defs.schema.json"));
|
|
92
|
+
}
|
|
93
|
+
const ajv = new Ajv({
|
|
94
|
+
...AJV_OPTIONS,
|
|
95
|
+
schemas,
|
|
96
|
+
});
|
|
97
|
+
addFormats(ajv);
|
|
98
|
+
validate = ajv.getSchema(
|
|
99
|
+
`http://cyclonedx.org/schema/bom-${specVersion}.schema.json`,
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
cycloneDxSchemaValidators.set(specVersion, validate);
|
|
103
|
+
return validate;
|
|
104
|
+
};
|
|
26
105
|
|
|
27
106
|
const getSpdxElementId = (element) => element?.spdxId || element?.["@id"];
|
|
28
107
|
|
|
@@ -36,6 +115,7 @@ const getSpdxExportSchemaValidator = () => {
|
|
|
36
115
|
);
|
|
37
116
|
const ajv = new Ajv2020({
|
|
38
117
|
strict: false,
|
|
118
|
+
validateSchema: false,
|
|
39
119
|
logger: false,
|
|
40
120
|
verbose: true,
|
|
41
121
|
code: {
|
|
@@ -63,44 +143,16 @@ export const validateBom = (bomJson) => {
|
|
|
63
143
|
if (!bomJson) {
|
|
64
144
|
return true;
|
|
65
145
|
}
|
|
66
|
-
const specVersion = bomJson.specVersion;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
);
|
|
76
|
-
const spdxSchema = JSON.parse(
|
|
77
|
-
readFileSync(join(dirName, "data", "spdx.schema.json"), "utf-8"),
|
|
78
|
-
);
|
|
79
|
-
const cryptoDefSchema = JSON.parse(
|
|
80
|
-
readFileSync(
|
|
81
|
-
join(dirName, "data", "cryptography-defs.schema.json"),
|
|
82
|
-
"utf-8",
|
|
83
|
-
),
|
|
84
|
-
);
|
|
85
|
-
const schemas = [schema, defsSchema, spdxSchema];
|
|
86
|
-
if (specVersion >= 1.7) {
|
|
87
|
-
schemas.push(cryptoDefSchema);
|
|
88
|
-
}
|
|
89
|
-
const ajv = new Ajv({
|
|
90
|
-
schemas,
|
|
91
|
-
strict: false,
|
|
92
|
-
logger: false,
|
|
93
|
-
verbose: true,
|
|
94
|
-
code: {
|
|
95
|
-
source: true,
|
|
96
|
-
lines: true,
|
|
97
|
-
optimize: true,
|
|
98
|
-
},
|
|
99
|
-
});
|
|
100
|
-
addFormats(ajv);
|
|
101
|
-
const validate = ajv.getSchema(
|
|
102
|
-
`http://cyclonedx.org/schema/bom-${specVersion}.schema.json`,
|
|
103
|
-
);
|
|
146
|
+
const specVersion = toCycloneDxSpecVersionString(bomJson.specVersion);
|
|
147
|
+
if (!SUPPORTED_CYCLONEDX_SCHEMA_VERSIONS.has(specVersion)) {
|
|
148
|
+
console.log(
|
|
149
|
+
`Unsupported CycloneDX specVersion '${bomJson.specVersion}'. Supported versions are ${[
|
|
150
|
+
...SUPPORTED_CYCLONEDX_SCHEMA_VERSIONS,
|
|
151
|
+
].join(", ")}.`,
|
|
152
|
+
);
|
|
153
|
+
return false;
|
|
154
|
+
}
|
|
155
|
+
const validate = getCycloneDxSchemaValidator(specVersion);
|
|
104
156
|
const isValid = validate(bomJson);
|
|
105
157
|
if (!isValid) {
|
|
106
158
|
if (bomJson.metadata?.component?.name) {
|
|
@@ -1,7 +1,97 @@
|
|
|
1
|
+
import { readFileSync as actualReadFileSync } from "node:fs";
|
|
2
|
+
|
|
1
3
|
import esmock from "esmock";
|
|
2
4
|
import { assert, describe, it } from "poku";
|
|
3
5
|
import sinon from "sinon";
|
|
4
6
|
|
|
7
|
+
import { validateBom } from "./bomValidator.js";
|
|
8
|
+
|
|
9
|
+
const validCycloneDx20Bom = {
|
|
10
|
+
specFormat: "CycloneDX",
|
|
11
|
+
specVersion: "2.0",
|
|
12
|
+
serialNumber: "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
|
|
13
|
+
version: 1,
|
|
14
|
+
metadata: {
|
|
15
|
+
component: {
|
|
16
|
+
"bom-ref": "pkg:generic/demo@1.0.0",
|
|
17
|
+
name: "demo",
|
|
18
|
+
purl: "pkg:generic/demo@1.0.0",
|
|
19
|
+
type: "application",
|
|
20
|
+
version: "1.0.0",
|
|
21
|
+
},
|
|
22
|
+
tools: {
|
|
23
|
+
components: [{ type: "application", name: "cdxgen", version: "12.4.0" }],
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
components: [
|
|
27
|
+
{
|
|
28
|
+
"bom-ref": "pkg:npm/lodash@4.17.21",
|
|
29
|
+
name: "lodash",
|
|
30
|
+
purl: "pkg:npm/lodash@4.17.21",
|
|
31
|
+
type: "library",
|
|
32
|
+
version: "4.17.21",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
dependencies: [
|
|
36
|
+
{
|
|
37
|
+
ref: "pkg:generic/demo@1.0.0",
|
|
38
|
+
dependsOn: ["pkg:npm/lodash@4.17.21"],
|
|
39
|
+
},
|
|
40
|
+
{ ref: "pkg:npm/lodash@4.17.21", dependsOn: [] },
|
|
41
|
+
],
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
describe("validateBom()", () => {
|
|
45
|
+
it("validates CycloneDX 2.0-dev JSON against the bundled schema", () => {
|
|
46
|
+
assert.strictEqual(validateBom(validCycloneDx20Bom), true);
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
it("returns a clear validation failure for unsupported spec versions", async () => {
|
|
50
|
+
const readFileSyncStub = sinon.stub();
|
|
51
|
+
const consoleLogStub = sinon.stub(console, "log");
|
|
52
|
+
try {
|
|
53
|
+
const { validateBom } = await esmock("./bomValidator.js", {
|
|
54
|
+
"node:fs": {
|
|
55
|
+
readFileSync: readFileSyncStub,
|
|
56
|
+
},
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
assert.strictEqual(
|
|
60
|
+
validateBom({ bomFormat: "CycloneDX", specVersion: "2.0.1" }),
|
|
61
|
+
false,
|
|
62
|
+
);
|
|
63
|
+
sinon.assert.notCalled(readFileSyncStub);
|
|
64
|
+
sinon.assert.calledWithMatch(
|
|
65
|
+
consoleLogStub,
|
|
66
|
+
"Unsupported CycloneDX specVersion '2.0.1'.",
|
|
67
|
+
);
|
|
68
|
+
} finally {
|
|
69
|
+
consoleLogStub.restore();
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
it("caches compiled CycloneDX schema validators by spec version", async () => {
|
|
74
|
+
const readFileSyncStub = sinon
|
|
75
|
+
.stub()
|
|
76
|
+
.callsFake((...args) => actualReadFileSync(...args));
|
|
77
|
+
const { validateBom } = await esmock("./bomValidator.js", {
|
|
78
|
+
"node:fs": {
|
|
79
|
+
readFileSync: readFileSyncStub,
|
|
80
|
+
},
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
assert.strictEqual(validateBom(validCycloneDx20Bom), true);
|
|
84
|
+
const readCountAfterFirstValidation = readFileSyncStub.callCount;
|
|
85
|
+
assert.ok(readCountAfterFirstValidation > 0);
|
|
86
|
+
|
|
87
|
+
assert.strictEqual(validateBom(validCycloneDx20Bom), true);
|
|
88
|
+
assert.strictEqual(
|
|
89
|
+
readFileSyncStub.callCount,
|
|
90
|
+
readCountAfterFirstValidation,
|
|
91
|
+
);
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
|
|
5
95
|
describe("validateSpdx()", () => {
|
|
6
96
|
it("lazy-loads the bundled SPDX export schema on first validation call", async () => {
|
|
7
97
|
const readFileSyncStub = sinon
|
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
|
|
37
37
|
import { PackageURL } from "packageurl-js";
|
|
38
38
|
|
|
39
|
+
import { isCycloneDxBom } from "../helpers/bomUtils.js";
|
|
40
|
+
|
|
39
41
|
/**
|
|
40
42
|
* Extract the first SPDX-ish license id from a CycloneDX component's licenses
|
|
41
43
|
* block. Returns null when no license is declared.
|
|
@@ -325,7 +327,7 @@ const SCVS_RULES = [
|
|
|
325
327
|
scvsLevels: ["L1", "L2", "L3"],
|
|
326
328
|
automatable: true,
|
|
327
329
|
evaluate(bomJson) {
|
|
328
|
-
if (
|
|
330
|
+
if (!isCycloneDxBom(bomJson)) {
|
|
329
331
|
return fail(
|
|
330
332
|
"BOM is not a valid CycloneDX document (bomFormat/specVersion missing).",
|
|
331
333
|
{
|
|
@@ -467,7 +469,7 @@ const SCVS_RULES = [
|
|
|
467
469
|
scvsLevels: ["L1", "L2", "L3"],
|
|
468
470
|
automatable: true,
|
|
469
471
|
evaluate(bomJson) {
|
|
470
|
-
if (bomJson
|
|
472
|
+
if (isCycloneDxBom(bomJson)) {
|
|
471
473
|
return pass(`SBOM format is CycloneDX ${bomJson.specVersion}.`);
|
|
472
474
|
}
|
|
473
475
|
return fail("bomFormat or specVersion missing from the SBOM root.", {
|
|
@@ -46,6 +46,20 @@ function richBom() {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
describe("validateBomAdvanced", () => {
|
|
49
|
+
it("accepts CycloneDX 2.0-dev root fields in compliance evaluation", () => {
|
|
50
|
+
const bom20 = richBom();
|
|
51
|
+
delete bom20.bomFormat;
|
|
52
|
+
bom20.specFormat = "CycloneDX";
|
|
53
|
+
bom20.specVersion = "2.0";
|
|
54
|
+
const report = validateBomAdvanced(bom20, { schema: false });
|
|
55
|
+
assert.strictEqual(
|
|
56
|
+
report.allFindings.some((finding) =>
|
|
57
|
+
/bomFormat\/specVersion missing/.test(finding.message),
|
|
58
|
+
),
|
|
59
|
+
false,
|
|
60
|
+
);
|
|
61
|
+
});
|
|
62
|
+
|
|
49
63
|
it("returns structural, compliance, and benchmark data", () => {
|
|
50
64
|
const report = validateBomAdvanced(richBom(), { schema: false });
|
|
51
65
|
assert.strictEqual(typeof report.schemaValid, "boolean");
|
package/package.json
CHANGED
package/types/bin/repl.d.ts
CHANGED
package/types/bin/repl.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repl.d.ts","sourceRoot":"","sources":["../../bin/repl.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"repl.d.ts","sourceRoot":"","sources":["../../bin/repl.js"],"names":[],"mappings":";AA6WO,2DAoEN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/audit/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/audit/index.js"],"names":[],"mappings":"AAmGA;;;;;GAKG;AACH,qCAHW,MAAM,GACJ,MAAM,CAclB;AAED;;;;;GAKG;AACH,qCAHW,MAAM,GACJ,MAAM,EAAE,CAoBpB;AAED;;;;;GAKG;AACH,uCAHW,MAAM,GACJ;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,CA0BjD;AA6CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DC;AA4bD;;;;;;;;GAQG;AACH,mDAHW,MAAM,GACJ,MAAM,EAAE,CAqdpB;AAkJD;;;;;;GAMG;AACH,uDAJW,MAAM,UACN,MAAM,GACJ;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CA0CnD;AAED;;;;;;;GAOG;AACH,uDALW,MAAM,UACN,MAAM,cACN,MAAM,GACJ;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAuBnD;AAoED;;;;;;;;;GASG;AACH,4DAJW,MAAM,UACN,MAAM,GACJ,MAAM,EAAE,CAkEpB;AA+BD;;;;;;GAMG;AACH,oCAJW,MAAM,WACN,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC,CAiN3B;AAoVD,uDA8CC;AAoBD;;;;;;GAMG;AACH,4CAJW;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,WACrC,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC,CA4I3B;AAED;;;;;GAKG;AACH,kCAHW,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC,CAqB3B;AAED;;;;;;GAMG;AACH,4CAJW,MAAM,WACN,MAAM,GACJ;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAmChD;AAED;;;;;GAKG;AACH,2CAHW,MAAM,GACJ,MAAM,GAAG,SAAS,CAU9B;AA11ED,gDAKE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/cli/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/cli/index.js"],"names":[],"mappings":"AAo8BA;;;;;;;;;GASG;AACH,wCANW,MAAM,cACN,MAAM,OACN,MAAM,UACN,MAAM,GACJ,MAAM,EAAE,CAcpB;AA6bD;;;;;;;GAOG;AACH,mCALW,MAAM,WACN,MAAM,GAEJ,MAAM,CA8ElB;AAED;;;;;;GAMG;AACH,uCAJW,MAAM,WACN,MAAM,GACJ,MAAM,GAAC,SAAS,CAI5B;AAED;;;;;;GAMG;AACH,sCAJW,MAAM,WACN,MAAM,GACJ,MAAM,GAAC,SAAS,CAwB5B;AAED;;;;;;GAMG;AACH,oCAJW,MAAM,WACN,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC,CAouC3B;AAsKD,0EA4/BC;AAgFD;;;;;;;;;;;GAWG;AACH,qDAHW,MAAM,GACJ,MAAM,GAAG,IAAI,CAwEzB;AAED;;;;;;GAMG;AACH,sCAJW,MAAM,WACN,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC,CAylB3B;AAED;;;;;;GAMG;AACH,kCAJW,MAA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-1,5 +1,15 @@
|
|
|
1
1
|
export function isSpdxJsonLd(bomJson: any): boolean;
|
|
2
|
+
export function normalizeCycloneDxSpecVersion(specVersion: any): number | undefined;
|
|
3
|
+
export function toCycloneDxSpecVersionString(specVersion: any): string | undefined;
|
|
4
|
+
export function isCycloneDxSpecVersionAtLeast(specVersion: any, minimumVersion: any): boolean;
|
|
5
|
+
export function isCycloneDx20SpecVersion(specVersion: any): boolean;
|
|
6
|
+
export function getCycloneDxRootFormatKey(specVersionOrBom: any): "specFormat" | "bomFormat";
|
|
7
|
+
export function getCycloneDxFormat(bomJson: any): any;
|
|
8
|
+
export function hasCycloneDxFormat(bomJson: any): boolean;
|
|
2
9
|
export function isCycloneDxBom(bomJson: any): boolean;
|
|
10
|
+
export function setCycloneDxFormat(bomJson: any, specVersion: any, { preserveLegacyBomFormat }?: {
|
|
11
|
+
preserveLegacyBomFormat?: boolean | undefined;
|
|
12
|
+
}): any;
|
|
3
13
|
export function detectBomFormat(bomJson: any): "unknown" | "cyclonedx" | "spdx";
|
|
4
14
|
export function getNonCycloneDxErrorMessage(bomJson: any, commandName?: string): string;
|
|
5
15
|
//# sourceMappingURL=bomUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bomUtils.d.ts","sourceRoot":"","sources":["../../../lib/helpers/bomUtils.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bomUtils.d.ts","sourceRoot":"","sources":["../../../lib/helpers/bomUtils.js"],"names":[],"mappings":"AAQO,oDAKJ;AAEI,oFAGN;AAEM,mFAGN;AAEM,8FAWN;AAEM,oEACwC;AAExC,6FAQN;AAEM,sDACoC;AAEpC,0DAC2C;AAE3C,sDAE4D;AAE5D;;QA4BN;AAEM,gFAQN;AAEM,wFASN"}
|
|
@@ -4,15 +4,22 @@ export function getHbomCommandDiagnosticSummary(bomJson: any): {
|
|
|
4
4
|
commandDiagnosticCount: any;
|
|
5
5
|
commandDiagnostics: any;
|
|
6
6
|
commandErrorCount: any;
|
|
7
|
+
commandErrorIds: string[];
|
|
7
8
|
diagnosticIssues: string[];
|
|
9
|
+
installHintCount: number;
|
|
8
10
|
installHints: string[];
|
|
9
11
|
missingCommandCount: any;
|
|
12
|
+
missingCommandIds: string[];
|
|
10
13
|
missingCommands: string[];
|
|
11
14
|
partialSupportCount: any;
|
|
15
|
+
partialSupportIds: string[];
|
|
12
16
|
permissionDeniedCommands: string[];
|
|
13
17
|
permissionDeniedCount: any;
|
|
18
|
+
permissionDeniedIds: string[];
|
|
19
|
+
privilegeHintCount: number;
|
|
14
20
|
privilegeHints: string[];
|
|
15
21
|
requiresPrivilegedEnrichment: boolean;
|
|
22
|
+
timeoutIds: string[];
|
|
16
23
|
timeoutCount: any;
|
|
17
24
|
};
|
|
18
25
|
export function isHbomLikeBom(bomJson: any): any;
|
|
@@ -29,6 +36,7 @@ export function getHbomSummary(bomJson: any): {
|
|
|
29
36
|
commandDiagnosticCount: any;
|
|
30
37
|
commandDiagnostics: any;
|
|
31
38
|
commandErrorCount: any;
|
|
39
|
+
commandErrorIds: string[];
|
|
32
40
|
componentCount: any;
|
|
33
41
|
diagnosticIssues: string[];
|
|
34
42
|
evidenceCommandCount: any;
|
|
@@ -41,18 +49,24 @@ export function getHbomSummary(bomJson: any): {
|
|
|
41
49
|
count: any;
|
|
42
50
|
}[];
|
|
43
51
|
identifierPolicy: any;
|
|
52
|
+
installHintCount: number;
|
|
44
53
|
installHints: string[];
|
|
45
54
|
manufacturer: any;
|
|
46
55
|
metadataName: any;
|
|
47
56
|
metadataType: any;
|
|
48
57
|
missingCommandCount: any;
|
|
58
|
+
missingCommandIds: string[];
|
|
49
59
|
missingCommands: string[];
|
|
50
60
|
partialSupportCount: any;
|
|
61
|
+
partialSupportIds: string[];
|
|
51
62
|
platform: any;
|
|
52
63
|
permissionDeniedCommands: string[];
|
|
53
64
|
permissionDeniedCount: any;
|
|
65
|
+
permissionDeniedIds: string[];
|
|
66
|
+
privilegeHintCount: number;
|
|
54
67
|
privilegeHints: string[];
|
|
55
68
|
requiresPrivilegedEnrichment: boolean;
|
|
69
|
+
timeoutIds: string[];
|
|
56
70
|
timeoutCount: any;
|
|
57
71
|
topHardwareClasses: {
|
|
58
72
|
hardwareClass: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hbomAnalysis.d.ts","sourceRoot":"","sources":["../../../lib/helpers/hbomAnalysis.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hbomAnalysis.d.ts","sourceRoot":"","sources":["../../../lib/helpers/hbomAnalysis.js"],"names":[],"mappings":"AAoDA,6DAIC;AAED;;;;;;;;;;;;;;;;;;;;;;EAqEC;AAED,iDA2BC;AAED,0DAEC;AAED;;;IAgBC;AAED,oFAKC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgFC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hostTopology.d.ts","sourceRoot":"","sources":["../../../lib/helpers/hostTopology.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hostTopology.d.ts","sourceRoot":"","sources":["../../../lib/helpers/hostTopology.js"],"names":[],"mappings":"AA2mBA,uDAQC;AAED;;;;;;;EAwBC;AAYD,8DA+EC;AAED,0EAwDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../lib/helpers/plugins.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../lib/helpers/plugins.js"],"names":[],"mappings":"AAyCA;;;;GAIG;AACH,uCAFa;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,gBAAgB,EAAE,MAAM,CAAA;CAAC,CAgCpF;AAED;;;;;;;;;;;;;GAaG;AACH,wCAXa;IACR,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,GAAC,SAAS,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,GAAC,SAAS,CAAC;IACrC,aAAa,EAAE,MAAM,GAAC,SAAS,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;CACpB,CAuJH;AAYD;;;;;GAKG;AACH,2CAFa,UAAU,CAAC,OAAO,oBAAoB,CAAC,CASnD;AAED;;;;;GAKG;AACH,kDAHW,UAAU,CAAC,OAAO,oBAAoB,CAAC,GACrC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAWnD;AAoDD;;;;;;GAMG;AACH,8CAJW,MAAM,kBACN,UAAU,CAAC,OAAO,oBAAoB,CAAC,GACrC,MAAM,GAAC,SAAS,CAS5B"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export function isProtoSupportedSpecVersion(specVersion: any): boolean;
|
|
2
|
+
export function assertProtoSupportedSpecVersion(specVersion: any, operation?: string): void;
|
|
1
3
|
export function isProtoBomFile(filePath: string): boolean;
|
|
2
4
|
export function writeBinary(bomJson: string | Object, binFile: string, specVersion?: string | number): void;
|
|
3
5
|
export function readBinary(binFile: string, asJson: boolean, specVersion?: string | number): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protobom.d.ts","sourceRoot":"","sources":["../../../lib/helpers/protobom.js"],"names":[],"mappings":"AA+
|
|
1
|
+
{"version":3,"file":"protobom.d.ts","sourceRoot":"","sources":["../../../lib/helpers/protobom.js"],"names":[],"mappings":"AA+DO,uEASN;AAEM,4FAeN;AA0GM,yCAHI,MAAM,GACJ,OAAO,CAOnB;AASM,qCAJI,MAAM,GAAG,MAAM,WACf,MAAM,gBACN,MAAM,GAAG,MAAM,QAWzB;AASM,oCAJI,MAAM,UACN,OAAO,gBACP,MAAM,GAAG,MAAM,OAiBzB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Determine whether a path looks like a CycloneDX protobuf BOM file.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} filePath File path
|
|
5
|
+
* @returns {boolean} true when the path uses a protobuf BOM extension
|
|
6
|
+
*/
|
|
7
|
+
export function isProtoBomPath(filePath: string): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Import protobuf BOM helpers and replace optional-dependency loader failures
|
|
10
|
+
* with actionable command-specific messages.
|
|
11
|
+
*
|
|
12
|
+
* @param {string} [commandName="cdxgen"] CLI command name
|
|
13
|
+
* @param {string} [featureDescription="protobuf support"] Feature being used
|
|
14
|
+
* @returns {Promise<object>} Loaded protobom module namespace
|
|
15
|
+
*/
|
|
16
|
+
export function importProtobomModule(commandName?: string, featureDescription?: string): Promise<object>;
|
|
17
|
+
//# sourceMappingURL=protobomLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protobomLoader.d.ts","sourceRoot":"","sources":["../../../lib/helpers/protobomLoader.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,yCAHW,MAAM,GACJ,OAAO,CAOnB;AAED;;;;;;;GAOG;AACH,mDAJW,MAAM,uBACN,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC,CAqB3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../lib/server/server.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../lib/server/server.js"],"names":[],"mappings":"AA6FA;;;;;;GAMG;AACH,gCAJW,MAAM,GAAC,MAAM,GAAC,KAAK,CAAC,MAAM,GAAC,MAAM,CAAC,GAChC,MAAM,GAAC,MAAM,GAAC,OAAO,GAAC,KAAK,CAAC,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC,CAwC9D;AAED;;;;;;;;;;GAUG;AACH,oCALW,MAAM,SACN,MAAM,YACN,MAAM,GACJ,MAAM,CAmBlB;AAED;;;;;;;GAOG;AACH,oCAHW,MAAM,GACJ,MAAM,CAiClB;kCA/KM,qBAAqB;AAgM5B,yDAKC;AAID,0CA8TC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgen.d.ts","sourceRoot":"","sources":["../../../../lib/stages/postgen/postgen.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"postgen.d.ts","sourceRoot":"","sources":["../../../../lib/stages/postgen/postgen.js"],"names":[],"mappings":"AAuqBA;;;;;;;;GAQG;AACH,uCANW,MAAM,WACN,MAAM,aACN,MAAM,GAEJ,MAAM,CAyClB;AAwCD;;;;;;;GAOG;AACH,uCALW,MAAM,WACN,MAAM,GAEJ,MAAM,CA8HlB;AAED;;;;;;;GAOG;AACH,wCALW,MAAM,WACN,MAAM,GAEJ,MAAM,CAqClB;AAkED;;;;;;;GAOG;AACH,mCALW,MAAM,WACN,MAAM,GAEJ,MAAM,CA8LlB;AAUD;;GAEG;AACH,gDAOC;AAED;;;;;;GAMG;AACH,iCAFa,IAAI,CAShB;AAMD;;;;;;;GAOG;AACH,kCALW,MAAM,WACN,MAAM,GAEJ,MAAM,CAyHlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ruleEngine.d.ts","sourceRoot":"","sources":["../../../../lib/stages/postgen/ruleEngine.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ruleEngine.d.ts","sourceRoot":"","sources":["../../../../lib/stages/postgen/ruleEngine.js"],"names":[],"mappings":"AA2XA;;;;GAIG;AACH,oCAHW,MAAM,GACJ,OAAO,OAAO,CAuF1B;AAiCD;;;;;GAKG;AACH,mCAJW,MAAM,WACN,MAAM,GACJ,OAAO,OAAO,CAuF1B;AAED;;GAEG;AACH,wEAYC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default Node;
|
|
2
2
|
declare class Node {
|
|
3
|
+
[x: number]: () => any;
|
|
3
4
|
constructor(options: any);
|
|
4
5
|
queryContext: {};
|
|
5
6
|
errors: any[];
|
|
@@ -87,8 +88,30 @@ declare class Node {
|
|
|
87
88
|
resolve(name: any): any;
|
|
88
89
|
inNodeModules(): any;
|
|
89
90
|
toJSON(): any;
|
|
91
|
+
[_explain](edge: any, seen: any): any;
|
|
92
|
+
[_loadDeps](): void;
|
|
93
|
+
[_delistFromMeta](): void;
|
|
94
|
+
[_changePath](newPath: any): void;
|
|
95
|
+
[_refreshLocation](): void;
|
|
96
|
+
[_reloadNamedEdges](name: any, rootLoc?: any): void;
|
|
97
|
+
[_package]: any;
|
|
98
|
+
[_parent]: any;
|
|
99
|
+
[_fsParent]: any;
|
|
100
|
+
[_explanation]: any;
|
|
101
|
+
[_target]: any;
|
|
90
102
|
#private;
|
|
91
103
|
}
|
|
92
104
|
import CaseInsensitiveMap from "./case-insensitive-map.js";
|
|
93
105
|
import Inventory from "./inventory.js";
|
|
106
|
+
declare const _explain: unique symbol;
|
|
107
|
+
declare const _loadDeps: unique symbol;
|
|
108
|
+
declare const _delistFromMeta: unique symbol;
|
|
109
|
+
declare const _changePath: unique symbol;
|
|
110
|
+
declare const _refreshLocation: unique symbol;
|
|
111
|
+
declare const _reloadNamedEdges: unique symbol;
|
|
112
|
+
declare const _package: unique symbol;
|
|
113
|
+
declare const _parent: unique symbol;
|
|
114
|
+
declare const _fsParent: unique symbol;
|
|
115
|
+
declare const _explanation: unique symbol;
|
|
116
|
+
declare const _target: unique symbol;
|
|
94
117
|
//# sourceMappingURL=node.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../../lib/third-party/arborist/lib/node.js"],"names":[],"mappings":";AAiEA
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../../lib/third-party/arborist/lib/node.js"],"names":[],"mappings":";AAiEA;;IAME,0BAmLC;IA/IC,iBAAsB;IAKtB,cAAkC;IAClC,eAA0B;IAG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eAAoB;IAEpB,iBAAsB;IAkJtB,oBAAyB;IAkOvB,eAAoB;;CA88BzB;+BA3/C8B,2BAA2B;sBAKpC,gBAAgB;AAiBtC,sCAAoC;AALpC,uCAAwD;AAIxD,6CAAsD;AAFtD,yCAA8C;AAD9C,8CAAwD;AAHxD,+CAAsD;AAJtD,sCAAoC;AACpC,qCAAkC;AAElC,uCAAsC;AAStC,0CAA4C;AAV5C,qCAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bomValidator.d.ts","sourceRoot":"","sources":["../../../lib/validator/bomValidator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bomValidator.d.ts","sourceRoot":"","sources":["../../../lib/validator/bomValidator.js"],"names":[],"mappings":"AA4qBA;;;;GAIG;AACH,uCAFW,MAAM,WAiIhB;AAjvBM,qCAJI,MAAM,WAgHhB;AAQM,uCAHI,MAAM,GAAC,MAAM,GACX,OAAO,CAyLnB;AAOM,0CAFI,MAAM,WAmEhB;AAOM,uCAFI,MAAM,WA6GhB;AAgDM,sCAFI,MAAM,WAwFhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complianceRules.d.ts","sourceRoot":"","sources":["../../../lib/validator/complianceRules.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"complianceRules.d.ts","sourceRoot":"","sources":["../../../lib/validator/complianceRules.js"],"names":[],"mappings":"AAwmDA;;;;GAIG;AACH,yCAFa,KAAK,CAAC,MAAM,CAAC,CAIzB;AAED;;;;GAIG;AACH,gCAFa,KAAK,CAAC,MAAM,CAAC,CAIzB;AAED;;;;GAIG;AACH,+BAFa,KAAK,CAAC,MAAM,CAAC,CAIzB;;;;;;;;AAzlDD;;;;;;GAMG;AACH,0CAHW,MAAM,GACJ,MAAM,GAAG,IAAI,CAoBzB;AAsBD;;;;;;;GAOG;AACH,8CAHW,MAAM,GACJ,KAAK,CAAC,MAAM,CAAC,CAezB;AAuCD;;;;;;;;;GASG;AACH,qCAHW,MAAM,GACJ,OAAO,CAqCnB;AAxED;;;;;;GAMG;AACH,gDAHW,MAAM,GACJ,GAAG,CAAC,MAAM,CAAC,CAoBvB;AAnCD;;;;;GAKG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB"}
|