The distribution of size of files (measured in lines of code).
File | # lines | # units |
---|---|---|
aws-solutions.ts in src/packs |
1262 | 14 |
hipaa-security.ts in src/packs |
919 | 27 |
nist-800-53-r5.ts in src/packs |
869 | 26 |
pci-dss-321.ts in src/packs |
730 | 25 |
nist-800-53-r4.ts in src/packs |
729 | 25 |
nag-pack.ts in src |
217 | 10 |
S3BucketSSLRequestsOnly.ts in src/rules/s3 |
136 | 4 |
nag-suppressions.ts in src |
109 | 5 |
SecretsManagerRotationEnabled.ts in src/rules/secretsmanager |
105 | 2 |
DynamoDBAutoScalingEnabled.ts in src/rules/dynamodb |
103 | 1 |
EC2RestrictedSSH.ts in src/rules/ec2 |
80 | - |
AthenaWorkgroupEncryptedQueryResults.ts in src/rules/athena |
73 | - |
IAMGroupHasUsers.ts in src/rules/iam |
72 | 2 |
APIGWAssociatedWithWAF.ts in src/rules/apigw |
67 | 1 |
EC2RestrictedCommonPorts.ts in src/rules/ec2 |
65 | 1 |
RDSNonDefaultPort.ts in src/rules/rds |
64 | - |
RedshiftRequireTlsSSL.ts in src/rules/redshift |
60 | 1 |
CloudFrontDistributionNoOutdatedSSL.ts in src/rules/cloudfront |
58 | - |
CloudFrontDistributionS3OriginAccessIdentity.ts in src/rules/cloudfront |
57 | - |
DynamoDBInBackupPlan.ts in src/rules/dynamodb |
56 | 1 |
RDSLoggingEnabled.ts in src/rules/rds |
55 | - |
RedshiftClusterUserActivityLogging.ts in src/rules/redshift |
54 | 1 |
MSKBrokerLogging.ts in src/rules/msk |
53 | - |
CognitoUserPoolStrongPasswordPolicy.ts in src/rules/cognito |
51 | - |
ALBWAFEnabled.ts in src/rules/elb |
51 | 1 |
EFSInBackupPlan.ts in src/rules/efs |
50 | 1 |
KinesisDataAnalyticsFlinkCheckpointing.ts in src/rules/kinesis |
49 | - |
ElasticBeanstalkManagedUpdatesEnabled.ts in src/rules/elasticbeanstalk |
49 | - |
WAFv2LoggingEnabled.ts in src/rules/waf |
49 | 1 |
RDSInBackupPlan.ts in src/rules/rds |
48 | 1 |
EC2RestrictedInbound.ts in src/rules/ec2 |
48 | - |
EC2EBSInBackupPlan.ts in src/rules/ec2 |
48 | 1 |
ELBTlsHttpsListenersOnly.ts in src/rules/elb |
46 | - |
S3BucketLevelPublicAccessProhibited.ts in src/rules/s3 |
45 | - |
EC2EBSOptimizedInstance.ts in src/rules/ec2 |
45 | - |
ECROpenAccess.ts in src/rules/ecr |
44 | 1 |
APIGWRequestValidation.ts in src/rules/apigw |
44 | 1 |
VPCFlowLogsEnabled.ts in src/rules/vpc |
44 | 1 |
ECSTaskDefinitionUserForHostMode.ts in src/rules/ecs |
44 | - |
S3BucketServerSideEncryptionEnabled.ts in src/rules/s3 |
43 | - |
IAMNoWildcardPermissions.ts in src/rules/iam |
43 | - |
S3BucketPublicReadProhibited.ts in src/rules/s3 |
42 | - |
OpenSearchDedicatedMasterNode.ts in src/rules/opensearch |
42 | - |
OpenSearchZoneAwareness.ts in src/rules/opensearch |
42 | - |
index.ts in src/rules |
41 | - |
AuroraMySQLLogging.ts in src/rules/rds |
41 | - |
S3DefaultEncryptionKMS.ts in src/rules/s3 |
40 | - |
S3BucketPublicWriteProhibited.ts in src/rules/s3 |
38 | - |
RDSStorageEncrypted.ts in src/rules/rds |
38 | - |
RDSInstanceDeletionProtectionEnabled.ts in src/rules/rds |
38 | - |
File | # lines | # units |
---|---|---|
hipaa-security.ts in src/packs |
919 | 27 |
nist-800-53-r5.ts in src/packs |
869 | 26 |
nist-800-53-r4.ts in src/packs |
729 | 25 |
pci-dss-321.ts in src/packs |
730 | 25 |
aws-solutions.ts in src/packs |
1262 | 14 |
nag-pack.ts in src |
217 | 10 |
nag-suppressions.ts in src |
109 | 5 |
S3BucketSSLRequestsOnly.ts in src/rules/s3 |
136 | 4 |
nag-rules.ts in src |
31 | 3 |
SecretsManagerRotationEnabled.ts in src/rules/secretsmanager |
105 | 2 |
IAMGroupHasUsers.ts in src/rules/iam |
72 | 2 |
RedshiftClusterUserActivityLogging.ts in src/rules/redshift |
54 | 1 |
RedshiftRequireTlsSSL.ts in src/rules/redshift |
60 | 1 |
EFSInBackupPlan.ts in src/rules/efs |
50 | 1 |
ECROpenAccess.ts in src/rules/ecr |
44 | 1 |
RDSInBackupPlan.ts in src/rules/rds |
48 | 1 |
APIGWAssociatedWithWAF.ts in src/rules/apigw |
67 | 1 |
APIGWRequestValidation.ts in src/rules/apigw |
44 | 1 |
VPCFlowLogsEnabled.ts in src/rules/vpc |
44 | 1 |
WAFv2LoggingEnabled.ts in src/rules/waf |
49 | 1 |
There are 10 files with lines longer than 120 characters. In total, there are 582 long lines.
File | # lines | # units | # long lines |
---|---|---|---|
nist-800-53-r5.ts in src/packs |
869 | 26 | 152 |
hipaa-security.ts in src/packs |
919 | 27 | 150 |
pci-dss-321.ts in src/packs |
730 | 25 | 96 |
aws-solutions.ts in src/packs |
1262 | 14 | 93 |
nist-800-53-r4.ts in src/packs |
729 | 25 | 84 |
nag-pack.ts in src |
217 | 10 | 2 |
nag-suppressions.ts in src |
109 | 5 | 2 |
index.ts in src/rules/elasticbeanstalk |
4 | - | 1 |
index.ts in src/rules/cloudfront |
5 | - | 1 |
index.ts in src/rules/sagemaker |
4 | - | 1 |