Miah Johnson
585ce3b26f
Change properties_aws_iam_user from warn -> fail_control
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 20:26:31 -07:00
Miah Johnson
7f00e54495
Change properties_shadow from warn -> fail_control
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 19:30:21 -07:00
Miah Johnson
a00520d8b3
Change rename_attributes_to_inputs from ignore to warn.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 19:18:55 -07:00
Miah Johnson
a8c2544e72
Change resource_apache from warn -> exit
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 18:47:12 -07:00
Miah Johnson
1c9cccb1e3
Change resource_iis_website from warn -> exit
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 18:09:18 -07:00
Chef Expeditor
5504820d39
Bump version to 4.1.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-24 00:57:35 +00:00
Miah Johnson
45f87e01de
Merge pull request #3975 from inspec/immutableUpdate
...
Remove be_immutable matcher
2019-04-23 17:57:18 -07:00
Miah Johnson
b508cb7aa5
Change resource_linux_kernel_parameter from warn -> exit
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 17:37:46 -07:00
Miah Johnson
d9d7e351a3
Change resource_ppa from warn -> exit
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 17:08:52 -07:00
Miah Johnson
82b705aa9f
Change resource_script from warn -> exit
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 16:36:09 -07:00
Miah Johnson
080c882322
Change resource_user_serverspec_compat from warn -> fail_control
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 16:13:13 -07:00
Miah Johnson
620bd44976
Change resource_windows_registry_key from warn -> exit
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 15:51:04 -07:00
Miah Johnson
a10a62a505
mount_parser_serverspec_compat warn -> fail_control
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 15:30:51 -07:00
Miah Johnson
5b3a24407f
Change wmi_non_hash_usage from warn to fail_control
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 15:11:12 -07:00
Miah Johnson
7506ae4121
When mssql response is parsed, header might be nil.
...
Only set and downcase header if its not nil.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 14:45:34 -07:00
Aaron Lippold
a94fdc67d5
updated low
to align with CVSS 3.0
...
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-04-23 15:02:52 -04:00
Aaron Lippold
6d452540d0
updated low
to align with CVSS 3.0
...
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-04-23 15:02:52 -04:00
Mary Jinglewski
70db730b48
Remove be_immutable
...
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-04-23 13:52:48 -04:00
Clinton Wolfe
f7b01093a4
Warn on using default with attributes
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-23 11:46:13 -04:00
Clinton Wolfe
aa19b6e99d
Add helper to filter out deprecations on stderr
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-23 11:46:13 -04:00
Chef Expeditor
3defc93670
Bump version to 4.1.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-23 01:17:19 +00:00
Miah Johnson
abc905b765
Merge pull request #3970 from inspec/ed25519
...
Add ed25519 gems in the omnibus group
2019-04-22 18:17:01 -07:00
Tim Smith
c2c6b59568
Add ed25519 gems in the omnibus group
...
We want to have these installed in our omnibus package, but we can't
make them direct deps in train because then a gem install of inspec
would need compilers to install these gems.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-22 17:34:32 -07:00
Chef Expeditor
f1cc0b0477
Bump version to 4.1.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-22 16:50:02 +00:00
Clinton Wolfe
330d504722
Use the upstream unf_ext again ( #3963 )
...
Use the upstream unf_ext again
2019-04-22 12:49:43 -04:00
Tim Smith
6c3abc36ef
Use the upstream unf_ext again
...
The new version was released that includes our Solaris patch as well as Ruby 2.6 support.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-19 20:18:11 -07:00
Miah Johnson
2f78515164
Add a few tests for LinuxPorts class to validate ss parsing.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-19 13:45:33 -07:00
Miah Johnson
27935e9e51
Improve ss parsing code for IPv6 addresses
...
Some versions of `ss` wrap IPv6 addresses in brackets, eg:
```
[fe80::dc11:b9b6:514b:134]%eth0:123
[::]
```
This change removes all brackets during parsing.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-18 23:55:50 -07:00
tyler-ball
8425a50872
Provide logger to license-acceptance for help debugging in the future
...
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-18 12:29:57 -06:00
Chef Expeditor
50a8fd7370
Bump version to 4.1.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-17 21:12:41 +00:00
Clinton Wolfe
3d0b8dff2e
Merge pull request #3956 from inspec/cw/use-deprecation-everywhere-4-port
...
Use deprecation facility everywhere - v4 port
2019-04-17 17:12:24 -04:00
Clinton Wolfe
6a580ade70
Add missing group argument in deprecator
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-17 15:58:18 -04:00
Chef Expeditor
e3999a0814
Bump version to 4.1.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-17 17:41:26 +00:00
Clinton Wolfe
23e77155a8
Merge pull request #3953 from inspec/tas50/ruby_24_plus
...
Require Ruby 2.4 or later
2019-04-17 13:41:12 -04:00
Clinton Wolfe
dca2f069ba
Disable Performance/RegexpMatch rule to avoid breaking soooo many tests
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-17 12:40:53 -04:00
Chef Expeditor
bf15cffcc4
Bump version to 4.1.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-17 15:57:48 +00:00
Clinton Wolfe
7aeb1763a9
Merge pull request #3897 from mattlqx/interface-addresses
...
Support address matchers on interface resource
2019-04-17 11:57:29 -04:00
Tim Smith
590dcc6d60
Bump the main inspec gem as well
...
I missed this one
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-16 21:21:46 -07:00
Tim Smith
00ce6c02df
Require Ruby 2.4 or later
...
Ruby 2.3 is no longer supported. Drop this release from InSpec and
instead support the 3 latest Ruby releases.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-16 21:19:40 -07:00
Clinton Wolfe
1552dc0210
Merge branch 'cw/use-deprecation-everywhere-3-port' of github.com:inspec/inspec into cw/use-deprecation-everywhere-4-port
2019-04-16 17:42:45 -04:00
Clinton Wolfe
201c52594d
Correct deprecation message on shadows property
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-16 17:32:29 -04:00
Clinton Wolfe
a3a2699e8d
Update unit tests to expect deprecations
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-16 17:28:39 -04:00
Clinton Wolfe
ba6d59dc66
Deprecation handler in unit test helper
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-16 16:27:56 -04:00
Miah Johnson
e76978cd67
Merge pull request #3948 from inspec/snappj/improve-omnibus-test-scripts
...
Improve omnibus test scripts
2019-04-16 12:25:26 -07:00
Chef Expeditor
92a132ef18
Bump version to 4.1.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-16 18:42:03 +00:00
Clinton Wolfe
0c884b1415
Merge pull request #3895 from mitre/al-mitre/more-permissive-than
...
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-04-16 14:41:43 -04:00
Jeremiah Snapp
265ce834ad
Do not add inspec's bin path to the PATH env var
...
By not adding inspec's bin path to the PATH env var
we can properly test that inspec's install scripts
created the appropriate symlinks.
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2019-04-15 17:04:30 -04:00
Jeremiah Snapp
8533998fb8
Reload Env:PATH to get changes from inspec installation
...
Reloading Env:PATH does a better job of testing if
the installation properly configured the system's
PATH.
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2019-04-15 17:02:34 -04:00
Matt Kulka
633cea6673
support address matchers on interface resource
...
Adds missing functionality to `interface`. Fixes #1830
```
describe interface("eth0") do
its(ipv4_addresses) { should include 1.2.3.4 }
end
```
And so on... see diff/docs for additional matchers.
Signed-off-by: Matt Kulka <mkulka@parchment.com>
2019-04-12 08:24:13 -07:00
Clinton Wolfe
c1660e8568
Helper script to check for typos in deprecation group names
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-12 10:57:30 -04:00