CCSS (Common Configuration Scoring System) is a set of measures used to determine the severity of the rule.
Each rule is associated with a high-level category. For example IAM, Container, Monitoring, Logging, Network, etc.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsRemoving unfettered connectivity to remote console services, such as SSH, reduces a server's exposure to risk.
Set the ingress.cidr_blocks
attribute to a more restrictive CIDR block, for example 192.16.0.0/24
.
Example configuration:
resource "aws_security_group" "allow_some_cidr_valid" {
name = "allow_some_cidr_valid"
description = "Allow from valid CIDR"
ingress {
from_port = 22
to_port = 22
protocol = "tcp"
cidr_blocks = ["192.16.0.0/24"]
}
}
Set the SecurityGroupIngress.CidrIp
attribute toz a more restrictive CIDR block, for example 192.16.0.0/24
.
Example configuration:
AWSTemplateFormatVersion: 2010-09-09
Resources:
Vpc01:
Type: AWS::EC2::VPC
Properties:
CidrBlock: '10.0.0.0/16'
ValidSG03:
Type: AWS::EC2::SecurityGroup
Properties:
VpcId: !Ref Vpc01
GroupDescription: allow some cidr valid
SecurityGroupIngress:
- CidrIp: '192.16.0.0/24'
FromPort: 22
ToPort: 22
IpProtocol: "tcp"