Skip to content

Commit

Permalink
Fix typo in the example output (#595)
Browse files Browse the repository at this point in the history
s/os/syscall

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
  • Loading branch information
ericwb committed Sep 16, 2024
1 parent ebd6176 commit b9f91c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions precli/rules/go/stdlib/syscall_setuid_root.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
??? example "Example Output"
```
> precli tests/unit/rules/go/stdlib/os/examples/syscall_setuid_0.go
⛔️ Error on line 16 in tests/unit/rules/go/stdlib/os/examples/syscall_setuid_0.go
> precli tests/unit/rules/go/stdlib/syscall/examples/syscall_setuid_0.go
⛔️ Error on line 16 in tests/unit/rules/go/stdlib/syscall/examples/syscall_setuid_0.go
GO004: Execution with Unnecessary Privileges
The function 'syscall.Setuid(0)' escalates the process to run with root (superuser) privileges.
```
Expand Down

0 comments on commit b9f91c2

Please sign in to comment.