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
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
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
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
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
Chef Expeditor
80c1c07771
Bump version to 2.2.93 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-13 17:05:19 +00:00
Jared Quick
527571750d
Prevent logs from showing up when running inspec json ( #3391 )
...
* Prevent logs from showing up when running inspec json.
* Update it test text.
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-13 13:05:10 -04:00
Chef Expeditor
9cb3b1e7dd
Bump version to 2.2.92 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-12 22:05:54 +00:00
Jared Quick
6445e2c6d5
Add windows functional tests ( #3385 )
...
* Add windows functional tests.
* Fix tests for 2012 server.
* Fix windows build script
* Add more functional tests for windows.
* Update comment with TODO.
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-12 18:04:16 -04:00
Chef Expeditor
6b3ee3b52f
Bump version to 2.2.91 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-12 22:02:35 +00:00
Jared Quick
4eaf2fc540
Populate code for inspec json inheritance ( #3386 )
...
* Add a code fallback for inherited profiles.
* Add functional testing.
* Push lint fixes
* Fix inspec.lock file
* Fix lint and break from loop
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-12 18:02:24 -04:00
Chef Expeditor
f644f3fb91
Bump version to 2.2.90 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-12 21:06:00 +00:00
Jared Quick
475eafb46e
Revert uuid change from A2 report. ( #3387 )
...
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-12 17:05:48 -04:00
Chef Expeditor
6cce7fa1ef
Bump version to 2.2.89 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-12 20:45:04 +00:00
Jared Quick
ac106a090e
Implement InSpec global attributes ( #3318 )
...
* Add yml attribute option.
* Add type matching.
* Add testing profile for global attributes testing all types.
* Allow attributes to be called within a control block.
* Fix attribut test issues and allow value to be set at runtime.
* Allow setting attr value after creation.
* Move attributes to global namespace.
* Move attributes to a singleton object.
* Add unit and updated functional testing.
* Rename attributes to attributes_test so the testhelper picks it up.
* Add attribute object tests and error types.
* Update with feedback changes.
* Remove extra line.
* Move attribute registry class file.
* Add documentation for attributes
* Rename rspec_extensions.
* Add some failing functional tests.
* Update docs and fix typos.
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-12 16:42:58 -04:00
Chef Expeditor
7351b61f4b
Bump version to 2.2.88 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-12 20:41:28 +00:00
Chef Expeditor
7bce297cd9
Bump version to 2.2.87 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-10 18:41:30 +00:00
Chef Expeditor
4a4ea333af
Bump version to 2.2.86 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-10 18:37:57 +00:00
Christoph Hartmann
0e0b808e9b
enforce utf encoding for cli output ( #3376 )
...
* enforce utf encoding for cli output
* add profile with wrong character set
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-09-10 14:37:43 -04:00
Chef Expeditor
2afe1bc937
Bump version to 2.2.85 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-10 14:15:29 +00:00
Chef Expeditor
f6ecb4c842
Bump version to 2.2.84 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-07 21:03:36 +00:00
Chef Expeditor
aa9dc7ba2c
Bump version to 2.2.83 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-07 21:00:12 +00:00
Christoph Hartmann
df9036f6e4
inspec compliance: use multipart upload to support upload on windows ( #3369 )
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-09-07 14:25:31 -04:00
Christoph Hartmann
d6110ed162
inspec compliance: ensure we use the mock backend when we upload profiles ( #3370 )
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-09-07 14:19:06 -04:00
Chef Expeditor
541b20599d
Bump version to 2.2.82 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-07 18:08:09 +00:00
Christoph Hartmann
0c0ad2e5b2
inspec-compliance - do not show success message on failure ( #3366 )
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-09-07 14:07:48 -04:00
Chef Expeditor
9d175279ca
Bump version to 2.2.81 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-07 03:28:21 +00:00
Jerry Aldrich
9d031053ea
Various improvements to vendor command ( #3286 )
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-09-06 23:28:08 -04:00