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

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setStackTraces

Stack traces leading to the point where the XSS occurred.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getErrorMessage

An error message generated by a javascript breakage.

Returns
Type Description
string

setErrorMessage

An error message generated by a javascript breakage.

Parameter
Name Description
var string
Returns
Type Description
$this

getAttackVector

The attack vector of the payload triggering this XSS.

Returns
Type Description
int

setAttackVector

The attack vector of the payload triggering this XSS.

Parameter
Name Description
var int
Returns
Type Description
$this

getStoredXssSeedingUrl

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

Returns
Type Description
string

setStoredXssSeedingUrl

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

Parameter
Name Description
var string
Returns
Type Description
$this