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
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
Miah Johnson
6e887ff4b7
Update rubyzip to resolve a directory traversal security vulnerability. ( #3388 )
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-09-12 16:41:17 -04: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
Martin Logan
8e780cd912
Fixing AWS integration tests. ( #3374 )
...
Obvious fix.
2018-09-10 14:38:57 -04: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
Jared Quick
30e43c294d
Remove any inspec.lock
file before testing vendoring. ( #3377 )
...
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-10 10:15:16 -04: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
Jared Quick
e876de45d1
Update expeditor to use subscriptions ( #3372 )
...
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-07 12:58:11 -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
Chef Expeditor
7976ea4333
Bump version to 2.2.80 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-06 14:56:36 +00:00
Christoph Hartmann
0cd1c21ade
handle errors from automate report and display them to the user ( #3360 )
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-09-06 10:56:26 -04:00
Chef Expeditor
75719fd933
Bump version to 2.2.79 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-09-05 19:07:42 +00:00
Jared Quick
76b453eee9
Allow target-id passthrough ( #3320 )
...
* Allow uuid passthrough
* Update flag to be target-id.
* Updated to use proper formatting for header.
* Fix empty line after cli banner.
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-05 15:07:34 -04:00
Chef Expeditor
d69791e2bb
Executed .expeditor/update_dockerfile.sh
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-08-30 22:34:05 +00:00
Chef Expeditor
4158c0fec9
Bump version to 2.2.78 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-08-30 21:10:24 +00:00
Miah Johnson
6281629efc
Ran npm update
and then manually added https-proxy-agent
and ( #3343 )
...
`url-parse` with the updated versions to package.json.
Updated lockfile.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-08-30 17:10:10 -04:00
Chef Expeditor
2f1567284c
Bump version to 2.2.77 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-08-30 17:04:30 +00:00
Noel Georgi
34ae5aac40
Add HTTP basic auth for URL based inspec deps ( #3341 )
...
* Add HTTP basic auth for URL based inspec deps
* Add tests
Signed-off-by: Noel Georgi <git@frezbo.com>
2018-08-30 12:57:50 -04:00
Chef Expeditor
d37f6a22f4
Bump version to 2.2.76 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2018-08-30 16:56:21 +00:00
Noel Georgi
9b5aaa4f87
Support erb rendering ( #3338 )
...
* Support erb rendering
Fixes: https://github.com/inspec/inspec/issues/3337
* Add UT's and docs
Signed-off-by: Noel Georgi <git@frezbo.com>
2018-08-30 12:56:06 -04:00