@trustify-da/trustify-da-api-model 2.0.8-ea.8bbea61 → 2.0.8-ea.d384dec
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/model/.openapi-generator/openapi.yaml-generate-js-v5.sha256 +1 -1
- package/model/v5/AnalysisReport.ts +1 -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 +1 -1
- package/model/v5/LicenseIdentifier.ts +1 -1
- package/model/v5/LicenseInfo.ts +1 -1
- package/model/v5/LicenseProviderResult.ts +1 -1
- package/model/v5/LicensesRequest.ts +1 -1
- package/model/v5/LicensesSummary.ts +1 -1
- package/model/v5/PackageLicenseResult.ts +1 -1
- package/model/v5/ProviderReport.ts +9 -1
- package/model/v5/ProviderStatus.ts +1 -1
- package/model/v5/RecommendationReport.ts +50 -0
- package/model/v5/RecommendationSource.ts +56 -0
- package/model/v5/RecommendationSummary.ts +37 -0
- 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 +3 -2
- package/model/v5/Source.ts +1 -1
- package/model/v5/SourceSummary.ts +11 -1
- package/model/v5/TransitiveDependencyReport.ts +1 -1
- package/model/v5/UnscannedDependency.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c8db4d282bd24f5098ee25d25e830663bb032b2f3c7fdff9cf83050ae70f1016
|
package/model/v5/CvssVector.ts
CHANGED
package/model/v5/Issue.ts
CHANGED
package/model/v5/LicenseInfo.ts
CHANGED
|
@@ -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.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { ProviderStatus } from './ProviderStatus';
|
|
14
|
+
import { RecommendationSource } from './RecommendationSource';
|
|
14
15
|
import { Source } from './Source';
|
|
15
16
|
|
|
16
17
|
export class ProviderReport {
|
|
17
18
|
'status'?: ProviderStatus;
|
|
18
19
|
'sources'?: { [key: string]: Source; };
|
|
20
|
+
'recommendations'?: { [key: string]: RecommendationSource; };
|
|
19
21
|
|
|
20
22
|
static readonly discriminator: string | undefined = undefined;
|
|
21
23
|
|
|
@@ -31,6 +33,12 @@ export class ProviderReport {
|
|
|
31
33
|
"baseName": "sources",
|
|
32
34
|
"type": "{ [key: string]: Source; }",
|
|
33
35
|
"format": ""
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "recommendations",
|
|
39
|
+
"baseName": "recommendations",
|
|
40
|
+
"type": "{ [key: string]: RecommendationSource; }",
|
|
41
|
+
"format": ""
|
|
34
42
|
} ];
|
|
35
43
|
|
|
36
44
|
static getAttributeTypeMap() {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.2.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
|
+
* A recommendation mapping a dependency to its recommended alternative
|
|
16
|
+
*/
|
|
17
|
+
export class RecommendationReport {
|
|
18
|
+
/**
|
|
19
|
+
* PackageURL used to identify a dependency artifact
|
|
20
|
+
*/
|
|
21
|
+
'ref'?: string;
|
|
22
|
+
/**
|
|
23
|
+
* PackageURL used to identify a dependency artifact
|
|
24
|
+
*/
|
|
25
|
+
'recommendation'?: string;
|
|
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": "ref",
|
|
32
|
+
"baseName": "ref",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": ""
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "recommendation",
|
|
38
|
+
"baseName": "recommendation",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": ""
|
|
41
|
+
} ];
|
|
42
|
+
|
|
43
|
+
static getAttributeTypeMap() {
|
|
44
|
+
return RecommendationReport.attributeTypeMap;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public constructor() {
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.2.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 { RecommendationReport } from './RecommendationReport';
|
|
14
|
+
import { RecommendationSummary } from './RecommendationSummary';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Recommendation data from a specific recommendation source
|
|
18
|
+
*/
|
|
19
|
+
export class RecommendationSource {
|
|
20
|
+
/**
|
|
21
|
+
* Health status of the recommendation source
|
|
22
|
+
*/
|
|
23
|
+
'status'?: string;
|
|
24
|
+
'summary'?: RecommendationSummary;
|
|
25
|
+
'dependencies'?: Array<RecommendationReport>;
|
|
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": "string",
|
|
34
|
+
"format": ""
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "summary",
|
|
38
|
+
"baseName": "summary",
|
|
39
|
+
"type": "RecommendationSummary",
|
|
40
|
+
"format": ""
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "dependencies",
|
|
44
|
+
"baseName": "dependencies",
|
|
45
|
+
"type": "Array<RecommendationReport>",
|
|
46
|
+
"format": ""
|
|
47
|
+
} ];
|
|
48
|
+
|
|
49
|
+
static getAttributeTypeMap() {
|
|
50
|
+
return RecommendationSource.attributeTypeMap;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public constructor() {
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.2.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
|
+
* Summary of recommendations from a recommendation source
|
|
16
|
+
*/
|
|
17
|
+
export class RecommendationSummary {
|
|
18
|
+
'total'?: number;
|
|
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": "total",
|
|
25
|
+
"baseName": "total",
|
|
26
|
+
"type": "number",
|
|
27
|
+
"format": ""
|
|
28
|
+
} ];
|
|
29
|
+
|
|
30
|
+
static getAttributeTypeMap() {
|
|
31
|
+
return RecommendationSummary.attributeTypeMap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public constructor() {
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
package/model/v5/Remediation.ts
CHANGED
package/model/v5/Scanned.ts
CHANGED
package/model/v5/Severity.ts
CHANGED
|
@@ -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.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,5 +15,6 @@ export enum Severity {
|
|
|
15
15
|
Critical = 'CRITICAL',
|
|
16
16
|
High = 'HIGH',
|
|
17
17
|
Medium = 'MEDIUM',
|
|
18
|
-
Low = 'LOW'
|
|
18
|
+
Low = 'LOW',
|
|
19
|
+
Unknown = 'UNKNOWN'
|
|
19
20
|
}
|
package/model/v5/Source.ts
CHANGED
|
@@ -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.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,7 +20,11 @@ export class SourceSummary {
|
|
|
20
20
|
'high'?: number;
|
|
21
21
|
'medium'?: number;
|
|
22
22
|
'low'?: number;
|
|
23
|
+
'unknown'?: number;
|
|
23
24
|
'remediations'?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Deprecated: Use provider-level recommendations map in ProviderReport instead.
|
|
27
|
+
*/
|
|
24
28
|
'recommendations'?: number;
|
|
25
29
|
'unscanned'?: number;
|
|
26
30
|
|
|
@@ -75,6 +79,12 @@ export class SourceSummary {
|
|
|
75
79
|
"type": "number",
|
|
76
80
|
"format": ""
|
|
77
81
|
},
|
|
82
|
+
{
|
|
83
|
+
"name": "unknown",
|
|
84
|
+
"baseName": "unknown",
|
|
85
|
+
"type": "number",
|
|
86
|
+
"format": ""
|
|
87
|
+
},
|
|
78
88
|
{
|
|
79
89
|
"name": "remediations",
|
|
80
90
|
"baseName": "remediations",
|
package/package.json
CHANGED