We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6dd0d7 commit f7c1e80Copy full SHA for f7c1e80
1 file changed
soc-ai/processor/elastic.go
@@ -27,7 +27,7 @@ func (p *Processor) processAlertToElastic() {
27
continue
28
}
29
30
- if gptConfig.ChangeAlertStatus && alert.GPTClassification == "possible false positive" {
+ if gptConfig.ChangeAlertStatus {
31
err = elastic.ChangeAlertStatus(alert.AlertID, configurations.API_ALERT_COMPLETED_STATUS_CODE, alert.GPTClassification+" - "+alert.GPTReasoning)
32
if err != nil {
33
utils.Logger.ErrorF("error while changing alert status in elastic: %v", err)
0 commit comments