Skip to content

Commit

Permalink
Update Finding.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Annie Lee committed Mar 18, 2022
1 parent 5b108ee commit c9b36f3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ class Finding(
}
}
SEVERITY_FIELD -> severity = xcp.text()
TIMESTAMP_FIELD -> timestamp = requireNotNull(xcp.instant())
// TODO: Check if the timestamp type is correct
TIMESTAMP_FIELD -> {
timestamp = requireNotNull(xcp.instant())
log.info("timestamp value: $timestamp")
}
TRIGGER_ID_FIELD -> triggerId = xcp.text()
TRIGGER_NAME_FIELD -> triggerName = xcp.text()
}
Expand Down

0 comments on commit c9b36f3

Please sign in to comment.