Skip to content

Commit 3af559a

Browse files
cloudsecmachineromulets
andauthoredJan 30, 2025··
[updatecli] main - Update hermit and pre-commit dependencies (#2931)
* chore: Update hermit and pre-commit packages Made with ❤️️ by updatecli * Fix linting rules --------- Co-authored-by: Rômulo Farias <romulo.farias@elastic.co>
1 parent 57ecd03 commit 3af559a

20 files changed

+17
-17
lines changed
 

‎.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ repos:
7777
files: deploy/cloudformation/.*yml
7878

7979
- repo: https://github.com/aws-cloudformation/cfn-lint
80-
rev: v1.22.4
80+
rev: v1.22.7
8181
hooks:
8282
- id: cfn-python-lint
8383
files: deploy/cloudformation/.*.yml
@@ -170,7 +170,7 @@ repos:
170170
files: (\.rego)$
171171

172172
- repo: https://github.com/igorshubovych/markdownlint-cli
173-
rev: v0.43.0
173+
rev: v0.44.0
174174
hooks:
175175
- id: markdownlint
176176
args: [ '--disable',
@@ -184,7 +184,7 @@ repos:
184184
files: security-policies/.*\.(md|markdown)$
185185

186186
- repo: https://github.com/StyraInc/regal
187-
rev: v0.29.2
187+
rev: v0.30.2
188188
hooks:
189189
- id: regal-lint
190190
args: [security-policies/bundle]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎bin/aws

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.awscli-2.22.33.pkg
1+
.awscli-2.23.6.pkg

‎bin/aws_completer

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.awscli-2.22.33.pkg
1+
.awscli-2.23.6.pkg

‎bin/bq

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.gcloud-505.0.0.pkg
1+
.gcloud-507.0.0.pkg

‎bin/docker-credential-gcloud

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.gcloud-505.0.0.pkg
1+
.gcloud-507.0.0.pkg

‎bin/gcloud

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.gcloud-505.0.0.pkg
1+
.gcloud-507.0.0.pkg

‎bin/git-credential-gcloud.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.gcloud-505.0.0.pkg
1+
.gcloud-507.0.0.pkg

‎bin/gsutil

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.gcloud-505.0.0.pkg
1+
.gcloud-507.0.0.pkg

‎bin/just

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.just-1.38.0.pkg
1+
.just-1.39.0.pkg

‎bin/opa

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.opa-1.0.0.pkg
1+
.opa-1.0.1.pkg

‎bin/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.pre-commit-4.0.1.pkg
1+
.pre-commit-4.1.0.pkg

‎bin/regal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.regal-0.29.2.pkg
1+
.regal-0.30.2.pkg

‎security-policies/bundle/compliance/lib/common/common.rego

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ConvertDaysToHours(duration) := result if {
3131

3232
# set the rule result
3333
calculate_result(evaluation) := "passed" if {
34-
evaluation
34+
evaluation != false
3535
} else := "failed"
3636

3737
# Safely evaluate evidence. In case a key is undefined, it will be defaulted.

‎security-policies/bundle/compliance/policy/aws_eks/ensure_private_access.rego

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public_access_is_restricted(cluster, _) if {
1515
}
1616

1717
public_access_is_restricted(cluster, cidr_allowed) if {
18-
cidr_allowed
18+
cidr_allowed == true
1919

2020
cluster.ResourcesVpcConfig.EndpointPublicAccess
2121
public_access_cidrs := cluster.ResourcesVpcConfig.PublicAccessCidrs
@@ -48,6 +48,6 @@ finding(cidr_allowed) := result if {
4848
}
4949

5050
cidr_evidence(config, cidr_allowed) := result if {
51-
cidr_allowed
51+
cidr_allowed == true
5252
result := {"public_access_cidrs": config.PublicAccessCidrs}
5353
} else := {}

0 commit comments

Comments
 (0)
Please sign in to comment.