Skip to content

Commit

Permalink
Merge pull request #7027 from frasan15/patch-1
Browse files Browse the repository at this point in the history
fix(query): removed redundant import
  • Loading branch information
cx-ruiaraujo authored Apr 29, 2024
2 parents ea00d15 + cd008b3 commit 2ffb991
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assets/queries/terraform/aws/http_port_open/query.rego
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package Cx

import data.generic.terraform as terraLib
import data.generic.terraform as tf_lib

CxPolicy[result] {
resource := input.document[i].resource.aws_security_group[name]

terraLib.portOpenToInternet(resource.ingress, 80)
tf_lib.portOpenToInternet(resource.ingress, 80)

result := {
"documentId": input.document[i].id,
Expand Down

0 comments on commit 2ffb991

Please sign in to comment.