Skip to main content

findings

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

Overview

Namefindings
TypeResource
Idgoogle.websecurityscanner.findings

Fields

NameDatatypeDescription
namestringOutput only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
descriptionstringOutput only. The description of the vulnerability.
bodystringOutput only. The body of the request that triggered the vulnerability.
finalUrlstringOutput only. The URL where the browser lands when the vulnerability is detected.
findingTypestringOutput only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
formobject! Information about a vulnerability with an HTML.
frameUrlstringOutput only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
fuzzedUrlstringOutput only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
httpMethodstringOutput only. The http method of the request that triggered the vulnerability, in uppercase.
outdatedLibraryobjectInformation reported for an outdated library.
reproductionUrlstringOutput only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
severitystringOutput only. The severity level of the reported vulnerability.
trackingIdstringOutput only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
violatingResourceobjectInformation regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
vulnerableHeadersobjectInformation about vulnerable or missing HTTP Headers.
vulnerableParametersobjectInformation about vulnerable request parameters.
xssobjectInformation reported for an XSS.
xxeobjectInformation reported for an XXE.

Methods

NameAccessible byRequired ParamsDescription
getSELECTfindingsId, projectsId, scanConfigsId, scanRunsIdGets a Finding.
listSELECTprojectsId, scanConfigsId, scanRunsIdList Findings under a given ScanRun.

SELECT examples

List Findings under a given ScanRun.

SELECT
name,
description,
body,
finalUrl,
findingType,
form,
frameUrl,
fuzzedUrl,
httpMethod,
outdatedLibrary,
reproductionUrl,
severity,
trackingId,
violatingResource,
vulnerableHeaders,
vulnerableParameters,
xss,
xxe
FROM google.websecurityscanner.findings
WHERE projectsId = '{{ projectsId }}'
AND scanConfigsId = '{{ scanConfigsId }}'
AND scanRunsId = '{{ scanRunsId }}';