Commit graph

5240 commits

Author SHA1 Message Date
Jared Quick
39b3b7135e
Add audit-cookbook integration testing (#3431)
* Add audit integration testing.
* Add some docs and feedback changes.
* Updated integration task to use paramaters and clean it up.
* Fix unit test

Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-25 15:53:26 -04:00
Chef Expeditor
dcd65fcd83
Bump version to 2.2.117 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-25 15:14:06 +00:00
Alex Pop
574b04dd4f Grammar correction in error message: use "an" with attribute and unknown (#3439)
Signed-off-by: Alex Pop <apop@chef.io>
2018-09-25 11:13:56 -04:00
Clinton Wolfe
0ced18841f
CLI Plugin Manager SubCommand (#3414)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-09-25 10:29:18 -04:00
Chef Expeditor
76a688a747
Bump version to 2.2.116 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-24 21:58:38 +00:00
Jared Quick
92646dc5c5
Fix v2 loader appveyor issue (#3434)
* Enable appveyor testing.
* Fix inspec plugin test fixture version issue.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-24 17:58:28 -04:00
Chef Expeditor
d920f1d24a Bump version to 2.2.115 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-21 15:49:43 +00:00
James Massardo
2af1535f7c Add new resource: aws_ebs_volume (#3381)
* Added support for basic AWS EBS volume testing
* Fix error in exists matcher
* Added EBS resource documentation and requested changes

Signed-off-by: James Massardo <jmassardo@chef.io>
2018-09-21 11:49:28 -04:00
Chef Expeditor
a91892af51 Bump version to 2.2.114 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-20 18:44:09 +00:00
Jared Quick
13e244a880
Remove load locks for cloud resources. (#3420)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-20 14:43:52 -04:00
Chef Expeditor
b16a24b615 Bump version to 2.2.113 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-19 21:38:25 +00:00
Clinton Wolfe
7963131670 Plugins Installer API (#3352)
* Sketch out in comments the unit and functional tests for the installer
* Make a test fixture gem, v0.1.0
* Add a 0.2.0 version of the test fixture gem, this one with a dependency
* Add a fixture with a pre-installed gem
* Correct test-fixture 0.1.0 gem
* Moockup of installed inspec-test-fixture gems
* Uggh add gemspec files to mock installs
* Update gem fixtures, and add a script that does it for me
* Able to load from and list privately managed gems
# Conflicts:
#	lib/inspec/plugin/v2/loader.rb

* Expanded tests, starting on implementation of installer

# Conflicts:
#	test/unit/plugin/v2/loader_test.rb

* Install plugin from local gem file works
* Writes the plugins.json file; needs refactor
* Gem install works; no version pinning
* Install with pinned version works
* Install from path works
* update works
* Validation for uninstall
* Uninstall from path works
* Uninstaller works on gems
* Add search to installer API.


Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-09-19 17:38:13 -04:00
Chef Expeditor
1ba3174cbd Executed .expeditor/update_dockerfile.sh
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-19 11:56:43 +00:00
Chef Expeditor
64d7d58d9a Bump version to 2.2.112 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-19 00:20:08 +00:00
Jared Quick
15481e2320
Move artifact to v2 plugin (#3406)
* Move inspec artifact to plugins v2.
* Fix freezing statics
* Update artifact test changes.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-18 20:19:56 -04:00
Chef Expeditor
3786219bf1 Bump version to 2.2.111 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-18 20:21:52 +00:00
Martin Logan
242bee9ce6 Update AWS Security Group to work with IPV6 rules. (#3394)
Add inbound_rules_count and outbound_rules_count for total variants

Signed-off-by: Martin Logan <martinloganzz@gmail.com>
2018-09-18 16:21:41 -04:00
Chef Expeditor
e2adb68cfe Bump version to 2.2.110 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-18 19:54:43 +00:00
Jared Quick
544204a44c
Move inspec init to v2 plugins (#3407)
* Move inspec init to v2 plugins.
* Revert inspec run command env change.
* Allow prefix and env for run_inspec_process.
* Update unit tests to use new functionality.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-18 15:54:33 -04:00
Chef Expeditor
4c3b03da19 Bump version to 2.2.109 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-18 19:00:39 +00:00
Jared Quick
94c7ef0df8
Fix gem tests from recent merge. (#3409)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-18 15:00:26 -04:00
Chef Expeditor
83382bb95c Bump version to 2.2.108 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-18 18:20:58 +00:00
Jared Quick
44c4146a92
Fix json automate render and make the unit tests work. (#3408)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-18 14:20:48 -04:00
Chef Expeditor
3e77734645 Bump version to 2.2.107 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-18 17:17:19 +00:00
Ben Abrams
0b33644819 adding versions to the gem resource (#3398)
This is useful when you have multiple versions of the same gem installed. It can be leveraged like so:
```
describe gem('rest-client') do
  its('versions') { should include /1.8\.\d+/ }
  its('versions') { should include /2.0\.\d+/ }
  its('versions.count') { should_be eq 2 }
end
```

Signed-off-by: Ben Abrams <me@benabrams.it>
2018-09-18 13:17:10 -04:00
Chef Expeditor
df6350f6a0 Bump version to 2.2.106 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-18 17:10:15 +00:00
Jared Quick
40e024fa97
Move habitat to v2 plugin. (#3404)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-18 13:10:07 -04:00
Chef Expeditor
b8adedeb3a Bump version to 2.2.105 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-18 04:01:03 +00:00
Clinton Wolfe
50ff9f6a24
Plugins: Add support for 'bundles' migration (#3384)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-18 00:00:54 -04:00
Chef Expeditor
7aa2283943 Bump version to 2.2.104 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-18 00:59:41 +00:00
Kayleigh Doores
9c1b7eb6a2 Added db_name flag (#3383)
* Added db_name flag
* removed trailing whitespace
* Added comment to disable metrics

Signed-off-by: Kayleigh <kayleigh.doores@gmail.com>
2018-09-17 20:59:31 -04:00
Chef Expeditor
3c93de9a3a Bump version to 2.2.103 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-17 21:41:55 +00:00
Jared Quick
daff65470e
Fix rendering of profiles webpage. (#3393)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-17 17:41:42 -04:00
Chef Expeditor
61ad915aa9 Executed .expeditor/update_dockerfile.sh
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-17 21:04:18 +00:00
Chef Expeditor
6a61b6455d Bump version to 2.2.102 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-17 20:20:44 +00:00
Jared Quick
8caca9be43
Add json-automate to the report structure (#3401)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-17 16:20:32 -04:00
Chef Expeditor
9a6cf89bb3 Executed .expeditor/update_dockerfile.sh
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-14 00:49:58 +00:00
Chef Expeditor
e898cd3585 Bump version to 2.2.101 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-14 00:19:13 +00:00
Jerry Aldrich
bbc4002b53 Fix profile vendoring on Windows (#3378)
* Fix profile vendoring on Windows

This fixes vendoring on Windows by doing the following:
  - Expanding relative paths (handles `\\`)
  - Ensuring archives after closed after reading (prevents locking)

This also does the following:
  - Removes extra file from testing tar archive
  - Ensures fetching dirs/archives in the local fetcher behaves the same

* Fix profile vendoring on Windows

This fixes vendoring on Windows by doing the following:
  - Expanding relative paths (handles `\\`)
  - Ensuring archives after closed after reading (prevents locking)

This also does the following:
  - Removes extra file from testing tar archive
  - Ensures fetching dirs/archives in the local fetcher behaves the same

* Add vendoring to fuctional testing and fix the tmp path for windows

* Add tests for relative paths and backslashes

* Remove backslashes support in filenames on Linux

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-09-13 20:19:02 -04:00
Chef Expeditor
ec7f0f5a4e Bump version to 2.2.100 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-13 23:09:45 +00:00
Chef Expeditor
b4290fb0c7 Bump version to 2.2.99 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-13 19:47:55 +00:00
Chef Expeditor
94a560b85b Bump version to 2.2.98 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-13 19:45:09 +00:00
Chef Expeditor
8fa56fae2f Bump version to 2.2.97 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-13 19:36:26 +00:00
Jared Quick
927720998c
Add platforms schema command (#3346)
* Add platforms schema command.
* Add functional test.
* Update tests with sorted export.
* Bump train version.
* Fix syntax in tests.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-13 15:36:17 -04:00
Chef Expeditor
4e9bae7d57 Bump version to 2.2.96 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-13 18:14:20 +00:00
Jared Quick
1c12a544c7
Add string impact options for controls (#3359)
* Add impact class which contains all cvss scores.
* Add testing for impact changes.
* Change symbols to strings for impact.
* Update error messages to be more clear.
* Fix test with new sha

Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-13 14:14:05 -04:00
Chef Expeditor
a79b3cf08f Bump version to 2.2.95 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-13 17:28:11 +00:00
Jared Quick
bd96af1fa2
Bump omnibus ruby to 2.5.1 (#3390)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-13 13:28:01 -04:00
Chef Expeditor
bb3c882a2b Bump version to 2.2.94 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-13 17:08:32 +00:00
Jared Quick
3da7511d36
Fix the compliance target error checks. (#3392)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-13 13:06:02 -04:00