inspec-cloudformation 0.0.3 → 0.0.4

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: cc44cb77b21af4d0d5ead072f8a99e48b89c6eb5ec93d733ac93d25112ca48ba
4
- data.tar.gz: 97e11a09e36df18ca8101467cbef53298e07ec9028129f854c8922ba451cb6df
3
+ metadata.gz: 84d84c23a0a26abdbb5043ef7d209f0ca47021be1d83c4713e68a380f1750937
4
+ data.tar.gz: bf790958e6ff825b7e88f18137466b88dcbb5acdfe561b1ac9efa7eb5d089bd5
5
5
  SHA512:
6
- metadata.gz: fcca86119259e91f48d28555f9348f4525fedcd04d36fcadf71c9a9a818b81d072d42036d6c17371225f3e0b0821beb8a0b731c3ede4b496cfe32bd42bd3c68f
7
- data.tar.gz: '08ffc015af0c10ddd2e3b5c58b194cb29c06f43e749f01792c91e6161a407cc4f9b2910213bc4269cfae166aeef7c26700a0b0a412265a0be3d134ae983430d2'
6
+ metadata.gz: 3be38104a21d39f805b88a6c1e76e68ec323720bcfcddc7ad8c2559919c878d34d6582deb1268426891d83c92235d13e78758b1a56f99d908edb742aff063443
7
+ data.tar.gz: b6a097f49229b9c574f7a2c81e4cf540408c2f3e908a4756f86782637214f350170305340fa40a93c6e4bd964348d8e7732b324725d7269a7b7ee07f14cf41d9
data/Gemfile CHANGED
@@ -3,6 +3,8 @@ source "https://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  gem 'rake-release'
6
+ gem 'gem-release'
7
+ gem 'rubygems-update'
6
8
 
7
9
  group :development do
8
10
  gem "chefstyle", "2.2.0"
data/README.md CHANGED
@@ -1 +1,10 @@
1
1
  # inspec-cloudformation
2
+
3
+
4
+ ## Release Process
5
+
6
+ - make your changes
7
+ - `git ca`
8
+ - `gem tag`
9
+ - `gem release`
10
+ - `gem bump`
@@ -5,10 +5,10 @@ require 'aws-sdk-cloudformation'
5
5
  module InspecPlugins::CloudFormation
6
6
  class Input < Inspec.plugin(2, :input)
7
7
 
8
- VALID_PATTERNS = [
9
- Regexp.new("^databag://[^/]+/[^/]+/.+$"),
10
- Regexp.new("^node://[^/]*/attributes/.+$"),
11
- ].freeze
8
+ # VALID_PATTERNS = [
9
+ # Regexp.new("^databag://[^/]+/[^/]+/.+$"),
10
+ # Regexp.new("^node://[^/]*/attributes/.+$"),
11
+ # ].freeze
12
12
 
13
13
  attr_reader :plugin_conf
14
14
  attr_reader :priority
@@ -67,14 +67,14 @@ module InspecPlugins::CloudFormation
67
67
 
68
68
  private
69
69
 
70
- def valid_plugin_input?(input)
71
- VALID_PATTERNS.any? { |regex| regex.match? input }
72
- end
70
+ # def valid_plugin_input?(input)
71
+ # VALID_PATTERNS.any? { |regex| regex.match? input }
72
+ # end
73
73
 
74
- def fetch_plugin_setting(setting_name, default = nil)
75
- env_var_name = "INSPEC_CLOUDFORMATION_#{setting_name.upcase}"
76
- ENV[env_var_name] || plugin_conf[setting_name] || default
77
- end
74
+ # def fetch_plugin_setting(setting_name, default = nil)
75
+ # env_var_name = "INSPEC_CLOUDFORMATION_#{setting_name.upcase}"
76
+ # ENV[env_var_name] || plugin_conf[setting_name] || default
77
+ # end
78
78
 
79
79
  end
80
80
  end
@@ -3,6 +3,6 @@
3
3
  # to learn the current version.
4
4
  module InspecPlugins
5
5
  module CloudFormation
6
- VERSION = "0.0.3".freeze
6
+ VERSION = "0.0.4".freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec-cloudformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Boutte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-01 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This plugin allows InSpec 'inputs' to be provided by CloudFormation Outputs.
14
14
  email: