Skip to content

Commit

Permalink
Merge pull request #95 from bytedance/fix-disable-cap-privileged
Browse files Browse the repository at this point in the history
fix: Correct typo in capability denial
  • Loading branch information
Danny-Wei authored Jun 25, 2024
2 parents bb8eb43 + 947d85c commit 3f63c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/profile/apparmor/apparmor.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func generateHardeningRules(rule, qualifier string) (rules string) {

// disable privileged capabilities
case "disable-cap-privileged":
rules += qualifier + "deny capability dac_read_searchn\n"
rules += qualifier + "deny capability dac_read_search,\n"
rules += qualifier + "deny capability linux_immutable,\n"
rules += qualifier + "deny capability net_broadcast,\n"
rules += qualifier + "deny capability net_admin,\n"
Expand Down

0 comments on commit 3f63c83

Please sign in to comment.