FindingVariable

A structure that holds the value and associated metadata for values extracted while producing a Finding.

JSON representation
{
  "type": enum (Type),
  "value": string,
  "sourcePath": string,

  // Union field typed_value can be only one of the following:
  "boolVal": boolean,
  "bytesVal": string,
  "doubleVal": number,
  "int64Val": string,
  "uint64Val": string,
  "stringVal": string,
  "timestampTime": string,
  "nullVal": boolean,
  "boolSeq": {
    object (BoolSequence)
  },
  "bytesSeq": {
    object (BytesSequence)
  },
  "doubleSeq": {
    object (DoubleSequence)
  },
  "int64Seq": {
    object (Int64Sequence)
  },
  "uint64Seq": {
    object (Uint64Sequence)
  },
  "stringSeq": {
    object (StringSequence)
  }
  // End of list of possible types for union field typed_value.
}
Fields
type

enum (Type)

The type of the variable.

value

string

The value in string form.

sourcePath

string

The UDM field path for the field which this value was derived from. Example: principal.user.username

Union field typed_value. The typed value of the variable. typed_value can be only one of the following:
boolVal

boolean

The value in boolean format.

bytesVal

string (bytes format)

The value in bytes format.

A base64-encoded string.

doubleVal

number

The value in double format.

int64Val

string (int64 format)

The value in int64 format.

uint64Val

string

The value in uint64 format.

stringVal

string

The value in string format. Enum values are returned as strings.

timestampTime

string (Timestamp format)

The value in timestamp format.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

nullVal

boolean

Whether the value is null.

boolSeq

object (BoolSequence)

The value in boolsequence format.

bytesSeq

object (BytesSequence)

The value in bytessequence format.

doubleSeq

object (DoubleSequence)

The value in doublesequence format.

int64Seq

object (Int64Sequence)

The value in int64sequence format.

uint64Seq

object (Uint64Sequence)

The value in uint64sequence format.

stringSeq

object (StringSequence)

The value in stringsequence format.

BoolSequence

BoolSequence represents a sequence of bools.

JSON representation
{
  "boolVals": [
    boolean
  ]
}
Fields
boolVals[]

boolean

bool sequence.

BytesSequence

BytesSequence represents a sequence of bytes.

JSON representation
{
  "bytesVals": [
    string
  ]
}
Fields
bytesVals[]

string (bytes format)

bytes sequence.

A base64-encoded string.

DoubleSequence

DoubleSequence represents a sequence of doubles.

JSON representation
{
  "doubleVals": [
    number
  ]
}
Fields
doubleVals[]

number

double sequence.

Int64Sequence

Int64Sequence represents a sequence of int64s.

JSON representation
{
  "int64Vals": [
    string
  ]
}
Fields
int64Vals[]

string (int64 format)

int64 sequence.

Uint64Sequence

Uint64Sequence represents a sequence of uint64s.

JSON representation
{
  "uint64Vals": [
    string
  ]
}
Fields
uint64Vals[]

string

uint64 sequence.

StringSequence

StringSequence represents a sequence of string.

JSON representation
{
  "stringVals": [
    string
  ]
}
Fields
stringVals[]

string

string sequence.