Find security vulnerabilities, compliance issues, and infrastructure misconfigurations early in the development cycle of your infrastructure-as-code with KICS by Checkmarx.
Security Group Not Used, Severity: INFO, Results: 1
Description: Security group must be used or not declared
Platform: Terraform
Learn more about this vulnerability: https://docs.kics.io/latest/queries/terraform-queries/aws/4849211b-ac39-479e-ae78-5694d506cb24
[1]: ../../path/main.tf:1
001: resource "aws_security_group" "main" {
002: name = "test"
003: description = "test"
Steps to Reproduce the Problem
docker run -t -v ./:/path checkmarx/kics scan -p /path
When a security group id added in a list , kics detect unused security group.
example of code sample.zip
this workaround doesn't trigger "security groups not used"
Expected Behavior
No detection of security group Not Used
Actual Behavior
logs.txt
Steps to Reproduce the Problem
Specifications
(N/A if not applicable)