Skip to content

Commit

Permalink
Fix: Updated function name to the correct rule name
Browse files Browse the repository at this point in the history
Signed-off-by: GLVSKiriti <116095646+GLVSKiriti@users.noreply.github.com>
  • Loading branch information
GLVSKiriti authored and poiana committed Jul 18, 2024
1 parent 3b014d2 commit 8356c82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import (
)

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

func PolkitLocalPrivilegeEscalationVulnerability(h events.Helper) error {
func PolkitLocalPrivilegeEscalationVulnerabilityCVE20214034(h events.Helper) error {
//To setuid to something non-root user
return runAsUser(h, "daemon", "pkexec", "--user", "daemon")
}

0 comments on commit 8356c82

Please sign in to comment.