@google-cloud/containeranalysis 4.2.0 → 4.4.0
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/CHANGELOG.md +23 -0
- package/build/protos/grafeas/v1/cvss.proto +7 -0
- package/build/protos/grafeas/v1/discovery.proto +17 -1
- package/build/protos/grafeas/v1/vulnerability.proto +10 -0
- package/build/protos/protos.d.ts +1813 -3
- package/build/protos/protos.js +8529 -3183
- package/build/protos/protos.json +54 -0
- package/build/src/v1/container_analysis_client.d.ts +10 -3
- package/build/src/v1/container_analysis_client.js +27 -14
- package/build/src/v1/container_analysis_client.js.map +1 -1
- package/build/src/v1beta1/container_analysis_v1_beta1_client.d.ts +10 -3
- package/build/src/v1beta1/container_analysis_v1_beta1_client.js +39 -22
- package/build/src/v1beta1/container_analysis_v1_beta1_client.js.map +1 -1
- package/build/src/v1beta1/grafeas_v1_beta1_client.d.ts +10 -3
- package/build/src/v1beta1/grafeas_v1_beta1_client.js +78 -48
- package/build/src/v1beta1/grafeas_v1_beta1_client.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,29 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/@google-cloud/containeranalysis?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [4.4.0](https://github.com/googleapis/nodejs-containeranalysis/compare/v4.3.0...v4.4.0) (2022-10-06)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* Add new analysis status and cvss version fields ([#443](https://github.com/googleapis/nodejs-containeranalysis/issues/443)) ([2b4db8e](https://github.com/googleapis/nodejs-containeranalysis/commit/2b4db8ee9859823e32de8256853429adf88cf207))
|
|
13
|
+
|
|
14
|
+
## [4.3.0](https://github.com/googleapis/nodejs-containeranalysis/compare/v4.2.0...v4.3.0) (2022-09-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* Accept google-gax instance as a parameter ([#433](https://github.com/googleapis/nodejs-containeranalysis/issues/433)) ([51e82fd](https://github.com/googleapis/nodejs-containeranalysis/commit/51e82fd484752113c48efba4ff42ac838b961056))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* Better support for fallback mode ([#427](https://github.com/googleapis/nodejs-containeranalysis/issues/427)) ([c63417b](https://github.com/googleapis/nodejs-containeranalysis/commit/c63417b5728a83518ffd83602d94acc3d537328c))
|
|
25
|
+
* Change import long to require ([#428](https://github.com/googleapis/nodejs-containeranalysis/issues/428)) ([4fd0750](https://github.com/googleapis/nodejs-containeranalysis/commit/4fd075018b8fc34cac0712aff3b15c61096016af))
|
|
26
|
+
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-containeranalysis/issues/1553)) ([#432](https://github.com/googleapis/nodejs-containeranalysis/issues/432)) ([ea51fef](https://github.com/googleapis/nodejs-containeranalysis/commit/ea51fef4bb638eb1e2da9de5817a44e5652e404e))
|
|
27
|
+
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-containeranalysis/issues/1546)) ([#431](https://github.com/googleapis/nodejs-containeranalysis/issues/431)) ([a0e674f](https://github.com/googleapis/nodejs-containeranalysis/commit/a0e674fcf24bac4a870ead8dfc9357609a868981))
|
|
28
|
+
* use google-gax v3.3.0 ([ea51fef](https://github.com/googleapis/nodejs-containeranalysis/commit/ea51fef4bb638eb1e2da9de5817a44e5652e404e))
|
|
29
|
+
|
|
7
30
|
## [4.2.0](https://github.com/googleapis/nodejs-containeranalysis/compare/v4.1.0...v4.2.0) (2022-07-04)
|
|
8
31
|
|
|
9
32
|
|
|
@@ -53,6 +53,8 @@ message DiscoveryOccurrence {
|
|
|
53
53
|
// Analysis status for a resource. Currently for initial analysis only (not
|
|
54
54
|
// updated in continuous analysis).
|
|
55
55
|
enum AnalysisStatus {
|
|
56
|
+
option allow_alias = true;
|
|
57
|
+
|
|
56
58
|
// Unknown.
|
|
57
59
|
ANALYSIS_STATUS_UNSPECIFIED = 0;
|
|
58
60
|
// Resource is known but no action has been taken yet.
|
|
@@ -61,16 +63,30 @@ message DiscoveryOccurrence {
|
|
|
61
63
|
SCANNING = 2;
|
|
62
64
|
// Analysis has finished successfully.
|
|
63
65
|
FINISHED_SUCCESS = 3;
|
|
66
|
+
// Analysis has completed.
|
|
67
|
+
COMPLETE = 3;
|
|
64
68
|
// Analysis has finished unsuccessfully, the analysis itself is in a bad
|
|
65
69
|
// state.
|
|
66
70
|
FINISHED_FAILED = 4;
|
|
67
|
-
// The resource is known not to be supported
|
|
71
|
+
// The resource is known not to be supported.
|
|
68
72
|
FINISHED_UNSUPPORTED = 5;
|
|
69
73
|
}
|
|
70
74
|
|
|
71
75
|
// The status of discovery for the resource.
|
|
72
76
|
AnalysisStatus analysis_status = 2;
|
|
73
77
|
|
|
78
|
+
// Indicates which analysis completed successfully. Multiple types of
|
|
79
|
+
// analysis can be performed on a single resource.
|
|
80
|
+
message AnalysisCompleted {
|
|
81
|
+
repeated string analysis_type = 1;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
AnalysisCompleted analysis_completed = 7;
|
|
85
|
+
|
|
86
|
+
// Indicates any errors encountered during analysis of a resource. There
|
|
87
|
+
// could be 0 or more of these errors.
|
|
88
|
+
repeated google.rpc.Status analysis_error = 8;
|
|
89
|
+
|
|
74
90
|
// When an error is encountered this will contain a LocalizedMessage under
|
|
75
91
|
// details to show to the user. The LocalizedMessage is output only and
|
|
76
92
|
// populated by the API.
|
|
@@ -148,6 +148,11 @@ message VulnerabilityNote {
|
|
|
148
148
|
// upstream timestamp from the underlying information source - e.g. Ubuntu
|
|
149
149
|
// security tracker.
|
|
150
150
|
google.protobuf.Timestamp source_update_time = 6;
|
|
151
|
+
|
|
152
|
+
// CVSS version used to populate cvss_score and severity.
|
|
153
|
+
grafeas.v1.CVSSVersion cvss_version = 7;
|
|
154
|
+
|
|
155
|
+
// Next free ID is 8.
|
|
151
156
|
}
|
|
152
157
|
|
|
153
158
|
// An occurrence of a severity vulnerability on a resource.
|
|
@@ -238,4 +243,9 @@ message VulnerabilityOccurrence {
|
|
|
238
243
|
// Output only. Whether at least one of the affected packages has a fix
|
|
239
244
|
// available.
|
|
240
245
|
bool fix_available = 9;
|
|
246
|
+
|
|
247
|
+
// Output only. CVSS version used to populate cvss_score and severity.
|
|
248
|
+
grafeas.v1.CVSSVersion cvss_version = 11;
|
|
249
|
+
|
|
250
|
+
// Next free ID is 12.
|
|
241
251
|
}
|