vulnerability_reports
Creates, updates, deletes, gets or lists a vulnerability_reports
resource.
Overview
Name | vulnerability_reports |
Type | Resource |
Id | google.osconfig.vulnerability_reports |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The vulnerabilityReport API resource name. Format: projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport |
updateTime | string | Output only. The timestamp for when the last vulnerability report was generated for the VM. |
vulnerabilities | array | Output only. List of vulnerabilities affecting the VM. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | instancesId, locationsId, projectsId | List 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 }}';