Commit graph

3071 commits

Author SHA1 Message Date
Chef Expeditor
3c4e3d1279
Bump version to 4.1.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 15:09:55 +00:00
Clinton Wolfe
00bcf91dac
When mssql response is parsed, header might be nil. (#3971)
When mssql response is parsed, header might be nil.
2019-04-25 11:09:52 -04:00
Clinton Wolfe
843ba7afa2
Improve ss parsing code for IPv6 addresses (#3962)
Improve ss parsing code for IPv6 addresses
2019-04-25 11:09:31 -04: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
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
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
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
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
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
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
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
ba6d59dc66 Deprecation handler in unit test helper
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-16 16:27:56 -04: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
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
fc1bc75358 Adjust deprecations somewhat
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-12 10:55:36 -04:00
Chef Expeditor
5de39cb325
Bump version to 4.0.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-12 14:09:02 +00:00
Chef Expeditor
e456a1786d
Bump version to 4.0.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-12 14:08:18 +00:00
Jerry Aldrich
40031a9b83 Use deprecation facility throughout code
This converts all current deprecation warnings/TODOs to use the
`Inspec.deprecate()` deprecation facility.

This also modifies `Inspec.deprecate()` to only require 1 argument.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-04-11 19:15:01 -04:00
Chef Expeditor
414268eccc
Bump version to 4.0.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-11 22:56:25 +00:00
Clinton Wolfe
4348e8fa07
Merge pull request #3935 from inspec/cw/add-license-gating
Add license acceptance to InSpec v4
2019-04-11 18:56:11 -04:00
Chef Expeditor
afe936ead1
Bump version to 4.0.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-11 20:23:32 +00:00
Clinton Wolfe
03385b98ba
Merge pull request #3928 from inspec/mj/tmr
Telemetry Object Model
2019-04-11 16:23:17 -04:00
Clinton Wolfe
0ce122ff21 Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:37:43 -04:00
Clinton Wolfe
1c13bcc35e Change exit code to 172 when license is not accepted
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
f7c4f56670 Ensure that an empty invocation does not trigger the license check
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
e0fe3f1876 Add version to list of exempt commands
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:30:46 -04:00
Clinton Wolfe
07a1679086 Customize behavior when the license challenge fails
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:29:27 -04:00
tyler-ball
96edf5394f Fully leveraging latest set of license acceptance library features
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-11 10:29:27 -04:00
Clinton Wolfe
47da04f4e0 Alter require to use snakecase library name
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:27:48 -04:00
Clinton Wolfe
e3c9c019e3 Add basic integration for the acceptance lib
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-11 10:27:48 -04:00
Miah Johnson
acead4dd40 Remove doc line.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 00:42:26 -07:00
Miah Johnson
61e639e2fe Move @data creation to initialize.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 00:41:51 -07:00
Miah Johnson
ac78feb090 Remove list_data_series_by_name.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 00:41:09 -07:00
Miah Johnson
56a5c80bf5 Rebuild the core telemetry interface.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-09 16:58:40 -07:00
Clinton Wolfe
a83401c932 Freeze version to appease rubocop
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-09 14:00:46 -04:00
Clinton Wolfe
2b30646642 Merge branch 'cw/attrs-rename-cli-option' into 3-stable 2019-04-09 12:10:53 -04:00
Chef Expeditor
4648018f1d
Bump version to 4.0.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-09 15:46:50 +00:00
Clinton Wolfe
b701317616
Merge pull request #3879 from inspec/cw/attrs-rename-cli-option
Attribute->Input Rename: Rename cli option
2019-04-09 11:46:29 -04:00
Chef Expeditor
04242abe61
Bump version to 4.0.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-08 22:23:05 +00:00
Chef Expeditor
4a11430e4e Bump version to 4.0.2.pre by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-08 15:14:48 -04:00
Stuart Paterson
3f1ed29af8 Address PR feedback, add a comment to inspec.yml.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-04-08 14:30:21 -04:00
Stuart Paterson
549a04bdae Update README with the re-added security group control.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-04-08 14:30:21 -04:00
Stuart Paterson
50a7bc7862 Replace port 22 ingress control.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-04-08 14:30:21 -04:00
Stuart Paterson
41a680270e Update AWS profile generation for InSpec 4 to depend on the new resource pack.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-04-08 14:30:21 -04:00
Chef Expeditor
36eb4459c1 Bump version to 4.0.1.pre by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-08 14:30:21 -04:00