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 +4 -4
- data/bin/cfn_nag +2 -0
- data/bin/cfn_nag_rules +3 -0
- data/bin/cfn_nag_scan +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c74f0733f56963f5d97f1789f493f004a102606
|
4
|
+
data.tar.gz: c38bfa35b2f4523323c008933e5e52a5c4c52a38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|