Commit graph

3315 commits

Author SHA1 Message Date
Christoph Hartmann
4269cb374c Merge pull request #1044 from chef/chris-rock/security_policy
use simple config for security policy resource
2016-09-12 12:31:44 +02:00
Christoph Hartmann
9c7d06c167 use simple config for security policy resource 2016-09-12 12:20:57 +02:00
Christoph Hartmann
fe9850664d Merge pull request #1038 from chef/ssd/dup-detect
Improve duplicate and cycle detection in resolver
2016-09-12 12:19:56 +02:00
Steven Danna
b48b9edae9
Improve duplicate and cycle detection in resolver
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-12 10:57:55 +01:00
Christoph Hartmann
bff5bb2320 Merge pull request #1039 from chef/chris-rock/user_enabled
identify enabled/disabled accounts for windows
2016-09-12 11:49:28 +02:00
Christoph Hartmann
a2143b8249 identify enabled/disabled accounts for windows 2016-09-12 11:40:25 +02:00
Christoph Hartmann
5a788f1138 Merge pull request #1046 from chef/ssd/fetcher-backcompat
Add Inspec::Fetcher#relative_target for compatibility
2016-09-12 11:38:57 +02:00
Steven Danna
1836e6daeb
Add Inspec::Fetcher#relative_target for compatibility
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-12 09:54:57 +01:00
Christoph Hartmann
6506493d06 Merge pull request #1033 from chef/vj/get-content-in-demo
add demo content
2016-09-12 09:56:38 +02:00
Victoria Jeffrey
66e54b675f load content into demo and handle shell commands 2016-09-12 09:39:16 +02:00
Christoph Hartmann
4048cc6b4c Merge pull request #1037 from chef/ssd/example-corp-profile
Add example of corporate profile
2016-09-12 09:34:39 +02:00
Steven Danna
d8d53b36c1 Add example of corporate profile
This won't work until the git fetcher is merged. It likely also
exhibits other problems related to platform support handling.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-12 09:29:49 +02:00
Christoph Hartmann
df487861fe Merge pull request #1041 from chef/ssd/le-sigh
Typo supermarket -> compliance
2016-09-09 18:48:57 +02:00
Steven Danna
4d2d0f2b67
Typo supermarket -> compliance
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-09 14:46:36 +01:00
Christoph Hartmann
1c10d7fbb4 Merge pull request #1034 from chef/ssd/git-fetcher
Add GitFetcher and rework Fetchers+SourceReaders
2016-09-09 15:29:19 +02:00
Steven Danna
120b3d895a
Allow supermarket:// and compliance:// in inspec.yml
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-09 14:14:37 +01:00
Steven Danna
85cbe713d7
Add GitFetcher and rework Fetchers+SourceReaders
This adds a new git fetcher. In doing so, it also refactors how the
fetchers work a bit to better support fetchers that need to resolve
user-provided sources to fully specified sources appropriate for a
lockfile.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-09 14:14:36 +01:00
Steven Danna
3777f06927
Remove some warnings during the test run 2016-09-09 14:14:36 +01:00
Steven Danna
f431794917
Clean up Inspec::Profile initialize to make it clear what options we use 2016-09-09 14:14:36 +01:00
Christoph Hartmann
e44a3802dd Merge pull request #1035 from chef/chris-rock/sys_info
add sys_info resource to get information about the hostname
2016-09-09 12:50:35 +02:00
Christoph Hartmann
e61f71143d add unit tests 2016-09-09 12:43:03 +02:00
Christoph Hartmann
82a4e21cf7 add sys_info resource to get information about the hostname 2016-09-09 10:36:02 +02:00
Christoph Hartmann
23410755ea Merge pull request #990 from chef/ksubrama/user_sid
user resource should support filtertable
2016-09-09 10:24:48 +02:00
Christoph Hartmann
fb416bfdf8 added further comments highlight that the users research is focussed on local users 2016-09-09 09:31:38 +02:00
Christoph Hartmann
23cfc3c4bd fix for solaris 2016-09-09 09:31:38 +02:00
Christoph Hartmann
78a47aa43b improve windows implementation 2016-09-09 09:31:38 +02:00
Christoph Hartmann
74c3904844 improve performance for single user requests 2016-09-09 09:31:37 +02:00
Christoph Hartmann
94100d98b0 full implementation for filtable for linux and mac 2016-09-09 09:31:37 +02:00
Kartik Null Cating-Subramanian
42fd3fc51a first iteration fitlertable for user resource 2016-09-09 09:31:37 +02:00
Christoph Hartmann
c8f835a2ef Merge pull request #1036 from chef/ssd/code-coverage-fix
Ensure simplecov starts before everything else
2016-09-08 22:48:58 +02:00
Steven Danna
7e8f3f571e
Ensure simplecov starts before everything else
Before this change, simplecov was reporting

    1864 / 5198 LOC (35.86%) covered

After this change it is reporting

    4131 / 5275 LOC (78.31%) covered.

Keeping the require at the top of the file ensure that simplecov is
loaded before any of our application code.
2016-09-08 21:32:15 +01:00
Christoph Hartmann
bf4d5774f0 Merge pull request #1015 from chef/vj/make-demo-better
make demo better
2016-09-07 18:31:23 +02:00
Christoph Hartmann
cbaf4d1fe9 add webpack configuration 2016-09-07 18:24:50 +02:00
Victoria Jeffrey
9d32685ccb switch from systemjs to webpack 2016-09-07 18:24:50 +02:00
Victoria Jeffrey
7f47f61f43 make the demo better!! 2016-09-07 17:53:50 +02:00
Christoph Hartmann
9e9de6c66b Merge pull request #1031 from chef/dr/table
fix table formatting in readme
2016-09-07 17:50:43 +02:00
Dominik Richter
c2e834b9f4 fix table formatting in readme 2016-09-07 17:36:58 +02:00
Christoph Hartmann
f9416ffe29 Merge pull request #1029 from chef/dr/delivery
remove old delivery tests
2016-09-07 17:19:45 +02:00
Dominik Richter
2e03665f1f remove old delivery tests
our open source projects dont use these right now. Git history retains all information, so it is easy to restore it once we can use workflow again.
2016-09-07 17:15:20 +02:00
Christoph Hartmann
b30080d284 Merge pull request #1032 from chef/dr/health
add health graphs
2016-09-07 16:49:10 +02:00
Dominik Richter
01ae5d8a36 add inspec health graphs 2016-09-07 16:39:43 +02:00
Christoph Hartmann
fe58fa16bb 0.33.2 2016-09-07 13:03:15 +02:00
Christoph Hartmann
80fd288f44 Merge pull request #1020 from chef/chris-rock/iis_direct_matcher
allow direct access to iis configuration parameters
2016-09-07 11:34:47 +02:00
Christoph Hartmann
1bd55f8cc4 allow direct access to iis configuration parameters 2016-09-07 11:19:34 +02:00
Christoph Hartmann
1268a28ea9 Merge pull request #1027 from chef/ap/ssl-improvements
ssl resource fix and speed improvement
2016-09-07 11:09:52 +02:00
Alex Pop
f65ceeb900 handled hostname differently for WinRM::Connection
parallelize protocol checks to speed up the scan
2016-09-07 11:04:01 +02:00
Christoph Hartmann
123ddd2a6c 0.33.1 2016-09-07 10:50:48 +02:00
Christoph Hartmann
9f980cff99 Merge pull request #1023 from chef/ssd/remove-prepare_load_path
Remove SourceReader::Inspec#prepare_load_path
2016-09-07 10:43:45 +02:00
Steven Danna
210dbc9425 Remove SourceReader::Inspec#prepare_load_path
We already monkeypatch require so that it is redirected through the
require_loader.  All of the tests pass with this removal.  We might
cause some breakage with this removal that we aren't testing, but given
that we are mucking with `require` it seems preferable to have one
mechanism by which we do that and solve any bugs with that single path.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-07 10:35:58 +02:00
Christoph Hartmann
bd64428458 Merge pull request #1026 from chef/ssd/attribute-fix-1
Pass attributes from command line into profile context
2016-09-07 10:34:56 +02:00