You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While going through my code today with kics I noticed I appeared to be getting a false positive with the rule Terraform AWS rule "Security Group Rules Without Description" (68eb4bf3-f9bf-463d-b5cf-e029bb446d2e).
The SG rule resource in question does have a Description added. The query should be passing.
Actual Behavior
(Formatted logs and samples helps us to better understand the issue)
Output:
Security Group Rules Without Description, Severity: INFO, Results: 1
Description: It's considered a best practice for all rules in AWS Security Group to have a descriptionPlatform: Terraform [1]: terraform/modules/gitlab_ref_arch_aws/security.tf:83 082: 083: ingress { 084: description = "Enable HTTP access for select VMs"
Resource in question:
resource"aws_security_group""gitlab_external_http_https" {
count=min(var.haproxy_external_node_count+ var.monitor_node_count, 1)
name="${var.prefix}-external-http-https"description="Allow main HTTP / HTTPS"vpc_id=local.vpc_idingress {
description="Enable HTTP access for select VMs"from_port=80to_port=80protocol="tcp"cidr_blocks=["0.0.0.0/0"]
}
ingress {
description="Enable HTTPS access for select VMs"from_port=443to_port=443protocol="tcp"cidr_blocks=["0.0.0.0/0"]
}
tags={
Name ="${var.prefix}-external-http-https"
}
}
The text was updated successfully, but these errors were encountered:
Expected Behavior
While going through my code today with kics I noticed I appeared to be getting a false positive with the rule Terraform AWS rule "Security Group Rules Without Description" (
68eb4bf3-f9bf-463d-b5cf-e029bb446d2e
).The SG rule resource in question does have a Description added. The query should be passing.
Actual Behavior
(Formatted logs and samples helps us to better understand the issue)
Output:
Resource in question:
The text was updated successfully, but these errors were encountered: