inspec 4.41.2 → 4.41.20

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: b2d6372626dceff56c404b8394a577dbbc52086f43b2784c23566bede4da3716
4
- data.tar.gz: 5bfc3cb4beb208af90d6866cd915440d04d9728b24c0f00f01a1ebd37348b146
3
+ metadata.gz: 7240f94918299475b475b5ce172e5737693a0981a5096bb796ef17e3165c10fd
4
+ data.tar.gz: bbc6a6284ac06f17ec0144801ea0be2d0eba253cd7ab22c906dd01ec6e2455dc
5
5
  SHA512:
6
- metadata.gz: 0624c8ffbd39a6bc089280b2c6d01bf44c705f745f8b93eaa8d5ff90d2e21bb6b391c6e5f8bcb16791e28c65272eb5ec4f2ec35dab1136e7679403b0425d68b8
7
- data.tar.gz: ed7070fee245282799446522b113e49f8f6d85a826a4e0d1bfe389bad486701fc06529466474b136c3a57cb0c15881b58e793139cf43f49e69c280b40f0304aa
6
+ metadata.gz: 581ea1ccb1a6b5902bc2a4db6ae13184158e275cbe72d51aa0d0e6b46c4b7d66a3e0c3afc0e7b9b39b6cb333d993e28d49dc6112ad9da83c2deadd0edb734490
7
+ data.tar.gz: 723c161dfea6d4d0b050624964226dc3ce8555c8712b25f0eb6c0060dd2555ed18486210f4f7c7f0c74c2d7f11750e70e83a18d1f35bc5f3067106ab8917c59a
data/Gemfile CHANGED
@@ -30,7 +30,11 @@ end
30
30
  group :test do
31
31
  gem "chefstyle", "~> 2.0.3"
32
32
  gem "concurrent-ruby", "~> 1.0"
33
- gem "html-proofer", platforms: :ruby # do not attempt to run proofer on windows
33
+ if Gem.ruby_version.to_s.start_with?("2.5")
34
+ gem "html-proofer", "= 3.19.1" , platforms: :ruby # do not attempt to run proofer on windows
35
+ else
36
+ gem "html-proofer", platforms: :ruby # do not attempt to run proofer on windows
37
+ end
34
38
  gem "json_schemer", ">= 0.2.1", "< 0.2.19"
35
39
  gem "m"
36
40
  gem "minitest-sprint", "~> 1.0"
data/inspec.gemspec CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
 
32
32
  # Train plugins we ship with InSpec
33
33
  spec.add_dependency "train-habitat", "~> 0.1"
34
- spec.add_dependency "train-aws", "~> 0.1"
34
+ spec.add_dependency "train-aws", "~> 0.2"
35
35
  spec.add_dependency "train-winrm", "~> 0.2"
36
36
  spec.add_dependency "mongo", "= 2.13.2" # 2.14 introduces a broken symlink in mongo-2.14.0/spec/support/ocsp
37
37
  end
@@ -16,6 +16,6 @@ inputs:
16
16
  description: 'Optional Custom AWS VPC Id'
17
17
  depends:
18
18
  - name: inspec-aws
19
- url: https://github.com/inspec/inspec-aws/archive/master.tar.gz
19
+ url: https://github.com/inspec/inspec-aws/archive/main.tar.gz
20
20
  supports:
21
21
  - platform: aws
@@ -9,6 +9,6 @@ version: 0.1.0
9
9
  inspec_version: '>= 2.2.7'
10
10
  depends:
11
11
  - name: inspec-azure
12
- url: https://github.com/inspec/inspec-azure/archive/master.tar.gz
12
+ url: https://github.com/inspec/inspec-azure/archive/main.tar.gz
13
13
  supports:
14
14
  - platform: azure
@@ -13,6 +13,6 @@ inputs:
13
13
  description: 'The GCP project identifier.'
14
14
  depends:
15
15
  - name: inspec-gcp
16
- url: https://github.com/inspec/inspec-gcp/archive/master.tar.gz
16
+ url: https://github.com/inspec/inspec-gcp/archive/main.tar.gz
17
17
  supports:
18
18
  - platform: gcp
@@ -86,7 +86,7 @@ class AwsIamAccessKey < Inspec.resource(1)
86
86
  end
87
87
 
88
88
  if access_keys.count > 1
89
- raise "More than one access key matched for aws_iam_access_key. Use more specific paramaters, such as access_key_id."
89
+ raise "More than one access key matched for aws_iam_access_key. Use more specific parameters, such as access_key_id."
90
90
  end
91
91
 
92
92
  @exists = true
@@ -6,7 +6,7 @@ module Inspec::Resources
6
6
  class AzureResourceBase < Inspec.resource(1)
7
7
  attr_reader :opts, :client, :azure
8
8
 
9
- # Constructor that retreives the specified resource
9
+ # Constructor that retrieves the specified resource
10
10
  #
11
11
  # The opts hash should contain the following
12
12
  # :group_name - name of the resource group in which to look for items
@@ -275,7 +275,7 @@ end
275
275
 
276
276
  # Class object to maintain a count of the Azure Resource types that are found
277
277
  # when a less specific test is carried out. For example if all the resoures of a resource
278
- # group are called for, there will be variaous types and number of those types.
278
+ # group are called for, there will be various types and number of those types.
279
279
  #
280
280
  # Each type is namespaced, so for example a virtual machine has the type 'Microsoft.Compute/virtualMachines'
281
281
  # This is broken down into the 'Microsoft' class with the type 'Compute/virtualMachines'
@@ -310,7 +310,7 @@ class AzureResourceTypeCounts
310
310
  end
311
311
 
312
312
  # Class object that is created for each element that is returned by Azure.
313
- # This is what is interogated by Inspec. If they are nested hashes, then this results
313
+ # This is what is interrogated by InSpec. If they are nested hashes, then this results
314
314
  # in nested AzureResourceProbe objects.
315
315
  #
316
316
  # For example, if the following was seen in an Azure Resource
@@ -127,7 +127,7 @@ module Inspec::Resources
127
127
  password_authentication?
128
128
  end
129
129
 
130
- # Deteremine if the machine allows password authentication
130
+ # Determine if the machine allows password authentication
131
131
  #
132
132
  # @return boolean
133
133
  def password_authentication?
@@ -85,7 +85,7 @@ module Inspec::Resources
85
85
  # return hashtable
86
86
  def parse_datadisk(disk, index)
87
87
  # Configure parsed hashtable to hold the information
88
- # Initialise this with common attributes from the different types of disk
88
+ # Initialize this with common attributes from the different types of disk
89
89
  parsed = {
90
90
  disk: index,
91
91
  number: index + 1,
@@ -115,7 +115,7 @@ module Inspec::Resources
115
115
  parsed[:storage_account_type] = disk.managedDisk.storageAccountType
116
116
  parsed[:id] = disk.managedDisk.id
117
117
 
118
- # Break up the ID string so that the following information can get retreived
118
+ # Break up the ID string so that the following information can get retrieved
119
119
  # - subscription_id
120
120
  # - resource_group
121
121
  id_parts = parsed[:id].split(%r{/}).reject(&:empty?)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.41.2
4
+ version: 4.41.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef InSpec Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-13 00:00:00.000000000 Z
11
+ date: 2021-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inspec-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.41.2
19
+ version: 4.41.20
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.41.2
26
+ version: 4.41.20
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: train
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -78,14 +78,14 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '0.1'
81
+ version: '0.2'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '0.1'
88
+ version: '0.2'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: train-winrm
91
91
  requirement: !ruby/object:Gem::Requirement