sendFeedback
inline suspend fun SecurityIrClient.sendFeedback(crossinline block: SendFeedbackRequest.Builder.() -> Unit): SendFeedbackResponse
Send feedback based on response investigation action
Samples
// Send positive feedback for investigation result
val resp = securityIrClient.sendFeedback {
caseId = "8403556009"
resultId = "inv-polkjhyuty"
usefulness = UsefulnessRating.fromValue("USEFUL")
comment = "The CloudTrail analysis was very helpful in identifying the root cause of the security incident."
}Content copied to clipboard
// Send negative feedback with detailed comment
val resp = securityIrClient.sendFeedback {
caseId = "8403556009"
resultId = "inv-irutjfhgjk"
usefulness = UsefulnessRating.fromValue("NOT_USEFUL")
comment = "The investigation results were too generic and didn't provide actionable insights for our specific incident."
}Content copied to clipboard