vulnerability_report
Creates, updates, deletes, gets or lists a vulnerability_report
resource.
Overview
Name | vulnerability_report |
Type | Resource |
Id | google.osconfig.vulnerability_report |
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 |
---|---|---|---|
get | SELECT | instancesId, locationsId, projectsId | Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them. |
SELECT
examples
Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them.
SELECT
name,
updateTime,
vulnerabilities
FROM google.osconfig.vulnerability_report
WHERE instancesId = '{{ instancesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';