Skip to content

Commit

Permalink
refactorisation
Browse files Browse the repository at this point in the history
Signed-off-by: Issif <issif+github@gadz.org>
Co-authored-by: anushkamittal20 <anumittal4641@gmail.com>
  • Loading branch information
2 people authored and poiana committed Jan 21, 2022
1 parent 236ceec commit 40a9079
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 113 deletions.
2 changes: 1 addition & 1 deletion handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func forwardEvent(falcopayload types.FalcoPayload) {
}
if config.PolicyReport.Enabled == true {

go policyReportClient.CreateReport(falcopayload)
go policyReportClient.UpdateOrCreatePolicyReport(falcopayload)
}

if config.Yandex.S3.Bucket != "" && (falcopayload.Priority >= types.Priority(config.Yandex.S3.MinimumPriority) || falcopayload.Rule == testRule) {
Expand Down

0 comments on commit 40a9079

Please sign in to comment.