Skip to content

Commit

Permalink
Merge pull request #457 from kubescape/feature/enable-capabilites
Browse files Browse the repository at this point in the history
Fixing seccomp init
  • Loading branch information
amitschendel authored Jan 15, 2025
2 parents 7f25afc + 0ca99ab commit 534290d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/containerwatcher/v1/container_watcher_private.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (ch *IGContainerWatcher) stopContainerCollection() {
}

func (ch *IGContainerWatcher) startTracers() error {
if ch.cfg.EnableApplicationProfile {
if ch.cfg.EnableRuntimeDetection || ch.cfg.EnableSeccomp {
// Start syscall tracer
if err := ch.startSystemcallTracing(); err != nil {
logger.L().Error("IGContainerWatcher - error starting seccomp tracing", helpers.Error(err))
Expand All @@ -217,7 +217,7 @@ func (ch *IGContainerWatcher) startTracers() error {
logger.L().Info("started open tracing")
}

if ch.cfg.EnableNetworkTracing {
if ch.cfg.EnableNetworkTracing || ch.cfg.EnableRuntimeDetection {
if err := ch.startKubernetesResolution(); err != nil {
logger.L().Error("IGContainerWatcher - error starting kubernetes resolution", helpers.Error(err))
return err
Expand Down

0 comments on commit 534290d

Please sign in to comment.