sendFeedback

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."
}
// 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."
}