@cyclonedx/cdxgen 10.1.1 → 10.1.3
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 +14 -0
- package/analyzer.js +21 -18
- package/bin/cdxgen.js +4 -4
- package/bin/evinse.js +2 -2
- package/bin/repl.js +4 -4
- package/bin/verify.js +1 -1
- package/binary.js +3 -3
- package/db.js +1 -1
- package/docker.js +8 -8
- package/docker.test.js +5 -5
- package/envcontext.js +6 -6
- package/envcontext.test.js +7 -7
- package/evinser.js +25 -25
- package/index.js +170 -148
- package/package.json +16 -12
- package/protobom.test.js +2 -2
- package/server.js +2 -2
- package/types/analyzer.d.ts +5 -0
- package/types/analyzer.d.ts.map +1 -0
- package/types/binary.d.ts +13 -0
- package/types/binary.d.ts.map +1 -0
- package/types/cbomutils.d.ts +2 -0
- package/types/cbomutils.d.ts.map +1 -0
- package/types/db.d.ts +19 -0
- package/types/db.d.ts.map +1 -0
- package/types/display.d.ts +8 -0
- package/types/display.d.ts.map +1 -0
- package/types/docker.d.ts +44 -0
- package/types/docker.d.ts.map +1 -0
- package/types/envcontext.d.ts +61 -0
- package/types/envcontext.d.ts.map +1 -0
- package/types/evinser.d.ts +728 -0
- package/types/evinser.d.ts.map +1 -0
- package/types/index.d.ts +48 -0
- package/types/index.d.ts.map +1 -0
- package/types/jest.config.d.ts +10 -0
- package/types/jest.config.d.ts.map +1 -0
- package/types/piptree.d.ts +2 -0
- package/types/piptree.d.ts.map +1 -0
- package/types/postgen.d.ts +3 -0
- package/types/postgen.d.ts.map +1 -0
- package/types/protobom.d.ts +3 -0
- package/types/protobom.d.ts.map +1 -0
- package/types/server.d.ts +3 -0
- package/types/server.d.ts.map +1 -0
- package/types/utils.d.ts +517 -0
- package/types/utils.d.ts.map +1 -0
- package/types/validator.d.ts +5 -0
- package/types/validator.d.ts.map +1 -0
- package/utils.js +182 -36
- package/utils.test.js +83 -71
- package/validator.js +2 -2
|
@@ -0,0 +1 @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M,4BAqChB;AAQM,kDAaN;AAQM,2CAHI,MAAM,UAKhB;AAEM,oFAsCN"}
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* For all modules in the specified package, creates a list of
|
|
3
|
+
* component objects from each one.
|
|
4
|
+
*
|
|
5
|
+
* @param {Object} options CLI options
|
|
6
|
+
* @param {Object} allImports All imports
|
|
7
|
+
* @param {Object} pkg Package object
|
|
8
|
+
* @param {string} ptype Package type
|
|
9
|
+
*/
|
|
10
|
+
export function listComponents(options: any, allImports: any, pkg: any, ptype?: string): any[];
|
|
11
|
+
/**
|
|
12
|
+
* Method to submit the generated bom to dependency-track or cyclonedx server
|
|
13
|
+
*
|
|
14
|
+
* @param {Object} args CLI args
|
|
15
|
+
* @param {Object} bomContents BOM Json
|
|
16
|
+
*/
|
|
17
|
+
export function submitBom(args: any, bomContents: any): Promise<any>;
|
|
18
|
+
export function createJarBom(path: string, options: any): any;
|
|
19
|
+
export function createJavaBom(path: string, options: any): Promise<any>;
|
|
20
|
+
export function createNodejsBom(path: string, options: any): Promise<any>;
|
|
21
|
+
export function createPythonBom(path: string, options: any): Promise<any>;
|
|
22
|
+
export function createGoBom(path: string, options: any): Promise<any>;
|
|
23
|
+
export function createRustBom(path: string, options: any): Promise<any>;
|
|
24
|
+
export function createDartBom(path: string, options: any): Promise<any>;
|
|
25
|
+
export function createCppBom(path: string, options: any): any;
|
|
26
|
+
export function createClojureBom(path: string, options: any): any;
|
|
27
|
+
export function createHaskellBom(path: string, options: any): any;
|
|
28
|
+
export function createElixirBom(path: string, options: any): any;
|
|
29
|
+
export function createGitHubBom(path: string, options: any): any;
|
|
30
|
+
export function createCloudBuildBom(path: string, options: any): any;
|
|
31
|
+
export function createOSBom(path: string, options: any): Promise<any>;
|
|
32
|
+
export function createJenkinsBom(path: string, options: any): Promise<any>;
|
|
33
|
+
export function createHelmBom(path: string, options: any): any;
|
|
34
|
+
export function createSwiftBom(path: string, options: any): Promise<any>;
|
|
35
|
+
export function createContainerSpecLikeBom(path: string, options: any): any;
|
|
36
|
+
export function createPHPBom(path: string, options: any): any;
|
|
37
|
+
export function createRubyBom(path: string, options: any): Promise<any>;
|
|
38
|
+
export function createCsharpBom(path: string, options: any): Promise<any>;
|
|
39
|
+
export function mergeDependencies(dependencies: any, newDependencies: any, parentComponent?: {}): {
|
|
40
|
+
ref: string;
|
|
41
|
+
dependsOn: any[];
|
|
42
|
+
}[];
|
|
43
|
+
export function trimComponents(components: any): any[];
|
|
44
|
+
export function dedupeBom(options: any, components: any[], parentComponent: any, dependencies: any[]): any;
|
|
45
|
+
export function createMultiXBom(pathList: string, options: any): Promise<any>;
|
|
46
|
+
export function createXBom(path: string, options: any): any;
|
|
47
|
+
export function createBom(path: string, options: any): any;
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":"AAmoBA;;;;;;;;GAQG;AACH,gFAFW,MAAM,SAchB;AAsyJD;;;;;GAKG;AACH,qEAyFC;AA9lJM,mCALI,MAAM,qBAiEhB;AAQM,oCAHI,MAAM,8BAuvBhB;AAQM,sCAHI,MAAM,8BAkZhB;AAQM,sCAHI,MAAM,8BA2VhB;AAQM,kCAHI,MAAM,8BAiUhB;AAQM,oCAHI,MAAM,8BAiFhB;AAQM,oCAHI,MAAM,8BAgDhB;AAQM,mCAHI,MAAM,qBA+KhB;AAQM,uCAHI,MAAM,qBAqHhB;AAQM,uCAHI,MAAM,qBA2BhB;AAQM,sCAHI,MAAM,qBA2BhB;AAQM,sCAHI,MAAM,qBA2BhB;AAQM,0CAHI,MAAM,qBAuBhB;AAQM,kCAHI,MAAM,8BAuDhB;AAQM,uCAHI,MAAM,8BA4ChB;AAQM,oCAHI,MAAM,qBA2BhB;AAQM,qCAHI,MAAM,8BAwFhB;AAQM,iDAHI,MAAM,qBAkUhB;AAQM,mCAHI,MAAM,qBAwJhB;AAQM,oCAHI,MAAM,8BAmFhB;AAQM,sCAHI,MAAM,8BAoMhB;AAEM;;;IAkCN;AAEM,uDAWN;AAYM,2GAkCN;AAQM,0CAHI,MAAM,8BAgbhB;AAQM,iCAHI,MAAM,qBAmUhB;AAQM,gCAHI,MAAM,qBAmQhB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const clearMocks: true;
|
|
2
|
+
export const coverageDirectory: "coverage";
|
|
3
|
+
export const coveragePathIgnorePatterns: string[];
|
|
4
|
+
export const coverageReporters: string[];
|
|
5
|
+
export const testEnvironment: "node";
|
|
6
|
+
declare namespace _default {
|
|
7
|
+
let transform: {};
|
|
8
|
+
}
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=jest.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jest.config.d.ts","sourceRoot":"","sources":["../jest.config.js"],"names":[],"mappings":"AAAA,8BAA+B;AAC/B,2CAA4C;AAC5C,kDAA0E;AAC1E,yCAAkD;AAClD,qCAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"piptree.d.ts","sourceRoot":"","sources":["../piptree.js"],"names":[],"mappings":"AAyHO,iFA0BN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgen.d.ts","sourceRoot":"","sources":["../postgen.js"],"names":[],"mappings":"AAAO,+DAUN;AAEM,2DAoGN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protobom.d.ts","sourceRoot":"","sources":["../protobom.js"],"names":[],"mappings":"AAUO,8DAYN;AAEM,gEAWN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../server.js"],"names":[],"mappings":"AAsGA,yDAKC;AAED,0CA0DC"}
|
package/types/utils.d.ts
ADDED
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Performs a lookup + validation of the license specified in the
|
|
3
|
+
* package. If the license is a valid SPDX license ID, set the 'id'
|
|
4
|
+
* and url of the license object, otherwise, set the 'name' of the license
|
|
5
|
+
* object.
|
|
6
|
+
*/
|
|
7
|
+
export function getLicenses(pkg: any): any;
|
|
8
|
+
/**
|
|
9
|
+
* Tries to find a file containing the license text based on commonly
|
|
10
|
+
* used naming and content types. If a candidate file is found, add
|
|
11
|
+
* the text to the license text object and stop.
|
|
12
|
+
*/
|
|
13
|
+
export function addLicenseText(pkg: any, l: any, licenseContent: any): void;
|
|
14
|
+
/**
|
|
15
|
+
* Read the file from the given path to the license text object and includes
|
|
16
|
+
* content-type attribute, if not default. Returns the license text object.
|
|
17
|
+
*/
|
|
18
|
+
export function readLicenseText(licenseFilepath: any, licenseContentType: any): {
|
|
19
|
+
content: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Method to parse requirements.txt data
|
|
23
|
+
*
|
|
24
|
+
* @param {Object} reqData Requirements.txt data
|
|
25
|
+
* @param {Boolean} fetchDepsInfo Fetch dependencies info from pypi
|
|
26
|
+
*/
|
|
27
|
+
export function parseReqFile(reqData: any, fetchDepsInfo: boolean): Promise<any[]>;
|
|
28
|
+
export const dirNameStr: string;
|
|
29
|
+
export const isWin: boolean;
|
|
30
|
+
export const isMac: boolean;
|
|
31
|
+
export let ATOM_DB: string;
|
|
32
|
+
export const frameworksList: any;
|
|
33
|
+
export const DEBUG_MODE: boolean;
|
|
34
|
+
export const TIMEOUT_MS: number;
|
|
35
|
+
export const MAX_BUFFER: number;
|
|
36
|
+
export let metadata_cache: {};
|
|
37
|
+
export const includeMavenTestScope: boolean;
|
|
38
|
+
export const FETCH_LICENSE: boolean;
|
|
39
|
+
export const SEARCH_MAVEN_ORG: boolean;
|
|
40
|
+
export let JAVA_CMD: string;
|
|
41
|
+
export let PYTHON_CMD: string;
|
|
42
|
+
export let DOTNET_CMD: string;
|
|
43
|
+
export let NODE_CMD: string;
|
|
44
|
+
export let NPM_CMD: string;
|
|
45
|
+
export let YARN_CMD: string;
|
|
46
|
+
export let GCC_CMD: string;
|
|
47
|
+
export let RUSTC_CMD: string;
|
|
48
|
+
export let GO_CMD: string;
|
|
49
|
+
export let CARGO_CMD: string;
|
|
50
|
+
export let CLJ_CMD: string;
|
|
51
|
+
export let LEIN_CMD: string;
|
|
52
|
+
export let SWIFT_CMD: string;
|
|
53
|
+
export const cdxgenAgent: any;
|
|
54
|
+
export function getAllFiles(dirPath: string, pattern: string, options?: {}): string[];
|
|
55
|
+
export function getAllFilesWithIgnore(dirPath: string, pattern: string, ignoreList: any[]): string[];
|
|
56
|
+
export function getKnownLicense(licenseUrl: string, pkg: string): any;
|
|
57
|
+
export function getSwiftPackageMetadata(pkgList: any): Promise<any[]>;
|
|
58
|
+
export function getNpmMetadata(pkgList: any[]): Promise<any[]>;
|
|
59
|
+
export function parsePkgJson(pkgJsonFile: string, simple?: boolean): Promise<any[]>;
|
|
60
|
+
export function parsePkgLock(pkgLockFile: string, options?: object): Promise<{
|
|
61
|
+
pkgList: any;
|
|
62
|
+
dependenciesList: any;
|
|
63
|
+
}>;
|
|
64
|
+
export function yarnLockToIdentMap(lockData: string): {};
|
|
65
|
+
export function parseYarnLock(yarnLockFile: string): Promise<{
|
|
66
|
+
pkgList: any[];
|
|
67
|
+
dependenciesList: any[];
|
|
68
|
+
}>;
|
|
69
|
+
export function parseNodeShrinkwrap(swFile: string): Promise<any[]>;
|
|
70
|
+
export function parsePnpmLock(pnpmLock: string, parentComponent?: any): Promise<{
|
|
71
|
+
pkgList?: undefined;
|
|
72
|
+
dependenciesList?: undefined;
|
|
73
|
+
} | {
|
|
74
|
+
pkgList: any[];
|
|
75
|
+
dependenciesList: {
|
|
76
|
+
ref: string;
|
|
77
|
+
dependsOn: string[];
|
|
78
|
+
}[];
|
|
79
|
+
}>;
|
|
80
|
+
export function parseBowerJson(bowerJsonFile: string): Promise<any[]>;
|
|
81
|
+
export function parseMinJs(minJsFile: string): Promise<any[]>;
|
|
82
|
+
export function parsePom(pomFile: any): {
|
|
83
|
+
group: any;
|
|
84
|
+
name: any;
|
|
85
|
+
version: any;
|
|
86
|
+
qualifiers: {
|
|
87
|
+
type: string;
|
|
88
|
+
};
|
|
89
|
+
properties: {
|
|
90
|
+
name: string;
|
|
91
|
+
value: any;
|
|
92
|
+
}[];
|
|
93
|
+
evidence: {
|
|
94
|
+
identity: {
|
|
95
|
+
field: string;
|
|
96
|
+
confidence: number;
|
|
97
|
+
methods: {
|
|
98
|
+
technique: string;
|
|
99
|
+
confidence: number;
|
|
100
|
+
value: any;
|
|
101
|
+
}[];
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}[];
|
|
105
|
+
export function parseMavenTree(rawOutput: string): {
|
|
106
|
+
pkgList?: undefined;
|
|
107
|
+
dependenciesList?: undefined;
|
|
108
|
+
} | {
|
|
109
|
+
pkgList: any[];
|
|
110
|
+
dependenciesList: {
|
|
111
|
+
ref: string;
|
|
112
|
+
dependsOn: any;
|
|
113
|
+
}[];
|
|
114
|
+
};
|
|
115
|
+
export function parseGradleDep(rawOutput: string, rootProjectGroup?: string, rootProjectName?: string, rootProjectVersion?: string): {
|
|
116
|
+
pkgList: {
|
|
117
|
+
group: any;
|
|
118
|
+
name: any;
|
|
119
|
+
version: any;
|
|
120
|
+
qualifiers: {
|
|
121
|
+
type: string;
|
|
122
|
+
};
|
|
123
|
+
}[];
|
|
124
|
+
dependenciesList: {
|
|
125
|
+
ref: string;
|
|
126
|
+
dependsOn: any;
|
|
127
|
+
}[];
|
|
128
|
+
} | {
|
|
129
|
+
pkgList?: undefined;
|
|
130
|
+
dependenciesList?: undefined;
|
|
131
|
+
};
|
|
132
|
+
export function parseCljDep(rawOutput: string): any[];
|
|
133
|
+
export function parseLeinDep(rawOutput: string): any;
|
|
134
|
+
export function parseLeinMap(node: any, keys_cache: any, deps: any): any;
|
|
135
|
+
export function parseGradleProjects(rawOutput: string): {
|
|
136
|
+
rootProject: string;
|
|
137
|
+
projects: any[];
|
|
138
|
+
};
|
|
139
|
+
export function parseGradleProperties(rawOutput: string): {
|
|
140
|
+
rootProject: string;
|
|
141
|
+
projects: any[];
|
|
142
|
+
metadata: {
|
|
143
|
+
group: string;
|
|
144
|
+
version: string;
|
|
145
|
+
properties: any[];
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
export function executeGradleProperties(dir: string, rootPath: string, subProject: string): {};
|
|
149
|
+
export function parseBazelActionGraph(rawOutput: string): any[];
|
|
150
|
+
export function parseBazelSkyframe(rawOutput: string): any[];
|
|
151
|
+
export function parseBazelBuild(rawOutput: string): any[];
|
|
152
|
+
export function parseKVDep(rawOutput: any): any[];
|
|
153
|
+
export function findLicenseId(name: string): any;
|
|
154
|
+
export function guessLicenseId(content: any): any;
|
|
155
|
+
export function getMvnMetadata(pkgList: any[], jarNSMapping?: any): Promise<any[]>;
|
|
156
|
+
export function composePomXmlUrl({ urlPrefix, group, name, version }: string): string;
|
|
157
|
+
export function fetchPomXmlAsJson({ urlPrefix, group, name, version }: string): any | undefined;
|
|
158
|
+
export function fetchPomXml({ urlPrefix, group, name, version }: string): Promise<string>;
|
|
159
|
+
export function parseLicenseEntryOrArrayFromPomXml(license: any | any[]): any[];
|
|
160
|
+
export function extractLicenseCommentFromPomXml({ urlPrefix, group, name, version }: string): Promise<string>;
|
|
161
|
+
export function parsePyRequiresDist(dist_string: any): {
|
|
162
|
+
name: string;
|
|
163
|
+
version: string;
|
|
164
|
+
};
|
|
165
|
+
export function guessPypiMatchingVersion(versionsList: any[], versionSpecifiers: any): any;
|
|
166
|
+
export function getPyMetadata(pkgList: any[], fetchDepsInfo: boolean): Promise<any[]>;
|
|
167
|
+
export function parseBdistMetadata(mData: any): {}[];
|
|
168
|
+
export function parsePiplockData(lockData: any): Promise<any[]>;
|
|
169
|
+
export function parsePyProjectToml(tomlFile: string): {};
|
|
170
|
+
export function parsePoetrylockData(lockData: any, lockFile: string): Promise<any[] | {
|
|
171
|
+
pkgList: any[];
|
|
172
|
+
rootList: any[];
|
|
173
|
+
dependenciesList: {
|
|
174
|
+
ref: string;
|
|
175
|
+
dependsOn: any[];
|
|
176
|
+
}[];
|
|
177
|
+
}>;
|
|
178
|
+
export function getPyModules(src: string, epkgList: any[], options: any): Promise<{
|
|
179
|
+
allImports: {};
|
|
180
|
+
pkgList: any;
|
|
181
|
+
dependenciesList: {
|
|
182
|
+
ref: string;
|
|
183
|
+
dependsOn: any[];
|
|
184
|
+
}[];
|
|
185
|
+
modList: any;
|
|
186
|
+
}>;
|
|
187
|
+
export function parseSetupPyFile(setupPyData: any): Promise<any[]>;
|
|
188
|
+
export function repoMetadataToGitHubApiUrl(repoMetadata: any): string | undefined;
|
|
189
|
+
export function getGithubUrlParts(repoUrl: string): [string];
|
|
190
|
+
export function toGitHubApiUrl(repoUrl: string, repoMetadata: any): string | undefined;
|
|
191
|
+
export function getRepoLicense(repoUrl: string, repoMetadata: any): Promise<string>;
|
|
192
|
+
export function getGoPkgLicense(repoMetadata: any): Promise<any>;
|
|
193
|
+
export function getGoPkgComponent(group: any, name: any, version: any, hash: any): Promise<{}>;
|
|
194
|
+
export function parseGoModData(goModData: any, gosumMap: any): Promise<any[]>;
|
|
195
|
+
export function parseGoListDep(rawOutput: string, gosumMap: any): Promise<{
|
|
196
|
+
parentComponent: {};
|
|
197
|
+
pkgList: {}[];
|
|
198
|
+
}>;
|
|
199
|
+
export function parseGoModGraph(rawOutput: string, goModFile: string, gosumMap: any, epkgList?: any[], parentComponent?: {}): Promise<{
|
|
200
|
+
pkgList: any[];
|
|
201
|
+
dependenciesList: {
|
|
202
|
+
ref: string;
|
|
203
|
+
dependsOn: any[];
|
|
204
|
+
}[];
|
|
205
|
+
}>;
|
|
206
|
+
export function parseGoModWhy(rawOutput: string): any;
|
|
207
|
+
export function parseGosumData(gosumData: any): Promise<any[]>;
|
|
208
|
+
export function parseGopkgData(gopkgData: any): Promise<any[]>;
|
|
209
|
+
export function parseGoVersionData(buildInfoData: any): Promise<any[]>;
|
|
210
|
+
export function getRubyGemsMetadata(pkgList: any[]): Promise<any[]>;
|
|
211
|
+
export function parseGemspecData(gemspecData: string): Promise<any[]>;
|
|
212
|
+
export function parseGemfileLockData(gemLockData: object, lockFile: string): Promise<any[] | {
|
|
213
|
+
pkgList: any[];
|
|
214
|
+
dependenciesList: {
|
|
215
|
+
ref: string;
|
|
216
|
+
dependsOn: any[];
|
|
217
|
+
}[];
|
|
218
|
+
rootList?: undefined;
|
|
219
|
+
} | {
|
|
220
|
+
pkgList: any[];
|
|
221
|
+
dependenciesList: {
|
|
222
|
+
ref: string;
|
|
223
|
+
dependsOn: any[];
|
|
224
|
+
}[];
|
|
225
|
+
rootList: any[];
|
|
226
|
+
}>;
|
|
227
|
+
export function getCratesMetadata(pkgList: any[]): Promise<any[]>;
|
|
228
|
+
export function getDartMetadata(pkgList: any[]): Promise<any[]>;
|
|
229
|
+
export function parseCargoTomlData(cargoData: any): Promise<any[]>;
|
|
230
|
+
export function parseCargoData(cargoData: any): Promise<any[]>;
|
|
231
|
+
export function parseCargoAuditableData(cargoData: any): Promise<any[]>;
|
|
232
|
+
export function parsePubLockData(pubLockData: any): Promise<any[]>;
|
|
233
|
+
export function parsePubYamlData(pubYamlData: any): any[];
|
|
234
|
+
export function parseHelmYamlData(helmData: any): any[];
|
|
235
|
+
export function recurseImageNameLookup(keyValueObj: any, pkgList: any, imgList: any): any;
|
|
236
|
+
export function parseContainerFile(fileContents: any): {
|
|
237
|
+
image: any;
|
|
238
|
+
}[];
|
|
239
|
+
export function parseBitbucketPipelinesFile(fileContents: any): {
|
|
240
|
+
image: any;
|
|
241
|
+
}[];
|
|
242
|
+
export function parseContainerSpecData(dcData: any): any[];
|
|
243
|
+
export function identifyFlow(processingObj: any): string;
|
|
244
|
+
export function parsePrivadoFile(f: any): any[];
|
|
245
|
+
export function parseOpenapiSpecData(oaData: any): any[];
|
|
246
|
+
export function parseCabalData(cabalData: any): any[];
|
|
247
|
+
export function parseMixLockData(mixData: any): any[];
|
|
248
|
+
export function parseGitHubWorkflowData(ghwData: any): any[];
|
|
249
|
+
export function parseCloudBuildData(cbwData: any): any[];
|
|
250
|
+
export function parseConanLockData(conanLockData: any): any[];
|
|
251
|
+
export function parseConanData(conanData: any): any[];
|
|
252
|
+
export function parseLeiningenData(leinData: any): any[];
|
|
253
|
+
export function parseEdnData(rawEdnData: any): any[];
|
|
254
|
+
export function parseNupkg(nupkgFile: any): Promise<any[]>;
|
|
255
|
+
export function parseNuspecData(nupkgFile: any, nuspecData: any): any[];
|
|
256
|
+
export function parseCsPkgData(pkgData: any): any[];
|
|
257
|
+
export function parseCsProjData(csProjData: any, projFile: any): any[];
|
|
258
|
+
export function parseCsProjAssetsData(csProjData: any, assetsJsonFile: any): {
|
|
259
|
+
pkgList: any[];
|
|
260
|
+
dependenciesList: any[];
|
|
261
|
+
};
|
|
262
|
+
export function parseCsPkgLockData(csLockData: any, pkgLockFile: any): {
|
|
263
|
+
pkgList: any[];
|
|
264
|
+
dependenciesList: any[];
|
|
265
|
+
rootList: any[];
|
|
266
|
+
};
|
|
267
|
+
export function parsePaketLockData(paketLockData: any, pkgLockFile: any): {
|
|
268
|
+
pkgList: any[];
|
|
269
|
+
dependenciesList: any[];
|
|
270
|
+
};
|
|
271
|
+
export function parseComposerLock(pkgLockFile: string, rootRequires: any[]): any[] | {
|
|
272
|
+
pkgList: {
|
|
273
|
+
group: string;
|
|
274
|
+
name: string;
|
|
275
|
+
purl: string;
|
|
276
|
+
"bom-ref": string;
|
|
277
|
+
version: any;
|
|
278
|
+
repository: any;
|
|
279
|
+
license: any;
|
|
280
|
+
description: any;
|
|
281
|
+
scope: string;
|
|
282
|
+
properties: {
|
|
283
|
+
name: string;
|
|
284
|
+
value: string;
|
|
285
|
+
}[];
|
|
286
|
+
evidence: {
|
|
287
|
+
identity: {
|
|
288
|
+
field: string;
|
|
289
|
+
confidence: number;
|
|
290
|
+
methods: {
|
|
291
|
+
technique: string;
|
|
292
|
+
confidence: number;
|
|
293
|
+
value: string;
|
|
294
|
+
}[];
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
}[];
|
|
298
|
+
dependenciesList: {
|
|
299
|
+
ref: string;
|
|
300
|
+
dependsOn: any[];
|
|
301
|
+
}[];
|
|
302
|
+
rootList: {
|
|
303
|
+
group: string;
|
|
304
|
+
name: string;
|
|
305
|
+
purl: string;
|
|
306
|
+
"bom-ref": string;
|
|
307
|
+
version: any;
|
|
308
|
+
repository: any;
|
|
309
|
+
license: any;
|
|
310
|
+
description: any;
|
|
311
|
+
scope: string;
|
|
312
|
+
properties: {
|
|
313
|
+
name: string;
|
|
314
|
+
value: string;
|
|
315
|
+
}[];
|
|
316
|
+
evidence: {
|
|
317
|
+
identity: {
|
|
318
|
+
field: string;
|
|
319
|
+
confidence: number;
|
|
320
|
+
methods: {
|
|
321
|
+
technique: string;
|
|
322
|
+
confidence: number;
|
|
323
|
+
value: string;
|
|
324
|
+
}[];
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
}[];
|
|
328
|
+
};
|
|
329
|
+
export function parseSbtTree(sbtTreeFile: any): {
|
|
330
|
+
pkgList: any[];
|
|
331
|
+
dependenciesList: {
|
|
332
|
+
ref: string;
|
|
333
|
+
dependsOn: any;
|
|
334
|
+
}[];
|
|
335
|
+
};
|
|
336
|
+
export function parseSbtLock(pkgLockFile: string): {
|
|
337
|
+
group: any;
|
|
338
|
+
name: any;
|
|
339
|
+
version: any;
|
|
340
|
+
_integrity: string;
|
|
341
|
+
scope: string;
|
|
342
|
+
properties: {
|
|
343
|
+
name: string;
|
|
344
|
+
value: string;
|
|
345
|
+
}[];
|
|
346
|
+
evidence: {
|
|
347
|
+
identity: {
|
|
348
|
+
field: string;
|
|
349
|
+
confidence: number;
|
|
350
|
+
methods: {
|
|
351
|
+
technique: string;
|
|
352
|
+
confidence: number;
|
|
353
|
+
value: string;
|
|
354
|
+
}[];
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
}[];
|
|
358
|
+
export function executeDpkgList(pkgName: string): string[];
|
|
359
|
+
export function executeRpmList(pkgName: string): string[];
|
|
360
|
+
export function executeApkList(pkgName: string): string[];
|
|
361
|
+
export function executeAlpmList(pkgName: string): string[];
|
|
362
|
+
export function executeEqueryList(pkgName: string): string[];
|
|
363
|
+
export function convertOSQueryResults(queryCategory: any, queryObj: any, results: any[], enhance?: boolean): {
|
|
364
|
+
name: any;
|
|
365
|
+
group: string;
|
|
366
|
+
version: any;
|
|
367
|
+
description: any;
|
|
368
|
+
publisher: any;
|
|
369
|
+
"bom-ref": string;
|
|
370
|
+
purl: string;
|
|
371
|
+
scope: any;
|
|
372
|
+
type: any;
|
|
373
|
+
}[];
|
|
374
|
+
export function parseSwiftJsonTreeObject(pkgList: any, dependenciesList: any, jsonObject: string, pkgFile: string): string;
|
|
375
|
+
export function parseSwiftJsonTree(rawOutput: string, pkgFile: string): {
|
|
376
|
+
pkgList?: undefined;
|
|
377
|
+
dependenciesList?: undefined;
|
|
378
|
+
} | {
|
|
379
|
+
pkgList: any[];
|
|
380
|
+
dependenciesList: any[];
|
|
381
|
+
};
|
|
382
|
+
export function parseSwiftResolved(resolvedFile: string): {
|
|
383
|
+
name: string;
|
|
384
|
+
group: string;
|
|
385
|
+
version: string;
|
|
386
|
+
purl: string;
|
|
387
|
+
"bom-ref": string;
|
|
388
|
+
properties: {
|
|
389
|
+
name: string;
|
|
390
|
+
value: string;
|
|
391
|
+
}[];
|
|
392
|
+
evidence: {
|
|
393
|
+
identity: {
|
|
394
|
+
field: string;
|
|
395
|
+
confidence: number;
|
|
396
|
+
methods: {
|
|
397
|
+
technique: string;
|
|
398
|
+
confidence: number;
|
|
399
|
+
value: string;
|
|
400
|
+
}[];
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
}[];
|
|
404
|
+
export function collectMvnDependencies(mavenCmd: string, basePath: string, cleanup?: boolean, includeCacheDir?: boolean): Promise<{}>;
|
|
405
|
+
export function collectGradleDependencies(gradleCmd: any, basePath: any, cleanup?: boolean, includeCacheDir?: boolean): Promise<{}>;
|
|
406
|
+
export function collectJarNS(jarPath: string, pomPathMap?: object): Promise<{}>;
|
|
407
|
+
export function convertJarNSToPackages(jarNSMapping: any): {
|
|
408
|
+
name: any;
|
|
409
|
+
group: any;
|
|
410
|
+
version: any;
|
|
411
|
+
description: any;
|
|
412
|
+
purl: string;
|
|
413
|
+
"bom-ref": string;
|
|
414
|
+
evidence: {
|
|
415
|
+
identity: {
|
|
416
|
+
field: string;
|
|
417
|
+
confidence: number;
|
|
418
|
+
methods: {
|
|
419
|
+
technique: string;
|
|
420
|
+
confidence: number;
|
|
421
|
+
value: any;
|
|
422
|
+
}[];
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
properties: {
|
|
426
|
+
name: string;
|
|
427
|
+
value: any;
|
|
428
|
+
}[];
|
|
429
|
+
}[];
|
|
430
|
+
export function parsePomXml(pomXmlData: any): {
|
|
431
|
+
artifactId: any;
|
|
432
|
+
groupId: any;
|
|
433
|
+
version: any;
|
|
434
|
+
description: any;
|
|
435
|
+
url: any;
|
|
436
|
+
scm: any;
|
|
437
|
+
};
|
|
438
|
+
export function parseJarManifest(jarMetadata: any): {};
|
|
439
|
+
export function parsePomProperties(pomProperties: any): {};
|
|
440
|
+
export function encodeForPurl(s: any): any;
|
|
441
|
+
export function getPomPropertiesFromMavenDir(mavenDir: string): {};
|
|
442
|
+
export function extractJarArchive(jarFile: string, tempDir: string, jarNSMapping?: object): Promise<any[]>;
|
|
443
|
+
export function determineSbtVersion(projectPath: string): any;
|
|
444
|
+
export function addPlugin(projectPath: string, plugin: string): string;
|
|
445
|
+
export function cleanupPlugin(projectPath: string, originalPluginsFile: string): boolean;
|
|
446
|
+
export function sbtPluginsPath(projectPath: string): string;
|
|
447
|
+
export function readZipEntry(zipFile: string, filePattern: string, contentEncoding?: string): Promise<any>;
|
|
448
|
+
export function getJarClasses(jarFile: string): Promise<any[]>;
|
|
449
|
+
export function getGradleCommand(srcPath: string, rootPath: string): string;
|
|
450
|
+
export function getMavenCommand(srcPath: string, rootPath: string): string;
|
|
451
|
+
export function getAtomCommand(): any;
|
|
452
|
+
export function executeAtom(src: any, args: any): boolean;
|
|
453
|
+
export function findAppModules(src: string, language: string, methodology?: string, slicesFile?: string): any;
|
|
454
|
+
export function getPipFrozenTree(basePath: string, reqOrSetupFile: string, tempVenvDir: string): {
|
|
455
|
+
pkgList: {
|
|
456
|
+
name: any;
|
|
457
|
+
version: any;
|
|
458
|
+
purl: string;
|
|
459
|
+
"bom-ref": string;
|
|
460
|
+
evidence: {
|
|
461
|
+
identity: {
|
|
462
|
+
field: string;
|
|
463
|
+
confidence: number;
|
|
464
|
+
methods: {
|
|
465
|
+
technique: string;
|
|
466
|
+
confidence: number;
|
|
467
|
+
value: any;
|
|
468
|
+
}[];
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
}[];
|
|
472
|
+
rootList: {
|
|
473
|
+
name: any;
|
|
474
|
+
version: any;
|
|
475
|
+
}[];
|
|
476
|
+
dependenciesList: {
|
|
477
|
+
ref: string;
|
|
478
|
+
dependsOn: any;
|
|
479
|
+
}[];
|
|
480
|
+
};
|
|
481
|
+
export function parsePackageJsonName(name: any): {
|
|
482
|
+
scope: any;
|
|
483
|
+
fullName: string;
|
|
484
|
+
projectName: string;
|
|
485
|
+
moduleName: string;
|
|
486
|
+
};
|
|
487
|
+
export function addEvidenceForImports(pkgList: any[], allImports: object, allExports: object, deep: any): Promise<any[]>;
|
|
488
|
+
export function componentSorter(a: any, b: any): any;
|
|
489
|
+
export function parseCmakeDotFile(dotFile: any, pkgType: any, options?: {}): {
|
|
490
|
+
parentComponent: {};
|
|
491
|
+
pkgList: any[];
|
|
492
|
+
dependenciesList: {
|
|
493
|
+
ref: string;
|
|
494
|
+
dependsOn: any[];
|
|
495
|
+
}[];
|
|
496
|
+
};
|
|
497
|
+
export function parseCmakeLikeFile(cmakeListFile: any, pkgType: any, options?: {}): {
|
|
498
|
+
parentComponent: {};
|
|
499
|
+
pkgList: any[];
|
|
500
|
+
};
|
|
501
|
+
export function getOSPackageForFile(afile: any, osPkgsList: any): any;
|
|
502
|
+
export function getCppModules(src: string, options: object, osPkgsList: any[], epkgList: any[]): {
|
|
503
|
+
parentComponent: {};
|
|
504
|
+
pkgList: any[];
|
|
505
|
+
dependenciesList: {
|
|
506
|
+
ref: any;
|
|
507
|
+
dependsOn: any[];
|
|
508
|
+
}[];
|
|
509
|
+
};
|
|
510
|
+
export function locateGenericPackage(apkg: object): any;
|
|
511
|
+
export function parseCUsageSlice(sliceData: any): {};
|
|
512
|
+
export function getNugetMetadata(pkgList: any[], dependencies?: any): Promise<{
|
|
513
|
+
pkgList: any[];
|
|
514
|
+
dependencies: any[];
|
|
515
|
+
}>;
|
|
516
|
+
export function addEvidenceForDotnet(pkgList: any, slicesFile: any): any;
|
|
517
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../utils.js"],"names":[],"mappings":"AA8QA;;;;;GAKG;AACH,2CAkDC;AAqED;;;;GAIG;AACH,4EAoCC;AAED;;;GAGG;AACH;;EAUC;AAuqFD;;;;;GAKG;AACH,mFA+IC;AAzsGD,gCAAgF;AAChF,4BAA4C;AAC5C,4BAA6C;AAC7C,2BAAmE;AAsBnE,iCAEE;AAiBF,iCAIyC;AAGzC,gCAC4D;AAG5D,gCAC+D;AAG/D,8BAA+B;AAK/B,4CAEmE;AAGnE,oCAEoD;AAGpD,uCAEuD;AAYvD,4BAA6B;AAU7B,8BAAiC;AAMjC,8BAAiC;AAIjC,4BAA6B;AAI7B,2BAA2B;AAI3B,4BAA6B;AAI7B,2BAA2B;AAI3B,6BAA+B;AAI/B,0BAAyB;AAIzB,6BAA+B;AAM/B,2BAA2B;AAK3B,4BAA6B;AAK7B,6BAA+B;AAM/B,8BAIG;AAQI,qCAHI,MAAM,WAC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iDALI,MAAM,YACN,MAAM,YACN,OAAO,oBACP,OAAO,eA6DjB;AAEM,oIAgCN;AAUM,sCALI,MAAM,eACN,MAAM,eA6JhB;AAEM;;;;;;;;;;;;;;;;;;;;;;IA6DN;AAEM;;;;;;;EA8BN;AAEM,uDAeN;AAEM,2DAeN;AAEM,2CAIN;AASM,uDAJI,MAAM,MAgBhB;AA2BM,2CANI,MAAM,WACN,MAAM,iBACN,MAAM,kBA2ThB;AAUM,iDAFI,MAAM,OAehB;AAcM,uCAHI,MAAM,UACN,MAAM,UAYhB;AASM,2CAHI,MAAM,uBACN,MAAM,WAsBhB;AAOM,4CAFI,MAAM,UAIhB;AAWM,sCANI,MAAM,eACN,MAAM,oBACN,MAAM,gBAgChB;AASM,uCAJI,MAAM,kBA0ChB;AAQM,0CAHI,MAAM,YACN,MAAM,UAiChB;AAQM,yCAHI,MAAM,YACN,MAAM,UAsEhB;AAKM,sCAmBN;AAEM,0DAyEN;AAWM,oCANI,MAAM,YACN,MAAM,gBACN,MAAM,eACN,MAAM,OAgDhB;AAkEM,2CALI,MAAM,kBACN,MAAM,eACN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;EA8RhB;AAGM;;;;;EAmBN;AASM,kEAHI,MAAM,cACN,MAAM,6BA2IhB;AAEM,qDASN;AAEM;;;;;;;EA2GN;AAEM;;;EA6PN;AAEM,sEA6BN;AAUM,mCALI,MAAM,WACN,MAAM;;;;;;;EAkQhB;AASM,2CAHI,MAAM,OAKhB;AAEM,qDA0CN;AA2HM;;;GA0HN;AAEM,yEAkGN"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function validateBom(bomJson: object): boolean;
|
|
2
|
+
export function validateMetadata(bomJson: object): boolean;
|
|
3
|
+
export function validatePurls(bomJson: object): boolean;
|
|
4
|
+
export function validateRefs(bomJson: object): boolean;
|
|
5
|
+
//# sourceMappingURL=validator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../validator.js"],"names":[],"mappings":"AAmBO,qCAFI,MAAM,WAoChB;AAOM,0CAFI,MAAM,WAoDhB;AAOM,uCAFI,MAAM,WA4BhB;AA6BM,sCAFI,MAAM,WAkChB"}
|