google-apis-osconfig_v1alpha 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43fc26a3093a5f19218443e264b1f0571650d3e769294a1b0e4a0fa1275cd37b
|
4
|
+
data.tar.gz: feb5a9b89e9e1e19a1342f23075fd962c32370acf1112d0d663b771b478e2ea3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e0c0f6234df67dc6f4bdd0ea275d8d384b6c90d0b139bd832f1d41d114b250ee6cf2415d52cae99d77e486343f38731efd88221f02f11e4bd251acb5a98e007
|
7
|
+
data.tar.gz: 97352822569ae1cfeaed2457cc44ef2536b2575573fadd6bde8949cea67d805ec397d7b0af49e7fd1d6058c365cbdb83002e6d65430a4e8b908619f0d436a458
|
data/CHANGELOG.md
CHANGED
@@ -2676,6 +2676,11 @@ module Google
|
|
2676
2676
|
# @return [Array<String>]
|
2677
2677
|
attr_accessor :installed_inventory_item_ids
|
2678
2678
|
|
2679
|
+
# List of items affected by the vulnerability.
|
2680
|
+
# Corresponds to the JSON property `items`
|
2681
|
+
# @return [Array<Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityItem>]
|
2682
|
+
attr_accessor :items
|
2683
|
+
|
2679
2684
|
# The timestamp for when the vulnerability was last modified.
|
2680
2685
|
# Corresponds to the JSON property `updateTime`
|
2681
2686
|
# @return [String]
|
@@ -2691,6 +2696,7 @@ module Google
|
|
2691
2696
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2692
2697
|
@details = args[:details] if args.key?(:details)
|
2693
2698
|
@installed_inventory_item_ids = args[:installed_inventory_item_ids] if args.key?(:installed_inventory_item_ids)
|
2699
|
+
@items = args[:items] if args.key?(:items)
|
2694
2700
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2695
2701
|
end
|
2696
2702
|
end
|
@@ -2772,6 +2778,53 @@ module Google
|
|
2772
2778
|
@url = args[:url] if args.key?(:url)
|
2773
2779
|
end
|
2774
2780
|
end
|
2781
|
+
|
2782
|
+
# OS inventory item that is affected by a vulnerability or fixed as a result of
|
2783
|
+
# a vulnerability.
|
2784
|
+
class VulnerabilityReportVulnerabilityItem
|
2785
|
+
include Google::Apis::Core::Hashable
|
2786
|
+
|
2787
|
+
# Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the
|
2788
|
+
# vulnerability report was not updated after the VM inventory update, these
|
2789
|
+
# values might not display in VM inventory. If there is no available fix, the
|
2790
|
+
# field is empty. The `inventory_item` value specifies the latest `
|
2791
|
+
# SoftwarePackage` available to the VM that fixes the vulnerability.
|
2792
|
+
# Corresponds to the JSON property `availableInventoryItemId`
|
2793
|
+
# @return [String]
|
2794
|
+
attr_accessor :available_inventory_item_id
|
2795
|
+
|
2796
|
+
# The recommended [CPE URI](https://cpe.mitre.org/specification/) update that
|
2797
|
+
# contains a fix for this vulnerability.
|
2798
|
+
# Corresponds to the JSON property `fixedCpeUri`
|
2799
|
+
# @return [String]
|
2800
|
+
attr_accessor :fixed_cpe_uri
|
2801
|
+
|
2802
|
+
# Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field
|
2803
|
+
# displays the inventory items affected by this vulnerability. If the
|
2804
|
+
# vulnerability report was not updated after the VM inventory update, these
|
2805
|
+
# values might not display in VM inventory. For some operating systems, this
|
2806
|
+
# field might be empty.
|
2807
|
+
# Corresponds to the JSON property `installedInventoryItemId`
|
2808
|
+
# @return [String]
|
2809
|
+
attr_accessor :installed_inventory_item_id
|
2810
|
+
|
2811
|
+
# The upstream OS patch, packages or KB that fixes the vulnerability.
|
2812
|
+
# Corresponds to the JSON property `upstreamFix`
|
2813
|
+
# @return [String]
|
2814
|
+
attr_accessor :upstream_fix
|
2815
|
+
|
2816
|
+
def initialize(**args)
|
2817
|
+
update!(**args)
|
2818
|
+
end
|
2819
|
+
|
2820
|
+
# Update properties of this object
|
2821
|
+
def update!(**args)
|
2822
|
+
@available_inventory_item_id = args[:available_inventory_item_id] if args.key?(:available_inventory_item_id)
|
2823
|
+
@fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
|
2824
|
+
@installed_inventory_item_id = args[:installed_inventory_item_id] if args.key?(:installed_inventory_item_id)
|
2825
|
+
@upstream_fix = args[:upstream_fix] if args.key?(:upstream_fix)
|
2826
|
+
end
|
2827
|
+
end
|
2775
2828
|
end
|
2776
2829
|
end
|
2777
2830
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OsconfigV1alpha
|
18
18
|
# Version of the google-apis-osconfig_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -430,6 +430,12 @@ module Google
|
|
430
430
|
include Google::Apis::Core::JsonObjectSupport
|
431
431
|
end
|
432
432
|
|
433
|
+
class VulnerabilityReportVulnerabilityItem
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
433
439
|
class CvsSv3
|
434
440
|
# @private
|
435
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1134,6 +1140,8 @@ module Google
|
|
1134
1140
|
property :details, as: 'details', class: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetails, decorator: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetails::Representation
|
1135
1141
|
|
1136
1142
|
collection :installed_inventory_item_ids, as: 'installedInventoryItemIds'
|
1143
|
+
collection :items, as: 'items', class: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityItem, decorator: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityItem::Representation
|
1144
|
+
|
1137
1145
|
property :update_time, as: 'updateTime'
|
1138
1146
|
end
|
1139
1147
|
end
|
@@ -1159,6 +1167,16 @@ module Google
|
|
1159
1167
|
property :url, as: 'url'
|
1160
1168
|
end
|
1161
1169
|
end
|
1170
|
+
|
1171
|
+
class VulnerabilityReportVulnerabilityItem
|
1172
|
+
# @private
|
1173
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1174
|
+
property :available_inventory_item_id, as: 'availableInventoryItemId'
|
1175
|
+
property :fixed_cpe_uri, as: 'fixedCpeUri'
|
1176
|
+
property :installed_inventory_item_id, as: 'installedInventoryItemId'
|
1177
|
+
property :upstream_fix, as: 'upstreamFix'
|
1178
|
+
end
|
1179
|
+
end
|
1162
1180
|
end
|
1163
1181
|
end
|
1164
1182
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-osconfig_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.11.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|