cfn-nag 0.4.68 → 0.4.69

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: b886a3dc21b54772b8690e968bf202c87d05a76ee9ffd0488909e0e06d9c0ecf
4
- data.tar.gz: ec94c7f22fc6f4dab76bbd60f3f005dadef813da75cd2041431b36ff7080cbb8
3
+ metadata.gz: b82485e14e76a4a11526a38def11fa31ab9aefa0a2af63bca6e2b856783d6820
4
+ data.tar.gz: e4340288aea5019332ade98880939f8e797fdd9f04e13f6618d5f2a53d7bfac7
5
5
  SHA512:
6
- metadata.gz: 80aea9e5e5f618aa7d8d9bb5061211e6c8dff13eb0781a621975e2ff7a1f1e91fc8924e7a564ba7429eb7eea6eaa1913745d8439498bd5e21fb3eda82a44bb16
7
- data.tar.gz: 57c36540c63a4da65e8482d074858dbdcddc7dca97c4ff7de12f7c14942a3ce0b55bb3624825cd08b1ab76bee37c94066ce348cc21c762f3938f1ce6c4896793
6
+ metadata.gz: f690578bce184b9b10bfca8f259ad2a8222408c8d618426af73c6be6f75d3c28ae04561a9dac36c7f8151617f8624a8c2f4c7b200a69982aa69df49ae3a0cc52
7
+ data.tar.gz: 47d66afbe48347ddaf3d6a770f0e3ae7f96841960741d72f193f12d7c4532060fbedf2569d19e3814641c0dce67fecd37f2f717997f8c9bc4d6bf7a58f24203b
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cfn-nag/violation'
4
+ require_relative 'password_base_rule'
5
+
6
+ class PinpointAPNSChannelPrivateKeyRule < PasswordBaseRule
7
+ def rule_text
8
+ 'Pinpoint APNSChannel PrivateKey must not be a plaintext string ' \
9
+ 'or a Ref to a NoEcho Parameter with a Default value.'
10
+ end
11
+
12
+ def rule_type
13
+ Violation::FAILING_VIOLATION
14
+ end
15
+
16
+ def rule_id
17
+ 'F57'
18
+ end
19
+
20
+ def resource_type
21
+ 'AWS::Pinpoint::APNSChannel'
22
+ end
23
+
24
+ def password_property
25
+ :privateKey
26
+ end
27
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cfn-nag/violation'
4
+ require_relative 'password_base_rule'
5
+
6
+ class PinpointAPNSChannelTokenKeyRule < PasswordBaseRule
7
+ def rule_text
8
+ 'Pinpoint APNSChannel TokenKey must not be a plaintext string ' \
9
+ 'or a Ref to a NoEcho Parameter with a Default value.'
10
+ end
11
+
12
+ def rule_type
13
+ Violation::FAILING_VIOLATION
14
+ end
15
+
16
+ def rule_id
17
+ 'F56'
18
+ end
19
+
20
+ def resource_type
21
+ 'AWS::Pinpoint::APNSChannel'
22
+ end
23
+
24
+ def password_property
25
+ :tokenKey
26
+ end
27
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cfn-nag/violation'
4
+ require_relative 'password_base_rule'
5
+
6
+ class PinpointAPNSSandboxChannelPrivateKeyRule < PasswordBaseRule
7
+ def rule_text
8
+ 'Pinpoint APNSSandboxChannel PrivateKey must not be a plaintext string ' \
9
+ 'or a Ref to a NoEcho Parameter with a Default value.'
10
+ end
11
+
12
+ def rule_type
13
+ Violation::FAILING_VIOLATION
14
+ end
15
+
16
+ def rule_id
17
+ 'F42'
18
+ end
19
+
20
+ def resource_type
21
+ 'AWS::Pinpoint::APNSSandboxChannel'
22
+ end
23
+
24
+ def password_property
25
+ :privateKey
26
+ end
27
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cfn-nag/violation'
4
+ require_relative 'password_base_rule'
5
+
6
+ class PinpointAPNSSandboxChannelTokenKeyRule < PasswordBaseRule
7
+ def rule_text
8
+ 'Pinpoint APNSSandboxChannel TokenKey must not be a plaintext string ' \
9
+ 'or a Ref to a NoEcho Parameter with a Default value.'
10
+ end
11
+
12
+ def rule_type
13
+ Violation::FAILING_VIOLATION
14
+ end
15
+
16
+ def rule_id
17
+ 'F43'
18
+ end
19
+
20
+ def resource_type
21
+ 'AWS::Pinpoint::APNSSandboxChannel'
22
+ end
23
+
24
+ def password_property
25
+ :tokenKey
26
+ end
27
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cfn-nag/violation'
4
+ require_relative 'password_base_rule'
5
+
6
+ class PinpointAPNSVoipChannelPrivateKeyRule < PasswordBaseRule
7
+ def rule_text
8
+ 'Pinpoint APNSVoipChannel PrivateKey must not be a plaintext string ' \
9
+ 'or a Ref to a NoEcho Parameter with a Default value.'
10
+ end
11
+
12
+ def rule_type
13
+ Violation::FAILING_VIOLATION
14
+ end
15
+
16
+ def rule_id
17
+ 'F48'
18
+ end
19
+
20
+ def resource_type
21
+ 'AWS::Pinpoint::APNSVoipChannel'
22
+ end
23
+
24
+ def password_property
25
+ :privateKey
26
+ end
27
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cfn-nag/violation'
4
+ require_relative 'password_base_rule'
5
+
6
+ class PinpointAPNSVoipChannelTokenKeyRule < PasswordBaseRule
7
+ def rule_text
8
+ 'Pinpoint APNSChannel TokenKey must not be a plaintext string ' \
9
+ 'or a Ref to a NoEcho Parameter with a Default value.'
10
+ end
11
+
12
+ def rule_type
13
+ Violation::FAILING_VIOLATION
14
+ end
15
+
16
+ def rule_id
17
+ 'F49'
18
+ end
19
+
20
+ def resource_type
21
+ 'AWS::Pinpoint::APNSVoipChannel'
22
+ end
23
+
24
+ def password_property
25
+ :tokenKey
26
+ end
27
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cfn-nag/violation'
4
+ require_relative 'password_base_rule'
5
+
6
+ class PinpointAPNSVoipSandboxChannelPrivateKeyRule < PasswordBaseRule
7
+ def rule_text
8
+ 'Pinpoint APNSVoipSandboxChannel PrivateKey must not be a plaintext ' \
9
+ 'string or a Ref to a NoEcho Parameter with a Default value.'
10
+ end
11
+
12
+ def rule_type
13
+ Violation::FAILING_VIOLATION
14
+ end
15
+
16
+ def rule_id
17
+ 'F46'
18
+ end
19
+
20
+ def resource_type
21
+ 'AWS::Pinpoint::APNSVoipSandboxChannel'
22
+ end
23
+
24
+ def password_property
25
+ :privateKey
26
+ end
27
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cfn-nag/violation'
4
+ require_relative 'password_base_rule'
5
+
6
+ class PinpointAPNSVoipSandboxChannelTokenKeyRule < PasswordBaseRule
7
+ def rule_text
8
+ 'Pinpoint APNSVoipSandboxChannel TokenKey must not be a plaintext string ' \
9
+ 'or a Ref to a NoEcho Parameter with a Default value.'
10
+ end
11
+
12
+ def rule_type
13
+ Violation::FAILING_VIOLATION
14
+ end
15
+
16
+ def rule_id
17
+ 'F47'
18
+ end
19
+
20
+ def resource_type
21
+ 'AWS::Pinpoint::APNSVoipSandboxChannel'
22
+ end
23
+
24
+ def password_property
25
+ :tokenKey
26
+ end
27
+ 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.68
4
+ version: 0.4.69
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
@@ -222,6 +222,14 @@ files:
222
222
  - lib/cfn-nag/custom_rules/OpsWorksAppSslConfigurationPrivateKeyRule.rb
223
223
  - lib/cfn-nag/custom_rules/OpsWorksStackCustomCookbooksSourcePasswordRule.rb
224
224
  - lib/cfn-nag/custom_rules/OpsWorksStackRdsDbInstancesDbPasswordRule.rb
225
+ - lib/cfn-nag/custom_rules/PinpointAPNSChannelPrivateKeyRule.rb
226
+ - lib/cfn-nag/custom_rules/PinpointAPNSChannelTokenKeyRule.rb
227
+ - lib/cfn-nag/custom_rules/PinpointAPNSSandboxChannelPrivateKeyRule.rb
228
+ - lib/cfn-nag/custom_rules/PinpointAPNSSandboxChannelTokenKeyRule.rb
229
+ - lib/cfn-nag/custom_rules/PinpointAPNSVoipChannelPrivateKeyRule.rb
230
+ - lib/cfn-nag/custom_rules/PinpointAPNSVoipChannelTokenKeyRule.rb
231
+ - lib/cfn-nag/custom_rules/PinpointAPNSVoipSandboxChannelPrivateKeyRule.rb
232
+ - lib/cfn-nag/custom_rules/PinpointAPNSVoipSandboxChannelTokenKeyRule.rb
225
233
  - lib/cfn-nag/custom_rules/PolicyOnUserRule.rb
226
234
  - lib/cfn-nag/custom_rules/RDSDBClusterMasterUserPasswordRule.rb
227
235
  - lib/cfn-nag/custom_rules/RDSDBClusterStorageEncryptedRule.rb