Commit graph

7763 commits

Author SHA1 Message Date
Dominik Richter
419b6a087c add file uid and gid accessors 2016-03-31 02:23:30 +02:00
Dominik Richter
d086102c79 Merge pull request #602 from chef/dr/passwd-filter
add advanced passwd filters (experimental)
2016-03-31 01:23:10 +01:00
Dominik Richter
2cad553de8 add advanced passwd filters (experimental) 2016-03-31 02:03:20 +02:00
Joshua Bussdieker
7a185f02dc Amazon linux support for service resource 2016-03-29 08:32:50 -07:00
Christoph Hartmann
ef9a4ed966 Merge pull request #537 from JTabel/fix-compliance-api-calls
Fixed API calls for inspec compliance
2016-03-29 15:59:04 +02:00
Julian Tabel
bd594f3608 added apipath cli option to inspec compliance with default to /api 2016-03-29 10:49:48 +02:00
Dominik Richter
f6578baf26 Merge pull request #594 from chef/chris-rock/fix-docs-update
fix errors introduced in #593
2016-03-28 01:21:23 +02:00
Christoph Hartmann
bc3be2f302 fix functional tests 2016-03-28 01:15:48 +02:00
Christoph Hartmann
7112ebbfec fix errors introduced in #593 2016-03-28 00:48:15 +02:00
Christoph Hartmann
ceb7286175 Merge pull request #593 from aaronlippold/al/documentation-updates
Updated documentation and examples to include tags and references
2016-03-28 00:44:07 +02:00
Aaron Lippold
e846385866 Updated documentation and examples to include tags and references 2016-03-27 12:40:34 -04:00
Dominik Richter
1c60908bcf Merge pull request #592 from chef/chris-rock/strip
Ease removal of whitespace for Powershell Write-Output and VBScript Echo
2016-03-26 23:20:27 +01:00
Christoph Hartmann
a0529075d3 add integration tests 2016-03-26 22:49:32 +01:00
Christoph Hartmann
ca0506b6a3 eases the removal of leading and trailing whitespace for powershell and vbscript 2016-03-26 22:25:53 +01:00
Dominik Richter
13e9a18946 Merge pull request #591 from chef/0.16.4
0.16.4
2016-03-25 14:50:26 +01:00
Dominik Richter
41fb327e20 0.16.4 2016-03-25 14:25:44 +01:00
Dominik Richter
5f905a6732 Merge pull request #589 from chef/dr/fun-tests
support --controls for inspec json
2016-03-25 03:04:47 +01:00
Dominik Richter
ee170cc526 support --controls for json 2016-03-25 01:58:59 +01:00
Dominik Richter
17840e0299 split up functional tests 2016-03-25 01:32:03 +01:00
Dominik Richter
1a9ce9b941 Merge pull request #561 from chef/chris-rock/tags-docs
document tags and refs
2016-03-25 01:31:44 +01:00
Christoph Hartmann
f4180780d1 document tags and refs 2016-03-25 00:58:27 +01:00
Dominik Richter
0db3a389aa Merge pull request #574 from chef/sr/fix-url-encode-profiles
inspec-compliance: url_encode profile names
2016-03-25 00:08:42 +01:00
Stephan Renatus
be93f25e6e inspec-compliance: url_encode profile names 2016-03-24 23:47:41 +01:00
Dominik Richter
62cadd0aab Merge pull request #588 from chef/dr/connection-errors
dont fail with stacktrace on connection errors
2016-03-24 23:46:44 +01:00
Dominik Richter
856460054f dont fail with stacktrace on connection errors 2016-03-24 23:24:58 +01:00
Dominik Richter
ed9ad28afb Merge pull request #583 from chef/ap/long-live-gordon
Improvements to gordon example and docs
2016-03-24 22:20:57 +01:00
Alex Pop
53c7683ff7 update tests based on resource changes 2016-03-24 21:50:51 +01:00
Alex Pop
825702014c update gordon with a bit of ruby and update README 2016-03-24 21:50:47 +01:00
Alex Pop
1dce2037b3 use unix family for wider compatibility 2016-03-24 19:50:52 +00:00
Dominik Richter
e7a2d9b763 Merge pull request #582 from chef/ap/fix-inspec-shell-missing-resources
bugfix: fix rare inspec shell missing all resources
2016-03-24 20:46:15 +01:00
Alex Pop
3c3d711dfd bugfix: fix rare inspec shell missing all resources
In some instances, when running inspec shell, you dont get any resources inside of it. i.e. `inspec shell` and then `os` will lead to

```ruby
NameError: undefined local variable or method `os' for
from (pry):1:in `add_content'
```

This is because of instance_eval loading withing the given source/line
information and not attaching to the profile context which actually has
all the resources. Fix it by making sure that inspec shell always
attaches to the profile context with resources by providing nil for
source and line information.
2016-03-24 20:37:46 +01:00
Dominik Richter
0624227004 Merge pull request #575 from chef/sr/0.16.3
0.16.3
2016-03-23 16:56:56 +01:00
Stephan Renatus
d91bce0a20 0.16.3 2016-03-23 16:49:27 +01:00
Dominik Richter
ca8194ccad Merge pull request #573 from chef/sr/fix-upload-profiles
inspec-compliance: fix upload of profiles
2016-03-23 16:39:14 +01:00
Stephan Renatus
f19b3f632f inspec-compliance: fix upload of profiles 2016-03-23 16:13:23 +01:00
Dominik Richter
4a98ed04d7 Merge pull request #571 from chef/0.16.2
0.16.2
2016-03-22 20:44:30 +01:00
Dominik Richter
8d524630c3 0.16.2 2016-03-22 20:30:21 +01:00
Dominik Richter
bf44bed7a7 Merge pull request #570 from chef/dr/fix-parse_config-crash
bugfix: dont crash on read_file contents in parse_config
2016-03-22 19:23:01 +01:00
Dominik Richter
c5f0d11e4c bugfix: dont crash on read_file contents in parse_config 2016-03-22 18:42:50 +01:00
Stephan Renatus
8b492c3fe3 Merge pull request #567 from chef/0.16.1
0.16.1
2016-03-22 13:13:41 +01:00
Dominik Richter
cd031607c1 0.16.1 2016-03-22 12:57:45 +01:00
Dominik Richter
15772654e4 Merge pull request #560 from chef/chris-rock/wmi
add `wmi` resource
2016-03-20 12:56:48 +01:00
Christoph Hartmann
cd57b26bd0 wmi unit test 2016-03-20 11:53:56 +01:00
Christoph Hartmann
f97301882e add namespace for wmi resource 2016-03-20 11:53:56 +01:00
Christoph Hartmann
7e7196db77 add wmi integration tests 2016-03-20 11:53:56 +01:00
Christoph Hartmann
67251d2982 implement object traversal for wmi object, make namespace and filter optional 2016-03-20 11:53:56 +01:00
Christoph Hartmann
d045927d28 add wmi resource 2016-03-20 11:53:56 +01:00
Dominik Richter
1d7c110917 Merge pull request #559 from chef/chris-rock/vbscript
Add `vbscript` resource
2016-03-20 10:54:35 +01:00
Christoph Hartmann
4c5a3ed412 add vbscript unit test 2016-03-19 19:04:31 +01:00
Christoph Hartmann
849c23d0aa remove comments from ps script and remove tmp vb script after execution 2016-03-19 19:04:31 +01:00