@trustify-da/trustify-da-api-model 2.0.11-ea.c3fd37c → 2.0.11-ea.ffca6de
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
523830e7cb1a7bc7e351758601557db3c54352f3c188e7c93e5be91eb06e6232
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trustify Dependency Analytics API
|
|
3
|
+
* Trustify Dependency Analytics API
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 5.3.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
|
+
* Source advisory attribution for a remediation
|
|
16
|
+
*/
|
|
17
|
+
export class AdvisoryInfo {
|
|
18
|
+
/**
|
|
19
|
+
* Advisory identifier (e.g. RHSA-2024:1234, GHSA-xxxx-xxxx-xxxx)
|
|
20
|
+
*/
|
|
21
|
+
'id': string;
|
|
22
|
+
/**
|
|
23
|
+
* Advisory title or summary
|
|
24
|
+
*/
|
|
25
|
+
'title'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* URL to the full advisory document
|
|
28
|
+
*/
|
|
29
|
+
'url'?: string;
|
|
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": "id",
|
|
36
|
+
"baseName": "id",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"format": ""
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "title",
|
|
42
|
+
"baseName": "title",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": ""
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "url",
|
|
48
|
+
"baseName": "url",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"format": "uri"
|
|
51
|
+
} ];
|
|
52
|
+
|
|
53
|
+
static getAttributeTypeMap() {
|
|
54
|
+
return AdvisoryInfo.attributeTypeMap;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public constructor() {
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
+
import { AdvisoryInfo } from './AdvisoryInfo';
|
|
13
14
|
import { RemediationCategory } from './RemediationCategory';
|
|
14
15
|
|
|
15
16
|
/**
|
|
@@ -25,6 +26,7 @@ export class RemediationInfo {
|
|
|
25
26
|
* URL with more information about the remediation
|
|
26
27
|
*/
|
|
27
28
|
'url'?: string;
|
|
29
|
+
'advisory'?: AdvisoryInfo;
|
|
28
30
|
|
|
29
31
|
static readonly discriminator: string | undefined = undefined;
|
|
30
32
|
|
|
@@ -45,6 +47,12 @@ export class RemediationInfo {
|
|
|
45
47
|
"name": "url",
|
|
46
48
|
"baseName": "url",
|
|
47
49
|
"type": "string",
|
|
50
|
+
"format": "uri"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "advisory",
|
|
54
|
+
"baseName": "advisory",
|
|
55
|
+
"type": "AdvisoryInfo",
|
|
48
56
|
"format": ""
|
|
49
57
|
} ];
|
|
50
58
|
|
package/package.json
CHANGED