Skip to main content

vulnerability_reports

Creates, updates, deletes, gets or lists a vulnerability_reports resource.

Overview

Namevulnerability_reports
TypeResource
Idgoogle.osconfig.vulnerability_reports

Fields

NameDatatypeDescription
namestringOutput only. The vulnerabilityReport API resource name. Format: projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport
updateTimestringOutput only. The timestamp for when the last vulnerability report was generated for the VM.
vulnerabilitiesarrayOutput only. List of vulnerabilities affecting the VM.

Methods

NameAccessible byRequired ParamsDescription
listSELECTinstancesId, locationsId, projectsIdList vulnerability reports for all VM instances in the specified zone.

SELECT examples

List vulnerability reports for all VM instances in the specified zone.

SELECT
name,
updateTime,
vulnerabilities
FROM google.osconfig.vulnerability_reports
WHERE instancesId = '{{ instancesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';