Skip to content

Commit

Permalink
Merge pull request #397 from therasec/bugfix/gcpcosimage
Browse files Browse the repository at this point in the history
Fixes GCP cos node image policy
  • Loading branch information
Willie authored Nov 20, 2020
2 parents 6a24967 + be19375 commit d37fb58
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package accurics

cosNodeImageUsed[api.id]{
api := input.google_container_node_pool[_]
node := api.config.node_config[_]
node.image_type != "cos"
}
node := api.config.node_config[_]
not startswith(lower(node.image_type), "cos")
}

0 comments on commit d37fb58

Please sign in to comment.