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 <[email protected]>
  • Loading branch information
GLVSKiriti committed Jun 20, 2024
1 parent 0815559 commit ca5de63
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 ca5de63

Please sign in to comment.