@trustify-da/trustify-da-api-model 2.0.8-ea.abf79f0 → 2.0.8
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 +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 +1 -1
- package/model/v5/Source.ts +1 -1
- package/model/v5/SourceSummary.ts +4 -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.8
|
|
23
|
+
<version>2.0.8</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.8
|
|
32
|
+
npm install @guacsec/trustify-da-api-model@2.0.8
|
|
33
33
|
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
111e7082a8b5da1aeae0a3e2c5c5ce60018039ffd2baeda568f63b35ee2a004a
|
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
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).
|
|
@@ -21,6 +21,9 @@ export class SourceSummary {
|
|
|
21
21
|
'medium'?: number;
|
|
22
22
|
'low'?: number;
|
|
23
23
|
'remediations'?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Deprecated: Use provider-level recommendations map in ProviderReport instead.
|
|
26
|
+
*/
|
|
24
27
|
'recommendations'?: number;
|
|
25
28
|
'unscanned'?: number;
|
|
26
29
|
|
package/package.json
CHANGED