inspec 4.23.4 → 4.23.10

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: 3b07924a474d7ac0d047016b6c4c03a90ed56f602ba4d5db02b7253cdf79e542
4
- data.tar.gz: b31506850208f9d6b124d07cd7055845cbff2bdaa8368a3b09969ba32609324e
3
+ metadata.gz: 88f5d167096a0844ea56ce96c824ec4ad723e51315f8a70f573897560671f556
4
+ data.tar.gz: 2b4b8fc5d88793a1ba8f26d58c729ce2b48cbc7ce7ad5082b7e31440d40c2308
5
5
  SHA512:
6
- metadata.gz: 0e01909a0aa538e237e5320e0d413f38b20a31c7db95c1d517d23048db7324d343eac0ff4092e930ec8f794adbed40e61cee1f69ffe1d6ebcf731f928b5fcb15
7
- data.tar.gz: 1075618b354463ba60b5e06ff1e70409809d4923505b5ccae1e02b5a473bedb35262040af3010cf65d9673d4a8b1771bd0216e93a4c3f0ddb119cff1dbded0c8
6
+ metadata.gz: 4a7a05e01f5d23d4d2199187926e87170e42c2335178096daaba1aaac2921ba16c766a2453757bd069b4e12df72078563fe790f9c12dcdba5a51b3c0a428af91
7
+ data.tar.gz: 79dbd6a71cc35058da03e05057a1f9e8949b45c4cbd83b625d4f3bb9ba5d55ffa4584fbb473097f63ced7c26e95961e4ca4514c92e916eba235a0c027d0f3317
data/Gemfile CHANGED
@@ -25,6 +25,7 @@ group :test do
25
25
  gem "rake", ">= 10"
26
26
  gem "simplecov", ["~> 0.10", "<=0.18.2"]
27
27
  gem "concurrent-ruby", "~> 1.0"
28
+ gem "nokogiri", "~> 1.9"
28
29
  gem "mocha", "~> 1.1"
29
30
  gem "ruby-progressbar", "~> 1.8"
30
31
  gem "webmock", "~> 3.0"
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency "train", "~> 3.0"
28
28
 
29
29
  # Used for Azure profile until integrated into train
30
- spec.add_dependency "faraday_middleware", "~> 0.12.2"
30
+ spec.add_dependency "faraday_middleware", ">= 0.12.2", "< 1.1"
31
31
 
32
32
  # Train plugins we ship with InSpec
33
33
  spec.add_dependency "train-habitat", "~> 0.1"
@@ -26,7 +26,7 @@ Creating new profile at /Users/spaterson/my-profile
26
26
  aws_vpc_id: 'custom-vpc-id'
27
27
  ```
28
28
 
29
- The related control will simply be skipped if this is not provided. See the [InSpec DSL documentation](https://www.inspec.io/docs/reference/dsl_inspec/) for more details on conditional execution using `only_if`.
29
+ The related control will simply be skipped if this is not provided. See the [InSpec DSL documentation](https://docs.chef.io/inspec/dsl_inspec/) for more details on conditional execution using `only_if`.
30
30
 
31
31
  ## Run the tests
32
32
 
@@ -61,7 +61,7 @@ module AwsResourceMixin
61
61
  rescue Aws::Errors::MissingCredentialsError
62
62
  # The AWS error here is unhelpful:
63
63
  # "unable to sign request without credentials set"
64
- Inspec::Log.error "It appears that you have not set your AWS credentials. You may set them using environment variables, or using the 'aws://region/aws_credentials_profile' target. See https://www.inspec.io/docs/reference/platforms for details."
64
+ Inspec::Log.error "It appears that you have not set your AWS credentials. You may set them using environment variables, or using the 'aws://region/aws_credentials_profile' target. See https://docs.chef.io/inspec/platforms/ for details."
65
65
  fail_resource("No AWS credentials available")
66
66
  rescue Aws::Errors::ServiceError => e
67
67
  fail_resource e.message
@@ -34,7 +34,7 @@ class AwsEbsVolume < Inspec.resource(1)
34
34
  rescue Aws::Errors::MissingCredentialsError
35
35
  # The AWS error here is unhelpful:
36
36
  # "unable to sign request without credentials set"
37
- Inspec::Log.error "It appears that you have not set your AWS credentials. You may set them using environment variables, or using the 'aws://region/aws_credentials_profile' target. See https://www.inspec.io/docs/reference/platforms for details."
37
+ Inspec::Log.error "It appears that you have not set your AWS credentials. You may set them using environment variables, or using the 'aws://region/aws_credentials_profile' target. See https://docs.chef.io/inspec/platforms/ for details."
38
38
  fail_resource("No AWS credentials available")
39
39
  rescue Aws::Errors::ServiceError => e
40
40
  fail_resource(e.message)
@@ -35,7 +35,7 @@ class AwsEc2Instance < Inspec.resource(1)
35
35
  rescue Aws::Errors::MissingCredentialsError
36
36
  # The AWS error here is unhelpful:
37
37
  # "unable to sign request without credentials set"
38
- Inspec::Log.error "It appears that you have not set your AWS credentials. You may set them using environment variables, or using the 'aws://region/aws_credentials_profile' target. See https://www.inspec.io/docs/reference/platforms for details."
38
+ Inspec::Log.error "It appears that you have not set your AWS credentials. You may set them using environment variables, or using the 'aws://region/aws_credentials_profile' target. See https://docs.chef.io/inspec/platforms/ for details."
39
39
  fail_resource("No AWS credentials available")
40
40
  rescue Aws::Errors::ServiceError => e
41
41
  fail_resource e.message
@@ -43,7 +43,7 @@ class AwsIamPasswordPolicy < Inspec.resource(1)
43
43
  rescue Aws::Errors::MissingCredentialsError
44
44
  # The AWS error here is unhelpful:
45
45
  # "unable to sign request without credentials set"
46
- Inspec::Log.error "It appears that you have not set your AWS credentials. You may set them using environment variables, or using the 'aws://region/aws_credentials_profile' target. See https://www.inspec.io/docs/reference/platforms for details."
46
+ Inspec::Log.error "It appears that you have not set your AWS credentials. You may set them using environment variables, or using the 'aws://region/aws_credentials_profile' target. See https://docs.chef.io/inspec/platforms/ for details."
47
47
  fail_resource("No AWS credentials available")
48
48
  rescue Aws::Errors::ServiceError => e
49
49
  fail_resource e.message
@@ -24,7 +24,7 @@ class AwsIamRootUser < Inspec.resource(1)
24
24
  rescue Aws::Errors::MissingCredentialsError
25
25
  # The AWS error here is unhelpful:
26
26
  # "unable to sign request without credentials set"
27
- Inspec::Log.error "It appears that you have not set your AWS credentials. You may set them using environment variables, or using the 'aws://region/aws_credentials_profile' target. See https://www.inspec.io/docs/reference/platforms for details."
27
+ Inspec::Log.error "It appears that you have not set your AWS credentials. You may set them using environment variables, or using the 'aws://region/aws_credentials_profile' target. See https://docs.chef.io/inspec/platforms/ for details."
28
28
  fail_resource("No AWS credentials available")
29
29
  rescue Aws::Errors::ServiceError => e
30
30
  fail_resource e.message
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.23.4
4
+ version: 4.23.10
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: 2020-09-02 00:00:00.000000000 Z
11
+ date: 2020-09-22 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.23.4
19
+ version: 4.23.10
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.23.4
26
+ version: 4.23.10
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: train
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,16 +42,22 @@ dependencies:
42
42
  name: faraday_middleware
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.12.2
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '1.1'
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - "~>"
55
+ - - ">="
53
56
  - !ruby/object:Gem::Version
54
57
  version: 0.12.2
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.1'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: train-habitat
57
63
  requirement: !ruby/object:Gem::Requirement