Interface XssOrBuilder (2.55.0)

public interface XssOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttackVector()

public abstract Xss.AttackVector getAttackVector()

The attack vector of the payload triggering this XSS.

.google.cloud.websecurityscanner.v1.Xss.AttackVector attack_vector = 3;

Returns
Type Description
Xss.AttackVector

The attackVector.

getAttackVectorValue()

public abstract int getAttackVectorValue()

The attack vector of the payload triggering this XSS.

.google.cloud.websecurityscanner.v1.Xss.AttackVector attack_vector = 3;

Returns
Type Description
int

The enum numeric value on the wire for attackVector.

getErrorMessage()

public abstract String getErrorMessage()

An error message generated by a javascript breakage.

string error_message = 2;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public abstract ByteString getErrorMessageBytes()

An error message generated by a javascript breakage.

string error_message = 2;

Returns
Type Description
ByteString

The bytes for errorMessage.

getStackTraces(int index)

public abstract String getStackTraces(int index)

Stack traces leading to the point where the XSS occurred.

repeated string stack_traces = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The stackTraces at the given index.

getStackTracesBytes(int index)

public abstract ByteString getStackTracesBytes(int index)

Stack traces leading to the point where the XSS occurred.

repeated string stack_traces = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the stackTraces at the given index.

getStackTracesCount()

public abstract int getStackTracesCount()

Stack traces leading to the point where the XSS occurred.

repeated string stack_traces = 1;

Returns
Type Description
int

The count of stackTraces.

getStackTracesList()

public abstract List<String> getStackTracesList()

Stack traces leading to the point where the XSS occurred.

repeated string stack_traces = 1;

Returns
Type Description
List<String>

A list containing the stackTraces.

getStoredXssSeedingUrl()

public abstract String getStoredXssSeedingUrl()

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

string stored_xss_seeding_url = 4;

Returns
Type Description
String

The storedXssSeedingUrl.

getStoredXssSeedingUrlBytes()

public abstract ByteString getStoredXssSeedingUrlBytes()

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

string stored_xss_seeding_url = 4;

Returns
Type Description
ByteString

The bytes for storedXssSeedingUrl.