@trustify-da/trustify-da-api-model 2.0.4-ea.8220e05 → 2.0.5-ea.dad02cb
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 +2 -2
- package/model/.openapi-generator/openapi.yaml-generate-js-v5.sha256 +1 -1
- package/model/v5/AnalysisReport.ts +9 -1
- package/model/v5/AnalysisResponse.ts +1 -1
- package/model/v5/BatchAnalysis200Response.ts +1 -1
- package/model/v5/CvssVector.ts +1 -1
- package/model/v5/DependencyReport.ts +1 -1
- package/model/v5/Issue.ts +1 -1
- package/model/v5/LicenseCategory.ts +19 -0
- package/model/v5/LicenseIdentifier.ts +78 -0
- package/model/v5/LicenseInfo.ts +88 -0
- package/model/v5/LicenseProviderResult.ts +62 -0
- package/model/v5/LicensesRequest.ts +37 -0
- package/model/v5/LicensesSummary.ts +96 -0
- package/model/v5/PackageLicenseResult.ts +42 -0
- package/model/v5/ProviderReport.ts +1 -1
- package/model/v5/ProviderStatus.ts +1 -1
- package/model/v5/Remediation.ts +1 -1
- package/model/v5/RemediationTrustedContent.ts +1 -1
- package/model/v5/Scanned.ts +1 -1
- package/model/v5/Severity.ts +1 -1
- package/model/v5/Source.ts +1 -1
- package/model/v5/SourceSummary.ts +1 -1
- package/model/v5/TransitiveDependencyReport.ts +1 -1
- package/model/v5/UnscannedDependency.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ The packages are published to the GitHub maven repository. Make sure to add it t
|
|
|
20
20
|
<dependency>
|
|
21
21
|
<groupId>io.github.guacsec</groupId>
|
|
22
22
|
<artifactId>trustify-da-api-model</artifactId>
|
|
23
|
-
<version>2.0.
|
|
23
|
+
<version>2.0.5-SNAPSHOT</version>
|
|
24
24
|
</dependency>
|
|
25
25
|
```
|
|
26
26
|
|
|
@@ -29,5 +29,5 @@ The packages are published to the GitHub maven repository. Make sure to add it t
|
|
|
29
29
|
Add it to your project as follows:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
npm install @guacsec/trustify-da-api-model@2.0.
|
|
32
|
+
npm install @guacsec/trustify-da-api-model@2.0.5-SNAPSHOT
|
|
33
33
|
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
03e8e4be5bd03a22bd963f0532368e03c111837e898102be421699f0bce49e28
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Trustify Dependency Analytics API
|
|
3
3
|
* Trustify Dependency Analytics API
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 5.
|
|
5
|
+
* OpenAPI spec version: 5.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,12 +10,14 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
+
import { LicenseProviderResult } from './LicenseProviderResult';
|
|
13
14
|
import { ProviderReport } from './ProviderReport';
|
|
14
15
|
import { Scanned } from './Scanned';
|
|
15
16
|
|
|
16
17
|
export class AnalysisReport {
|
|
17
18
|
'scanned'?: Scanned;
|
|
18
19
|
'providers'?: { [key: string]: ProviderReport; };
|
|
20
|
+
'licenses'?: Array<LicenseProviderResult>;
|
|
19
21
|
|
|
20
22
|
static readonly discriminator: string | undefined = undefined;
|
|
21
23
|
|
|
@@ -31,6 +33,12 @@ export class AnalysisReport {
|
|
|
31
33
|
"baseName": "providers",
|
|
32
34
|
"type": "{ [key: string]: ProviderReport; }",
|
|
33
35
|
"format": ""
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "licenses",
|
|
39
|
+
"baseName": "licenses",
|
|
40
|
+
"type": "Array<LicenseProviderResult>",
|
|
41
|
+
"format": ""
|
|
34
42
|
} ];
|
|
35
43
|
|
|
36
44
|
static getAttributeTypeMap() {
|
package/model/v5/CvssVector.ts
CHANGED
package/model/v5/Issue.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export enum LicenseCategory {
|
|
15
|
+
Permissive = 'PERMISSIVE',
|
|
16
|
+
WeakCopyleft = 'WEAK_COPYLEFT',
|
|
17
|
+
StrongCopyleft = 'STRONG_COPYLEFT',
|
|
18
|
+
Unknown = 'UNKNOWN'
|
|
19
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { LicenseCategory } from './LicenseCategory';
|
|
14
|
+
|
|
15
|
+
export class LicenseIdentifier {
|
|
16
|
+
/**
|
|
17
|
+
* License identifier.
|
|
18
|
+
*/
|
|
19
|
+
'id': string;
|
|
20
|
+
/**
|
|
21
|
+
* Human readable license name.
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
'isDeprecated'?: boolean;
|
|
25
|
+
'isOsiApproved'?: boolean;
|
|
26
|
+
'isFsfLibre'?: boolean;
|
|
27
|
+
'category': LicenseCategory;
|
|
28
|
+
|
|
29
|
+
static readonly discriminator: string | undefined = undefined;
|
|
30
|
+
|
|
31
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
32
|
+
{
|
|
33
|
+
"name": "id",
|
|
34
|
+
"baseName": "id",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "name",
|
|
40
|
+
"baseName": "name",
|
|
41
|
+
"type": "string",
|
|
42
|
+
"format": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "isDeprecated",
|
|
46
|
+
"baseName": "isDeprecated",
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"format": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "isOsiApproved",
|
|
52
|
+
"baseName": "isOsiApproved",
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"format": ""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "isFsfLibre",
|
|
58
|
+
"baseName": "isFsfLibre",
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"format": ""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "category",
|
|
64
|
+
"baseName": "category",
|
|
65
|
+
"type": "LicenseCategory",
|
|
66
|
+
"format": ""
|
|
67
|
+
} ];
|
|
68
|
+
|
|
69
|
+
static getAttributeTypeMap() {
|
|
70
|
+
return LicenseIdentifier.attributeTypeMap;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public constructor() {
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { LicenseCategory } from './LicenseCategory';
|
|
14
|
+
import { LicenseIdentifier } from './LicenseIdentifier';
|
|
15
|
+
|
|
16
|
+
export class LicenseInfo {
|
|
17
|
+
/**
|
|
18
|
+
* List of license identifiers found for the package
|
|
19
|
+
*/
|
|
20
|
+
'identifiers'?: Array<LicenseIdentifier>;
|
|
21
|
+
/**
|
|
22
|
+
* SPDX license expression
|
|
23
|
+
*/
|
|
24
|
+
'expression'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Human readable license name
|
|
27
|
+
*/
|
|
28
|
+
'name'?: string;
|
|
29
|
+
'category'?: LicenseCategory;
|
|
30
|
+
/**
|
|
31
|
+
* Source of the license information
|
|
32
|
+
*/
|
|
33
|
+
'source'?: string;
|
|
34
|
+
/**
|
|
35
|
+
* URL of the source of the license information
|
|
36
|
+
*/
|
|
37
|
+
'sourceUrl'?: string;
|
|
38
|
+
|
|
39
|
+
static readonly discriminator: string | undefined = undefined;
|
|
40
|
+
|
|
41
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
42
|
+
{
|
|
43
|
+
"name": "identifiers",
|
|
44
|
+
"baseName": "identifiers",
|
|
45
|
+
"type": "Array<LicenseIdentifier>",
|
|
46
|
+
"format": ""
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "expression",
|
|
50
|
+
"baseName": "expression",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"format": ""
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "name",
|
|
56
|
+
"baseName": "name",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"format": ""
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "category",
|
|
62
|
+
"baseName": "category",
|
|
63
|
+
"type": "LicenseCategory",
|
|
64
|
+
"format": ""
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "source",
|
|
68
|
+
"baseName": "source",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"format": ""
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "sourceUrl",
|
|
74
|
+
"baseName": "sourceUrl",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"format": ""
|
|
77
|
+
} ];
|
|
78
|
+
|
|
79
|
+
static getAttributeTypeMap() {
|
|
80
|
+
return LicenseInfo.attributeTypeMap;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
public constructor() {
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { LicenseInfo } from './LicenseInfo';
|
|
14
|
+
import { LicensesSummary } from './LicensesSummary';
|
|
15
|
+
import { PackageLicenseResult } from './PackageLicenseResult';
|
|
16
|
+
import { ProviderStatus } from './ProviderStatus';
|
|
17
|
+
|
|
18
|
+
export class LicenseProviderResult {
|
|
19
|
+
'status'?: ProviderStatus;
|
|
20
|
+
'summary'?: LicensesSummary;
|
|
21
|
+
'projectLicense'?: LicenseInfo;
|
|
22
|
+
/**
|
|
23
|
+
* Package purl as key, license result as value
|
|
24
|
+
*/
|
|
25
|
+
'packages'?: { [key: string]: PackageLicenseResult; };
|
|
26
|
+
|
|
27
|
+
static readonly discriminator: string | undefined = undefined;
|
|
28
|
+
|
|
29
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
30
|
+
{
|
|
31
|
+
"name": "status",
|
|
32
|
+
"baseName": "status",
|
|
33
|
+
"type": "ProviderStatus",
|
|
34
|
+
"format": ""
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "summary",
|
|
38
|
+
"baseName": "summary",
|
|
39
|
+
"type": "LicensesSummary",
|
|
40
|
+
"format": ""
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "projectLicense",
|
|
44
|
+
"baseName": "projectLicense",
|
|
45
|
+
"type": "LicenseInfo",
|
|
46
|
+
"format": ""
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "packages",
|
|
50
|
+
"baseName": "packages",
|
|
51
|
+
"type": "{ [key: string]: PackageLicenseResult; }",
|
|
52
|
+
"format": ""
|
|
53
|
+
} ];
|
|
54
|
+
|
|
55
|
+
static getAttributeTypeMap() {
|
|
56
|
+
return LicenseProviderResult.attributeTypeMap;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public constructor() {
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* List of package URLs (purls) to fetch license information for
|
|
16
|
+
*/
|
|
17
|
+
export class LicensesRequest {
|
|
18
|
+
'purls'?: Array<string>;
|
|
19
|
+
|
|
20
|
+
static readonly discriminator: string | undefined = undefined;
|
|
21
|
+
|
|
22
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
23
|
+
{
|
|
24
|
+
"name": "purls",
|
|
25
|
+
"baseName": "purls",
|
|
26
|
+
"type": "Array<string>",
|
|
27
|
+
"format": ""
|
|
28
|
+
} ];
|
|
29
|
+
|
|
30
|
+
static getAttributeTypeMap() {
|
|
31
|
+
return LicensesRequest.attributeTypeMap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public constructor() {
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export class LicensesSummary {
|
|
15
|
+
/**
|
|
16
|
+
* Total number of licenses found. Including packages with multiple licenses.
|
|
17
|
+
*/
|
|
18
|
+
'total'?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Number of licenses that were concluded.
|
|
21
|
+
*/
|
|
22
|
+
'concluded'?: number;
|
|
23
|
+
'permissive'?: number;
|
|
24
|
+
'weakCopyleft'?: number;
|
|
25
|
+
'strongCopyleft'?: number;
|
|
26
|
+
'unknown'?: number;
|
|
27
|
+
'deprecated'?: number;
|
|
28
|
+
'osiApproved'?: number;
|
|
29
|
+
'fsfLibre'?: number;
|
|
30
|
+
|
|
31
|
+
static readonly discriminator: string | undefined = undefined;
|
|
32
|
+
|
|
33
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
34
|
+
{
|
|
35
|
+
"name": "total",
|
|
36
|
+
"baseName": "total",
|
|
37
|
+
"type": "number",
|
|
38
|
+
"format": ""
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "concluded",
|
|
42
|
+
"baseName": "concluded",
|
|
43
|
+
"type": "number",
|
|
44
|
+
"format": ""
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "permissive",
|
|
48
|
+
"baseName": "permissive",
|
|
49
|
+
"type": "number",
|
|
50
|
+
"format": ""
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "weakCopyleft",
|
|
54
|
+
"baseName": "weakCopyleft",
|
|
55
|
+
"type": "number",
|
|
56
|
+
"format": ""
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "strongCopyleft",
|
|
60
|
+
"baseName": "strongCopyleft",
|
|
61
|
+
"type": "number",
|
|
62
|
+
"format": ""
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "unknown",
|
|
66
|
+
"baseName": "unknown",
|
|
67
|
+
"type": "number",
|
|
68
|
+
"format": ""
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "deprecated",
|
|
72
|
+
"baseName": "deprecated",
|
|
73
|
+
"type": "number",
|
|
74
|
+
"format": ""
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "osiApproved",
|
|
78
|
+
"baseName": "osiApproved",
|
|
79
|
+
"type": "number",
|
|
80
|
+
"format": ""
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "fsfLibre",
|
|
84
|
+
"baseName": "fsfLibre",
|
|
85
|
+
"type": "number",
|
|
86
|
+
"format": ""
|
|
87
|
+
} ];
|
|
88
|
+
|
|
89
|
+
static getAttributeTypeMap() {
|
|
90
|
+
return LicensesSummary.attributeTypeMap;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public constructor() {
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { LicenseInfo } from './LicenseInfo';
|
|
14
|
+
|
|
15
|
+
export class PackageLicenseResult {
|
|
16
|
+
'concluded'?: LicenseInfo;
|
|
17
|
+
'evidence'?: Array<LicenseInfo>;
|
|
18
|
+
|
|
19
|
+
static readonly discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "concluded",
|
|
24
|
+
"baseName": "concluded",
|
|
25
|
+
"type": "LicenseInfo",
|
|
26
|
+
"format": ""
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "evidence",
|
|
30
|
+
"baseName": "evidence",
|
|
31
|
+
"type": "Array<LicenseInfo>",
|
|
32
|
+
"format": ""
|
|
33
|
+
} ];
|
|
34
|
+
|
|
35
|
+
static getAttributeTypeMap() {
|
|
36
|
+
return PackageLicenseResult.attributeTypeMap;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public constructor() {
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
package/model/v5/Remediation.ts
CHANGED
package/model/v5/Scanned.ts
CHANGED
package/model/v5/Severity.ts
CHANGED
package/model/v5/Source.ts
CHANGED
package/package.json
CHANGED