Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
typeflat
printablefalse

Given a table with the following columns:
lhub_score, description, field1, field2, field3

...

Code Block
createDetailsColumnForThreatGPS(table)

Example

Input

lhub_score

lhub_ts

destIP

destPort

1.0

12

1.1.1.1

4010

LQL command

Code Block
createDetailsColumnForThreatGPS(table)

Output

lhub_score

lhub_ts

destIP

destPort

lhub_details

1.0

12

1.1.1.1

4010

{"destIP":1.1.1.1, "destPort":4010}

Note: if the table has only two columns (lhub_score and lhub_ts), then in the output the lhub_details column is an empty JSON object ("{}").