Skip to content

Commit

Permalink
Fix: Changed the function name according to name conventions in docum…
Browse files Browse the repository at this point in the history
…entation

Signed-off-by: GLVS Kiriti <glvskiriti2003369@gmail.com>
  • Loading branch information
GLVSKiriti authored and poiana committed Apr 5, 2024
1 parent ab00990 commit 785aed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions events/syscall/set_setuid_or_set_setgid_bit.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import (
)

var _ = events.Register(
SetSetuidOrSetSetgidBit,
SetSetuidorSetgidbit,
events.WithDisabled(), // this rules is not included in falco_rules.yaml (stable rules), so disable the action
)

func SetSetuidOrSetSetgidBit(h events.Helper) error {
func SetSetuidorSetgidbit(h events.Helper) error {
filename := "created-by-falco-event-generator"
if err := os.WriteFile(filename, nil, 0755); err != nil {
h.Log().WithError(err).Error("Error Creating an empty file")
Expand Down

0 comments on commit 785aed5

Please sign in to comment.