Google Cloud Web Security Scanner V1 Client - Class Xss (0.7.18)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class Xss.

Information reported for an XSS.

Generated from protobuf message google.cloud.websecurityscanner.v1.Xss

Namespace

Google \ Cloud \ WebSecurityScanner \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ stack_traces array

Stack traces leading to the point where the XSS occurred.

↳ error_message string

An error message generated by a javascript breakage.

↳ attack_vector int

The attack vector of the payload triggering this XSS.

↳ stored_xss_seeding_url string

The reproduction url for the seeding POST request of a Stored XSS.

getStackTraces

Stack traces leading to the point where the XSS occurred.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setStackTraces

Stack traces leading to the point where the XSS occurred.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getErrorMessage

An error message generated by a javascript breakage.

Returns
TypeDescription
string

setErrorMessage

An error message generated by a javascript breakage.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAttackVector

The attack vector of the payload triggering this XSS.

Returns
TypeDescription
int

setAttackVector

The attack vector of the payload triggering this XSS.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStoredXssSeedingUrl

The reproduction url for the seeding POST request of a Stored XSS.

Returns
TypeDescription
string

setStoredXssSeedingUrl

The reproduction url for the seeding POST request of a Stored XSS.

Parameter
NameDescription
var string
Returns
TypeDescription
$this