Skip to content

Commit

Permalink
Fix description and version rule (#1523)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewintaur authored Feb 6, 2023
1 parent bf56754 commit 9d58834
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "imageVersionnotusinglatest"
},
"severity": "MEDIUM",
"description": "Ensure platform flag with FROM command is not used for Docker file",
"description": "Ensure :latest version is not used for Docker file",
"reference_id": "AC_DOCKER_0041",
"category": "Infrastructure Security",
"id": "AC_DOCKER_0041",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ package accurics
{{.prefix}}{{.name}}{{.suffix}}[dockerFrom.id]{
dockerFrom := input.docker_from[_]
config := dockerFrom.config
not contains(config, ":v")
not contains(config, ":")
}

0 comments on commit 9d58834

Please sign in to comment.