Skip to content

Commit f7c1e80

Browse files
committed
update alert status always when the conf is enabled in soc-ai
1 parent d6dd0d7 commit f7c1e80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

soc-ai/processor/elastic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func (p *Processor) processAlertToElastic() {
2727
continue
2828
}
2929

30-
if gptConfig.ChangeAlertStatus && alert.GPTClassification == "possible false positive" {
30+
if gptConfig.ChangeAlertStatus {
3131
err = elastic.ChangeAlertStatus(alert.AlertID, configurations.API_ALERT_COMPLETED_STATUS_CODE, alert.GPTClassification+" - "+alert.GPTReasoning)
3232
if err != nil {
3333
utils.Logger.ErrorF("error while changing alert status in elastic: %v", err)

0 commit comments

Comments
 (0)