cfn-nag 0.3.13 → 0.3.14

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
  SHA1:
3
- metadata.gz: cc4c738fa8f87188f1f9d931a0249f5ba3afb503
4
- data.tar.gz: 76300dc724cd03f16a6d0e4fca8de6c9e36e1dda
3
+ metadata.gz: 1c74f0733f56963f5d97f1789f493f004a102606
4
+ data.tar.gz: c38bfa35b2f4523323c008933e5e52a5c4c52a38
5
5
  SHA512:
6
- metadata.gz: b8c042d23f7175e7cccb3f68e96a787c664ff266366efe3448035939e668a57fd7ffb4c98c655f5881a240e8d45b0450e599725c49ec9e08c34a5bdc933749a9
7
- data.tar.gz: 9ac2cf777ba42912c4a27015c7ae324f076b790b785d2ca07326d1ef7a456b0a89280f8514fdc5d4b6fc1fd0d08d6324456e79331fec58386c779d3130ad6b1b
6
+ metadata.gz: 5e81a0ac78082730a985e9c4708a224989dbd5cdde5ebd3c02a3a2845369ca86559b546fa3c3d0b0d8ab1e99fdaf9d1300be31b4cbdd5eef8932626901397eaf
7
+ data.tar.gz: 0340734b77bc3d6884afb74ba2d0f565672b654d94703db6e527fe5cb338ecc49c15593b5e8211a2bdf2e0153c17d6db8b7032bcda4bf839ebf2e91dfa8c2139
data/bin/cfn_nag CHANGED
@@ -3,9 +3,11 @@ require 'trollop'
3
3
  require 'cfn-nag'
4
4
  require 'logging'
5
5
  require 'json'
6
+ require 'rubygems/specification'
6
7
 
7
8
  opts = Trollop::options do
8
9
  usage '[options] <cloudformation template path ...>|<cloudformation template in STDIN>'
10
+ version Gem::Specification.find_by_name('cfn-nag').version
9
11
 
10
12
  opt :debug, 'Enable debug output', type: :boolean, required: false, default: false
11
13
  opt :allow_suppression, 'Allow using Metadata to suppress violations', type: :boolean, required: false, default: true
data/bin/cfn_nag_rules CHANGED
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'trollop'
3
3
  require 'cfn-nag'
4
+ require 'rubygems/specification'
4
5
 
5
6
  opts = Trollop::options do
7
+ version Gem::Specification.find_by_name('cfn-nag').version
8
+
6
9
  opt :rule_directory, 'Extra rule directories', type: :io, required: false, default: nil
7
10
  opt :profile_path, 'Path to a profile file', type: :io, required: false, default: nil
8
11
  end
data/bin/cfn_nag_scan CHANGED
@@ -3,8 +3,11 @@ require 'trollop'
3
3
  require 'cfn-nag'
4
4
  require 'logging'
5
5
  require 'json'
6
+ require 'rubygems/specification'
6
7
 
7
8
  opts = Trollop::options do
9
+ version Gem::Specification.find_by_name('cfn-nag').version
10
+
8
11
  opt :input_path, 'CloudFormation template to nag on or directory of templates - all *.json, *.yaml, *.yml and *.template recursively', type: :io, required: true
9
12
  opt :output_format, 'Format of results: [txt, json]', type: :string, default: 'txt'
10
13
  opt :debug, 'Enable debug output', type: :boolean, required: false, default: false
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.13
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic