Skip to content

Commit

Permalink
added triggers in getDetectors API response
Browse files Browse the repository at this point in the history
Signed-off-by: Riya Saxena <[email protected]>
  • Loading branch information
riysaxen-amzn committed Aug 8, 2024
1 parent c8ad00f commit bb0271c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
.field(Detector.LAST_UPDATE_TIME_FIELD, detector.getLastUpdateTime())
.field(Detector.ENABLED_TIME_FIELD, detector.getEnabledTime())
.field(Detector.THREAT_INTEL_ENABLED_FIELD, detector.getThreatIntelEnabled())
.field(Detector.TRIGGERS_FIELD, detector.getTriggers())
.endObject();
return builder.endObject();
}
Expand Down

0 comments on commit bb0271c

Please sign in to comment.