forked from aquasecurity/cloudsploit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexports.js
110 lines (94 loc) · 8.64 KB
/
exports.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
// Export all available scans
module.exports = {
'asgMultiAz' : require(__dirname + '/plugins/autoscaling/asgMultiAz.js'),
'publicS3Origin' : require(__dirname + '/plugins/cloudfront/publicS3Origin.js'),
'secureOrigin' : require(__dirname + '/plugins/cloudfront/secureOrigin.js'),
'insecureProtocols' : require(__dirname + '/plugins/cloudfront/insecureProtocols.js'),
'cloudfrontHttpsOnly' : require(__dirname + '/plugins/cloudfront/cloudfrontHttpsOnly.js'),
'cloudfrontLoggingEnabled' : require(__dirname + '/plugins/cloudfront/cloudfrontLoggingEnabled.js'),
'cloudtrailBucketAccessLogging' : require(__dirname + '/plugins/cloudtrail/cloudtrailBucketAccessLogging.js'),
'cloudtrailBucketDelete' : require(__dirname + '/plugins/cloudtrail/cloudtrailBucketDelete.js'),
'cloudtrailEnabled' : require(__dirname + '/plugins/cloudtrail/cloudtrailEnabled.js'),
'cloudtrailEncryption' : require(__dirname + '/plugins/cloudtrail/cloudtrailEncryption.js'),
'cloudtrailFileValidation' : require(__dirname + '/plugins/cloudtrail/cloudtrailFileValidation.js'),
'cloudtrailToCloudwatch' : require(__dirname + '/plugins/cloudtrail/cloudtrailToCloudwatch.js'),
'cloudtrailBucketPrivate' : require(__dirname + '/plugins/cloudtrail/cloudtrailBucketPrivate.js'),
'configServiceEnabled' : require(__dirname + '/plugins/configservice/configServiceEnabled.js'),
'defaultSecurityGroup' : require(__dirname + '/plugins/ec2/defaultSecurityGroup.js'),
'elasticIpLimit' : require(__dirname + '/plugins/ec2/elasticIpLimit.js'),
'subnetIpAvailability' : require(__dirname + '/plugins/ec2/subnetIpAvailability.js'),
'excessiveSecurityGroups' : require(__dirname + '/plugins/ec2/excessiveSecurityGroups.js'),
'instanceLimit' : require(__dirname + '/plugins/ec2/instanceLimit.js'),
'openAllPortsProtocols' : require(__dirname + '/plugins/ec2/openAllPortsProtocols.js'),
'openCIFS' : require(__dirname + '/plugins/ec2/openCIFS.js'),
'openDNS' : require(__dirname + '/plugins/ec2/openDNS.js'),
'openFTP' : require(__dirname + '/plugins/ec2/openFTP.js'),
'openMySQL' : require(__dirname + '/plugins/ec2/openMySQL.js'),
'openNetBIOS' : require(__dirname + '/plugins/ec2/openNetBIOS.js'),
'openPostgreSQL' : require(__dirname + '/plugins/ec2/openPostgreSQL.js'),
'openRDP' : require(__dirname + '/plugins/ec2/openRDP.js'),
'openRPC' : require(__dirname + '/plugins/ec2/openRPC.js'),
'openSMBoTCP' : require(__dirname + '/plugins/ec2/openSMBoTCP.js'),
'openSMTP' : require(__dirname + '/plugins/ec2/openSMTP.js'),
'openSQLServer' : require(__dirname + '/plugins/ec2/openSQLServer.js'),
'openSSH' : require(__dirname + '/plugins/ec2/openSSH.js'),
'openTelnet' : require(__dirname + '/plugins/ec2/openTelnet.js'),
'openVNCClient' : require(__dirname + '/plugins/ec2/openVNCClient.js'),
'openVNCServer' : require(__dirname + '/plugins/ec2/openVNCServer.js'),
'vpcElasticIpLimit' : require(__dirname + '/plugins/ec2/vpcElasticIpLimit.js'),
'classicInstances' : require(__dirname + '/plugins/ec2/classicInstances.js'),
'flowLogsEnabled' : require(__dirname + '/plugins/ec2/flowLogsEnabled.js'),
'vpcMultipleSubnets' : require(__dirname + '/plugins/ec2/multipleSubnets.js'),
'overlappingSecurityGroups' : require(__dirname + '/plugins/ec2/overlappingSecurityGroups.js'),
'publicAmi' : require(__dirname + '/plugins/ec2/publicAmi.js'),
'encryptedAmi' : require(__dirname + '/plugins/ec2/encryptedAmi.js'),
'instanceIamRole' : require(__dirname + '/plugins/ec2/instanceIamRole.js'),
'ebsEncryptionEnabled' : require(__dirname + '/plugins/ec2/ebsEncryptionEnabled.js'),
'natMultiAz' : require(__dirname + '/plugins/ec2/natMultiAz.js'),
'insecureCiphers' : require(__dirname + '/plugins/elb/insecureCiphers.js'),
'elbHttpsOnly' : require(__dirname + '/plugins/elb/elbHttpsOnly.js'),
'elbLoggingEnabled' : require(__dirname + '/plugins/elb/elbLoggingEnabled.js'),
'elbNoInstances' : require(__dirname + '/plugins/elb/elbNoInstances.js'),
'accessKeysExtra' : require(__dirname + '/plugins/iam/accessKeysExtra.js'),
'accessKeysLastUsed' : require(__dirname + '/plugins/iam/accessKeysLastUsed.js'),
'accessKeysRotated' : require(__dirname + '/plugins/iam/accessKeysRotated.js'),
'certificateExpiry' : require(__dirname + '/plugins/iam/certificateExpiry.js'),
'emptyGroups' : require(__dirname + '/plugins/iam/emptyGroups.js'),
'iamUserAdmins' : require(__dirname + '/plugins/iam/iamUserAdmins.js'),
'maxPasswordAge' : require(__dirname + '/plugins/iam/maxPasswordAge.js'),
'minPasswordLength' : require(__dirname + '/plugins/iam/minPasswordLength.js'),
'noUserIamPolicies' : require(__dirname + '/plugins/iam/noUserIamPolicies.js'),
'passwordExpiration' : require(__dirname + '/plugins/iam/passwordExpiration.js'),
'passwordRequiresLowercase' : require(__dirname + '/plugins/iam/passwordRequiresLowercase.js'),
'passwordRequiresNumbers' : require(__dirname + '/plugins/iam/passwordRequiresNumbers.js'),
'passwordRequiresSymbols' : require(__dirname + '/plugins/iam/passwordRequiresSymbols.js'),
'passwordRequiresUppercase' : require(__dirname + '/plugins/iam/passwordRequiresUppercase.js'),
'passwordReusePrevention' : require(__dirname + '/plugins/iam/passwordReusePrevention.js'),
'rootAccessKeys' : require(__dirname + '/plugins/iam/rootAccessKeys.js'),
'rootAccountInUse' : require(__dirname + '/plugins/iam/rootAccountInUse.js'),
'rootMfaEnabled' : require(__dirname + '/plugins/iam/rootMfaEnabled.js'),
'sshKeysRotated' : require(__dirname + '/plugins/iam/sshKeysRotated.js'),
'usersMfaEnabled' : require(__dirname + '/plugins/iam/usersMfaEnabled.js'),
'usersPasswordLastUsed' : require(__dirname + '/plugins/iam/usersPasswordLastUsed.js'),
'kmsKeyRotation' : require(__dirname + '/plugins/kms/kmsKeyRotation.js'),
'kmsScheduledDeletion' : require(__dirname + '/plugins/kms/kmsScheduledDeletion.js'),
'rdsAutomatedBackups' : require(__dirname + '/plugins/rds/rdsAutomatedBackups.js'),
'rdsEncryptionEnabled' : require(__dirname + '/plugins/rds/rdsEncryptionEnabled.js'),
'rdsPubliclyAccessible' : require(__dirname + '/plugins/rds/rdsPubliclyAccessible.js'),
'rdsRestorable' : require(__dirname + '/plugins/rds/rdsRestorable.js'),
'rdsMultiAz' : require(__dirname + '/plugins/rds/rdsMultiAz.js'),
'domainAutoRenew' : require(__dirname + '/plugins/route53/domainAutoRenew.js'),
'domainExpiry' : require(__dirname + '/plugins/route53/domainExpiry.js'),
'domainTransferLock' : require(__dirname + '/plugins/route53/domainTransferLock.js'),
'bucketAllUsersPolicy' : require(__dirname + '/plugins/s3/bucketAllUsersPolicy.js'),
'bucketVersioning' : require(__dirname + '/plugins/s3/bucketVersioning.js'),
'bucketLogging' : require(__dirname + '/plugins/s3/bucketLogging.js'),
'dkimEnabled' : require(__dirname + '/plugins/ses/dkimEnabled.js'),
'topicPolicies' : require(__dirname + '/plugins/sns/topicPolicies.js'),
'sqsCrossAccount' : require(__dirname + '/plugins/sqs/sqsCrossAccount.js'),
'sqsEncrypted' : require(__dirname + '/plugins/sqs/sqsEncrypted.js'),
'lambdaOldRuntimes' : require(__dirname + '/plugins/lambda/lambdaOldRuntimes.js'),
'monitoringMetrics' : require(__dirname + '/plugins/cloudwatchlogs/monitoringMetrics.js'),
'redshiftEncryptionEnabled' : require(__dirname + '/plugins/redshift/redshiftEncryptionEnabled.js'),
'redshiftPubliclyAccessible' : require(__dirname + '/plugins/redshift/redshiftPubliclyAccessible.js')
};