cfn-nag 0.4.67 → 0.4.68

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8769d9bcf12f321f03800febc20089cdcac586a599e6dcc40a180ec2a7f99e66
4
- data.tar.gz: d3fb30333bb5715f0160418b4061c64eceaf98e57ba9600e609efd2baf9f6840
3
+ metadata.gz: b886a3dc21b54772b8690e968bf202c87d05a76ee9ffd0488909e0e06d9c0ecf
4
+ data.tar.gz: ec94c7f22fc6f4dab76bbd60f3f005dadef813da75cd2041431b36ff7080cbb8
5
5
  SHA512:
6
- metadata.gz: 28ce25e4be510a3416e9722c423b6c6432d4fbc7b08bd81a77c16f450448f5bce00ba1a32fdd99ab174ec9f1031b9b46025effcabc533148d9658fac32a3b28d
7
- data.tar.gz: c2c27a01e098799c83fad0b7ac2100e7bbdcd9b345a86957f95caf17ae65ac91c04ef1e577aa282a6ab7eb80fc24abfbfabfe02e5aa6ca8e72d83e01dd52f978
6
+ metadata.gz: 80aea9e5e5f618aa7d8d9bb5061211e6c8dff13eb0781a621975e2ff7a1f1e91fc8924e7a564ba7429eb7eea6eaa1913745d8439498bd5e21fb3eda82a44bb16
7
+ data.tar.gz: 57c36540c63a4da65e8482d074858dbdcddc7dca97c4ff7de12f7c14942a3ce0b55bb3624825cd08b1ab76bee37c94066ce348cc21c762f3938f1ce6c4896793
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cfn-nag/violation'
4
+ require_relative 'password_base_rule'
5
+
6
+ class KinesisFirehoseDeliveryStreamRedshiftDestinationConfigurationPasswordRule < PasswordBaseRule
7
+ def rule_text
8
+ 'Kinesis Firehose DeliveryStream RedshiftDestinationConfiguration Password ' \
9
+ 'must not be a plaintext string or a Ref to a NoEcho Parameter with a ' \
10
+ 'Default value.'
11
+ end
12
+
13
+ def rule_type
14
+ Violation::FAILING_VIOLATION
15
+ end
16
+
17
+ def rule_id
18
+ 'F66'
19
+ end
20
+
21
+ def resource_type
22
+ 'AWS::KinesisFirehose::DeliveryStream'
23
+ end
24
+
25
+ def password_property
26
+ :redshiftDestinationConfiguration
27
+ end
28
+
29
+ def sub_property_name
30
+ 'Password'
31
+ end
32
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cfn-nag/violation'
4
+ require_relative 'password_base_rule'
5
+
6
+ class KinesisFirehoseDeliveryStreamSplunkDestinationConfigurationHECTokenRule < PasswordBaseRule
7
+ def rule_text
8
+ 'Kinesis Firehose DeliveryStream SplunkDestinationConfiguration HECToken ' \
9
+ 'must not be a plaintext string or a Ref to a NoEcho Parameter with a ' \
10
+ 'Default value.'
11
+ end
12
+
13
+ def rule_type
14
+ Violation::FAILING_VIOLATION
15
+ end
16
+
17
+ def rule_id
18
+ 'F68'
19
+ end
20
+
21
+ def resource_type
22
+ 'AWS::KinesisFirehose::DeliveryStream'
23
+ end
24
+
25
+ def password_property
26
+ :splunkDestinationConfiguration
27
+ end
28
+
29
+ def sub_property_name
30
+ 'HECToken'
31
+ end
32
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-nag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.67
4
+ version: 0.4.68
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
@@ -210,6 +210,8 @@ files:
210
210
  - lib/cfn-nag/custom_rules/IotPolicyWildcardResourceRule.rb
211
211
  - lib/cfn-nag/custom_rules/KMSKeyRotationRule.rb
212
212
  - lib/cfn-nag/custom_rules/KMSKeyWildcardPrincipalRule.rb
213
+ - lib/cfn-nag/custom_rules/KinesisFirehoseDeliveryStreamRedshiftDestinationConfigurationPasswordRule.rb
214
+ - lib/cfn-nag/custom_rules/KinesisFirehoseDeliveryStreamSplunkDestinationConfigurationHECTokenRule.rb
213
215
  - lib/cfn-nag/custom_rules/KinesisStreamStreamEncryptionRule.rb
214
216
  - lib/cfn-nag/custom_rules/LambdaPermissionInvokeFunctionActionRule.rb
215
217
  - lib/cfn-nag/custom_rules/LambdaPermissionWildcardPrincipalRule.rb