Skip to content

Commit

Permalink
Changing the condition to trigger falco rule
Browse files Browse the repository at this point in the history
Signed-off-by: GLVS Kiriti <[email protected]>
  • Loading branch information
GLVSKiriti authored and poiana committed Apr 5, 2024
1 parent 8bc0b8d commit 13276c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/syscall/execution_from_dev_shm.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func ExecutionFromDevShm(h events.Helper) error {
return err
}

cmd := exec.Command(scriptPath)
cmd := exec.Command("sh", "-c", "cd /dev/shm/ && ./example_script-created-by-falco-event-generator.sh")
defer os.Remove(scriptPath)
return cmd.Run()
}

0 comments on commit 13276c2

Please sign in to comment.