- Resource: Finding
- Severity
- Form
- OutdatedLibrary
- ViolatingResource
- VulnerableHeaders
- Header
- VulnerableParameters
- Xss
- Xxe
- Location
- Methods
Resource: Finding
A Finding resource represents a vulnerability instance identified during a ScanRun.
JSON representation |
---|
{ "name": string, "findingType": string, "severity": enum ( |
Fields | |
---|---|
name |
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. |
finding |
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 |
severity |
The severity level of the reported vulnerability. |
http |
The http method of the request that triggered the vulnerability, in uppercase. |
fuzzed |
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability. |
body |
The body of the request that triggered the vulnerability. |
description |
The description of the vulnerability. |
reproduction |
The URL containing human-readable payload that user can leverage to reproduce the vulnerability. |
frame |
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported. |
final |
The URL where the browser lands when the vulnerability is detected. |
tracking |
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns. |
form |
An addon containing information reported for a vulnerability with an HTML form, if any. |
outdated |
An addon containing information about outdated libraries. |
violating |
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc. |
vulnerable |
An addon containing information about vulnerable or missing HTTP headers. |
vulnerable |
An addon containing information about request parameters which were found to be vulnerable. |
xss |
An addon containing information reported for an XSS, if any. |
xxe |
An addon containing information reported for an XXE, if any. |
Severity
The severity level of a vulnerability.
Enums | |
---|---|
SEVERITY_UNSPECIFIED |
No severity specified. The default value. |
CRITICAL |
Critical severity. |
HIGH |
High severity. |
MEDIUM |
Medium severity. |
LOW |
Low severity. |
Form
! Information about a vulnerability with an HTML.
JSON representation |
---|
{ "actionUri": string, "fields": [ string ] } |
Fields | |
---|---|
action |
! The URI where to send the form when it's submitted. |
fields[] |
! The names of form fields related to the vulnerability. |
OutdatedLibrary
Information reported for an outdated library.
JSON representation |
---|
{ "libraryName": string, "version": string, "learnMoreUrls": [ string ] } |
Fields | |
---|---|
library |
The name of the outdated library. |
version |
The version number. |
learn |
URLs to learn more information about the vulnerabilities in the library. |
ViolatingResource
Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
JSON representation |
---|
{ "contentType": string, "resourceUrl": string } |
Fields | |
---|---|
content |
The MIME type of this resource. |
resource |
URL of this violating resource. |
VulnerableHeaders
Information about vulnerable or missing HTTP Headers.
JSON representation |
---|
{ "headers": [ { object ( |
Fields | |
---|---|
headers[] |
List of vulnerable headers. |
missing |
List of missing headers. |
Header
Describes a HTTP Header.
JSON representation |
---|
{ "name": string, "value": string } |
Fields | |
---|---|
name |
Header name. |
value |
Header value. |
VulnerableParameters
Information about vulnerable request parameters.
JSON representation |
---|
{ "parameterNames": [ string ] } |
Fields | |
---|---|
parameter |
The vulnerable parameter names. |
Xss
Information reported for an XSS.
JSON representation |
---|
{ "stackTraces": [ string ], "errorMessage": string } |
Fields | |
---|---|
stack |
Stack traces leading to the point where the XSS occurred. |
error |
An error message generated by a javascript breakage. |
Xxe
Information reported for an XXE.
JSON representation |
---|
{
"payloadValue": string,
"payloadLocation": enum ( |
Fields | |
---|---|
payload |
The XML string that triggered the XXE vulnerability. Non-payload values might be redacted. |
payload |
Location within the request where the payload was placed. |
Location
Locations within a request where XML was substituted.
Enums | |
---|---|
LOCATION_UNSPECIFIED |
Unknown Location. |
COMPLETE_REQUEST_BODY |
The XML payload replaced the complete request body. |
Methods |
|
---|---|
|
Gets a Finding. |
|
List Findings under a given ScanRun. |