cfn-nag 0.3.65 → 0.3.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 783d680607fef0a7471c74e353264ebbc7758a8cf7ffcf61392b41c06739d09b
4
- data.tar.gz: 38505a5993a099e5140a0e5ad35122c5ecea8f8f14c04afbcf045ae180bf6c27
3
+ metadata.gz: 4c3973de680780c1b0c047f1ebc3e562ce8b27367efe9e7277a9d3227cde849b
4
+ data.tar.gz: 70146ae8211de65cb6c415ec93596cbbcaab8b760c2e842160fbf6e0cc278e0b
5
5
  SHA512:
6
- metadata.gz: 00c6718490e3ade00a21a2f42e8fc4be2373a1dc60b68308f96563ce2eb356d44b9e697733a9cb37bbab9603f0e4bc84ef1e1306a3ce6bf83a6b476a35cfec54
7
- data.tar.gz: c96b56fc4fbe93b9d04e51eb58da0442d8e41c2d143eb80a8a10704872db64d0d7b167ed212910e85cc4020bfa6cbf418480c6e6c0f982b2bfe3997547f3f062
6
+ metadata.gz: 40a89a652d8c186e1979580be025332325391b5bc2e4b4b81b6cf5a101c6582e1b59f55f19981b46da8305af1dd7c9046c6ee9e6c73b0493ebaaf9ee4d3a9885
7
+ data.tar.gz: 6ae4d772a767290c4b118cdd5b667c040f3756f5ef831a878b303bdb9c8b898b23b71b3f8ef65e36b3214533ebcc01e5f1b1eae432607e0b0d01302f07c9fc12
@@ -31,10 +31,10 @@ class CfnNag
31
31
  def audit_aggregate_across_files_and_render_results(input_path:,
32
32
  output_format: 'txt',
33
33
  parameter_values_path: nil,
34
- template_pattern: '..*\.json|..*\.yaml|..*\.yml|..*\.template')
34
+ template_pattern: '..*\.json|..*\.yaml|..*\.yml|..*\.template')
35
35
  aggregate_results = audit_aggregate_across_files input_path: input_path,
36
36
  parameter_values_path: parameter_values_path,
37
- template_pattern: template_pattern
37
+ template_pattern: template_pattern
38
38
 
39
39
  render_results(aggregate_results: aggregate_results,
40
40
  output_format: output_format)
@@ -49,7 +49,7 @@ class CfnNag
49
49
  #
50
50
  def audit_aggregate_across_files(input_path:,
51
51
  parameter_values_path: nil,
52
- template_pattern: '..*\.json|..*\.yaml|..*\.yml|..*\.template')
52
+ template_pattern: '..*\.json|..*\.yaml|..*\.yml|..*\.template')
53
53
  parameter_values_string = parameter_values_path.nil? ? nil : IO.read(parameter_values_path)
54
54
  templates = TemplateDiscovery.new.discover_templates(input_json_path: input_path,
55
55
  template_pattern: template_pattern)
@@ -35,4 +35,4 @@ class CloudFormationAuthenticationRule < BaseRule
35
35
  def potentially_sensitive_credentials?(auth)
36
36
  auth['accessKeyId'] || auth['password'] || auth['secretKey']
37
37
  end
38
- end
38
+ 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.3.65
4
+ version: 0.3.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
@@ -193,7 +193,6 @@ files:
193
193
  - lib/cfn-nag/custom_rules/WafWebAclDefaultActionRule.rb
194
194
  - lib/cfn-nag/custom_rules/WorkspacesWorkspaceEncryptionRule.rb
195
195
  - lib/cfn-nag/custom_rules/base.rb
196
- - lib/cfn-nag/custom_rules/ebs_volumes_jmespath.rb
197
196
  - lib/cfn-nag/custom_rules/unencrypted_s3_put_allowed.rb
198
197
  - lib/cfn-nag/ip_addr.rb
199
198
  - lib/cfn-nag/jmes_path_discovery.rb
@@ -1,7 +0,0 @@
1
-
2
- # failure(id: 'F8888',
3
- # jmespath:
4
- # "Resources.*|[?Type == 'AWS::EC2::Volume' && " \
5
- # "(Properties.Encrypted == `false` || " \
6
- # "Properties.Encrypted == `null`)].id",
7
- # message: 'Found a naughty EBS volume')