backport antivirus from experimental

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2023-03-21 10:04:11 +01:00
parent e7fd4f93f4
commit f4ba4e0f64
20 changed files with 842 additions and 2 deletions
@@ -2,6 +2,7 @@ package eventSVC
import (
"context"
"github.com/cs3org/reva/v2/pkg/events"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/services/policies/pkg/engine"
@@ -37,7 +38,7 @@ func (s Service) Run() error {
for e := range ch {
switch ev := e.Event.(type) {
case events.StartPostprocessingStep:
if ev.StepToStart != "policies" {
if ev.StepToStart != events.PPStepPolicies {
continue
}