mirror of
https://github.com/inspec/inspec
synced 2024-11-15 01:17:08 +00:00
added require statement for _aws.rb for all resources (#199)
Signed-off-by: Sam Cornwell <14048146+samcornwell@users.noreply.github.com>
This commit is contained in:
parent
deb3f2c121
commit
42b6b31566
16 changed files with 32 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
class AwsCloudwatchAlarm < Inspec.resource(1)
|
||||
name 'aws_cloudwatch_alarm'
|
||||
desc <<-EOD
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
class AwsCloudwatchLogMetricFilter < Inspec.resource(1)
|
||||
name 'aws_cloudwatch_log_metric_filter'
|
||||
desc 'Verifies individual Cloudwatch Log Metric Filters'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
# author: Christoph Hartmann
|
||||
class AwsEc2Instance < Inspec.resource(1)
|
||||
name 'aws_ec2_instance'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
class AwsEc2SecurityGroup < Inspec.resource(1)
|
||||
name 'aws_ec2_security_group'
|
||||
desc 'Verifies settings for an individual AWS Security Group.'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
class AwsEc2SecurityGroups < Inspec.resource(1)
|
||||
name 'aws_ec2_security_groups'
|
||||
desc 'Verifies settings for AWS Security Groups in bulk'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
# author: Chris Redekop
|
||||
class AwsIamAccessKey < Inspec.resource(1)
|
||||
name 'aws_iam_access_key'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
class AwsIamAccessKeys < Inspec.resource(1)
|
||||
name 'aws_iam_access_keys'
|
||||
desc 'Verifies settings for AWS IAM Access Keys in bulk'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
# author: Viktor Yakovlyev
|
||||
class AwsIamPasswordPolicy < Inspec.resource(1)
|
||||
name 'aws_iam_password_policy'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
class AwsIamRole < Inspec.resource(1)
|
||||
name 'aws_iam_role'
|
||||
desc 'Verifies settings for an IAM Role'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
# author: Miles Tjandrawidjaja
|
||||
class AwsIamRootUser < Inspec.resource(1)
|
||||
name 'aws_iam_root_user'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
# author: Alex Bedley
|
||||
# author: Steffanie Freeman
|
||||
# author: Simon Varlow
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
# author: Alex Bedley
|
||||
# author: Steffanie Freeman
|
||||
# author: Simon Varlow
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
# author: Matthew Dromazos
|
||||
class AwsS3Bucket < Inspec.resource(1)
|
||||
name 'aws_s3_bucket'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
class AwsSnsTopic < Inspec.resource(1)
|
||||
name 'aws_sns_topic'
|
||||
desc 'Verifies settings for an SNS Topic'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
class AwsVpc < Inspec.resource(1)
|
||||
name 'aws_vpc'
|
||||
desc 'Verifies settings for AWS VPC'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require '_aws'
|
||||
|
||||
class AwsVpcs < Inspec.resource(1)
|
||||
name 'aws_vpcs'
|
||||
desc 'Verifies settings for AWS VPCs in bulk'
|
||||
|
|
Loading…
Reference in a new issue