Skip to content

Commit

Permalink
user policy input fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rchanger committed Aug 2, 2021
1 parent 2cae1b0 commit 54cb306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/policies/opa/rego/docker/docker_run/lastUserRoot.rego
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package accurics

{{.prefix}}{{.name}}{{.suffix}}[cmd.id]{
cmd := input.user[count(input.docker_user) - 1]
cmd := input.docker_user[count(input.docker_user) - 1]
cmd.config == "root"
}

0 comments on commit 54cb306

Please sign in to comment.