Skip to content

Commit 0c6c814

Browse files
feat(osconfig): update the api
#### osconfig:v1 The following keys were added: - schemas.VulnerabilityReportVulnerability.properties.items (Total Keys: 2) - schemas.VulnerabilityReportVulnerabilityItem (Total Keys: 6) - schemas.WeekDayOfMonth.properties.dayOffset (Total Keys: 2) #### osconfig:v1alpha The following keys were added: - schemas.VulnerabilityReportVulnerability.properties.items (Total Keys: 2) - schemas.VulnerabilityReportVulnerabilityItem (Total Keys: 6) #### osconfig:v1beta The following keys were added: - schemas.WeekDayOfMonth.properties.dayOffset (Total Keys: 2)
1 parent 63a86ef commit 0c6c814

7 files changed

+123
-9
lines changed

docs/dyn/osconfig_v1.projects.locations.instances.vulnerabilityReports.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ <h3>Method Details</h3>
143143
&quot;installedInventoryItemIds&quot;: [ # Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.
144144
&quot;A String&quot;,
145145
],
146+
&quot;items&quot;: [ # List of items affected by the vulnerability.
147+
{ # OS inventory item that is affected by a vulnerability or fixed as a result of a vulnerability.
148+
&quot;availableInventoryItemId&quot;: &quot;A String&quot;, # Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
149+
&quot;fixedCpeUri&quot;: &quot;A String&quot;, # The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
150+
&quot;installedInventoryItemId&quot;: &quot;A String&quot;, # Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
151+
&quot;upstreamFix&quot;: &quot;A String&quot;, # The upstream OS patch, packages or KB that fixes the vulnerability.
152+
},
153+
],
146154
&quot;updateTime&quot;: &quot;A String&quot;, # The timestamp for when the vulnerability was last modified.
147155
},
148156
],
@@ -206,6 +214,14 @@ <h3>Method Details</h3>
206214
&quot;installedInventoryItemIds&quot;: [ # Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.
207215
&quot;A String&quot;,
208216
],
217+
&quot;items&quot;: [ # List of items affected by the vulnerability.
218+
{ # OS inventory item that is affected by a vulnerability or fixed as a result of a vulnerability.
219+
&quot;availableInventoryItemId&quot;: &quot;A String&quot;, # Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
220+
&quot;fixedCpeUri&quot;: &quot;A String&quot;, # The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
221+
&quot;installedInventoryItemId&quot;: &quot;A String&quot;, # Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
222+
&quot;upstreamFix&quot;: &quot;A String&quot;, # The upstream OS patch, packages or KB that fixes the vulnerability.
223+
},
224+
],
209225
&quot;updateTime&quot;: &quot;A String&quot;, # The timestamp for when the vulnerability was last modified.
210226
},
211227
],

docs/dyn/osconfig_v1.projects.patchDeployments.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ <h3>Method Details</h3>
249249
&quot;monthDay&quot;: 42, # Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run &quot;every month on the 31st&quot; will not run in February, April, June, etc.
250250
&quot;weekDayOfMonth&quot;: { # Represents one week day in a month. An example is &quot;the 4th Sunday&quot;. # Required. Week day in a month.
251251
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. A day of the week.
252+
&quot;dayOffset&quot;: 42, # Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].
252253
&quot;weekOrdinal&quot;: 42, # Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
253254
},
254255
},
@@ -426,6 +427,7 @@ <h3>Method Details</h3>
426427
&quot;monthDay&quot;: 42, # Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run &quot;every month on the 31st&quot; will not run in February, April, June, etc.
427428
&quot;weekDayOfMonth&quot;: { # Represents one week day in a month. An example is &quot;the 4th Sunday&quot;. # Required. Week day in a month.
428429
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. A day of the week.
430+
&quot;dayOffset&quot;: 42, # Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].
429431
&quot;weekOrdinal&quot;: 42, # Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
430432
},
431433
},
@@ -627,6 +629,7 @@ <h3>Method Details</h3>
627629
&quot;monthDay&quot;: 42, # Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run &quot;every month on the 31st&quot; will not run in February, April, June, etc.
628630
&quot;weekDayOfMonth&quot;: { # Represents one week day in a month. An example is &quot;the 4th Sunday&quot;. # Required. Week day in a month.
629631
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. A day of the week.
632+
&quot;dayOffset&quot;: 42, # Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].
630633
&quot;weekOrdinal&quot;: 42, # Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
631634
},
632635
},
@@ -815,6 +818,7 @@ <h3>Method Details</h3>
815818
&quot;monthDay&quot;: 42, # Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run &quot;every month on the 31st&quot; will not run in February, April, June, etc.
816819
&quot;weekDayOfMonth&quot;: { # Represents one week day in a month. An example is &quot;the 4th Sunday&quot;. # Required. Week day in a month.
817820
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. A day of the week.
821+
&quot;dayOffset&quot;: 42, # Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].
818822
&quot;weekOrdinal&quot;: 42, # Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
819823
},
820824
},
@@ -1009,6 +1013,7 @@ <h3>Method Details</h3>
10091013
&quot;monthDay&quot;: 42, # Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run &quot;every month on the 31st&quot; will not run in February, April, June, etc.
10101014
&quot;weekDayOfMonth&quot;: { # Represents one week day in a month. An example is &quot;the 4th Sunday&quot;. # Required. Week day in a month.
10111015
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. A day of the week.
1016+
&quot;dayOffset&quot;: 42, # Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].
10121017
&quot;weekOrdinal&quot;: 42, # Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
10131018
},
10141019
},
@@ -1186,6 +1191,7 @@ <h3>Method Details</h3>
11861191
&quot;monthDay&quot;: 42, # Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run &quot;every month on the 31st&quot; will not run in February, April, June, etc.
11871192
&quot;weekDayOfMonth&quot;: { # Represents one week day in a month. An example is &quot;the 4th Sunday&quot;. # Required. Week day in a month.
11881193
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. A day of the week.
1194+
&quot;dayOffset&quot;: 42, # Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].
11891195
&quot;weekOrdinal&quot;: 42, # Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
11901196
},
11911197
},

docs/dyn/osconfig_v1alpha.projects.locations.instances.vulnerabilityReports.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ <h3>Method Details</h3>
143143
&quot;installedInventoryItemIds&quot;: [ # Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.
144144
&quot;A String&quot;,
145145
],
146+
&quot;items&quot;: [ # List of items affected by the vulnerability.
147+
{ # OS inventory item that is affected by a vulnerability or fixed as a result of a vulnerability.
148+
&quot;availableInventoryItemId&quot;: &quot;A String&quot;, # Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
149+
&quot;fixedCpeUri&quot;: &quot;A String&quot;, # The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
150+
&quot;installedInventoryItemId&quot;: &quot;A String&quot;, # Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
151+
&quot;upstreamFix&quot;: &quot;A String&quot;, # The upstream OS patch, packages or KB that fixes the vulnerability.
152+
},
153+
],
146154
&quot;updateTime&quot;: &quot;A String&quot;, # The timestamp for when the vulnerability was last modified.
147155
},
148156
],
@@ -206,6 +214,14 @@ <h3>Method Details</h3>
206214
&quot;installedInventoryItemIds&quot;: [ # Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.
207215
&quot;A String&quot;,
208216
],
217+
&quot;items&quot;: [ # List of items affected by the vulnerability.
218+
{ # OS inventory item that is affected by a vulnerability or fixed as a result of a vulnerability.
219+
&quot;availableInventoryItemId&quot;: &quot;A String&quot;, # Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
220+
&quot;fixedCpeUri&quot;: &quot;A String&quot;, # The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
221+
&quot;installedInventoryItemId&quot;: &quot;A String&quot;, # Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
222+
&quot;upstreamFix&quot;: &quot;A String&quot;, # The upstream OS patch, packages or KB that fixes the vulnerability.
223+
},
224+
],
209225
&quot;updateTime&quot;: &quot;A String&quot;, # The timestamp for when the vulnerability was last modified.
210226
},
211227
],

0 commit comments

Comments
 (0)