Interface XssOrBuilder (2.4.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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public abstract ByteString getErrorMessageBytes()

An error message generated by a javascript breakage.

string error_message = 2;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for storedXssSeedingUrl.