Commit graph

2381 commits

Author SHA1 Message Date
Chef Expeditor
e34dd65f58 Bump version to 2.1.72 by Chef Expeditor 2018-05-10 18:54:47 +00:00
Clinton Wolfe
af72574b34 Skeletal aws_ec2_instances resource (#3023)
* Add integration and unit tests for aws_ec2_instances
* Basic docs for aws_ec2_instances
* Add basic aws_ec2_instances resource

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-05-10 14:54:33 -04:00
Chef Expeditor
d1bc01f7d2 Bump version to 2.1.71 by Chef Expeditor 2018-05-10 18:49:59 +00:00
Chef Expeditor
cf1030c645 Bump version to 2.1.70 by Chef Expeditor 2018-05-10 17:53:49 +00:00
Jared Quick
08867e2f46 Include the profile dependency data in json reporter - 2.x release (#3033)
* Add depends section back to json profiles.
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-10 13:53:37 -04:00
Chef Expeditor
5d5f85b1a3 Bump version to 2.1.69 by Chef Expeditor 2018-05-09 19:16:01 +00:00
Chef Expeditor
71940514e4 Bump version to 2.1.68 by Chef Expeditor 2018-05-04 16:25:53 +00:00
Jared Quick
dabb1aa142
Fix the A2 vendoring with depends on the A2 server. (#3022)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-04 12:25:40 -04:00
Chef Expeditor
c4444cc1d9 Bump version to 2.1.67 by Chef Expeditor 2018-05-03 18:08:04 +00:00
Jared Quick
54c1ed62f9
Add A2 support for profile compliance depends. (#3014)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-03 14:07:53 -04:00
Jared Quick
7a11c51297
Fix the A2 compliance ssl flag (#3011)
* Fix the A2 compliance ssl flag.
* Add a2 fetcher tests.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-03 14:07:38 -04:00
Chef Expeditor
a905dc8133 Bump version to 2.1.66 by Chef Expeditor 2018-05-03 14:53:55 +00:00
Chef Expeditor
a5a7ddd538 Bump version to 2.1.65 by Chef Expeditor 2018-05-03 14:30:15 +00:00
Miah Johnson
67bbbb6ecf Split inspec into a core gem. (#3008)
* Split inspec into a core gem.
* Include inspec-core.gemspec, not inspec.gemspec.
* Only load aws and azure when the gems are installed.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-05-03 10:30:01 -04:00
Chef Expeditor
dd63d10a10 Bump version to 2.1.64 by Chef Expeditor 2018-05-03 13:57:50 +00:00
Jeremy
1407e681fc #2810 - Add check if aws s3 bucket is encrypted. (#2937)
* Add check if aws s3 bucket is encrypted.
Required terraform aws provider >= 1.6
Fix indentation issue in aws_s3_bucket.rb

* Implement most changes recommended by @TrevorBramble, and refactored other methods to align with recommendations (except Terraform nitpick; preference is to keep coding style consistent until full refactor).

Signed-off-by: Jeremy Phillips <github@uranusbytes.com>
2018-05-03 09:55:29 -04:00
Chef Expeditor
9c7192cb47 Bump version to 2.1.63 by Chef Expeditor 2018-05-03 13:53:30 +00:00
Jerry Aldrich
9e8724ca6e nginx_conf resource: Fix include paths with quotes (#2726)
* nginx_conf resource: Fix include paths with quotes
* Move quote removal to `NginxParser`
* Add parsers/tests for quotes in quotes

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-05-03 09:53:20 -04:00
Chef Expeditor
d4dc1bad69 Bump version to 2.1.62 by Chef Expeditor 2018-05-02 14:20:09 +00:00
James Stocks
b42bfeb77d cmp should recognise a string being a negative int (#3007)
Signed-off-by: James Stocks <jstocks@chef.io>
2018-05-02 10:19:57 -04:00
Chef Expeditor
91a92abf4b Bump version to 2.1.61 by Chef Expeditor 2018-04-29 18:00:24 +00:00
Chef Expeditor
7442804687 Bump version to 2.1.60 by Chef Expeditor 2018-04-27 14:57:25 +00:00
Chef Expeditor
e817dbc7bb Bump version to 2.1.59 by Chef Expeditor 2018-04-26 19:44:28 +00:00
Clinton Wolfe
1a00853cd8
Catch exceptions in control blocks and fail the control (#2987)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-26 15:44:16 -04:00
Chef Expeditor
39f9503915 Bump version to 2.1.58 by Chef Expeditor 2018-04-26 19:10:26 +00:00
Omar J. Irizarry
2495fd8196 extend os_env resource to select between Machine and User vars on Windows (#2945)
Signed-off-by: Omar J Irizarry <irizarry_omar_j@network.lilly.com>
2018-04-26 15:10:14 -04:00
Chef Expeditor
befbf5308c Bump version to 2.1.57 by Chef Expeditor 2018-04-26 16:29:23 +00:00
Christoph Hartmann
6b0c67e485 Fix case where res is nil in etc_group for inspec check (#2984)
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-04-26 12:29:12 -04:00
Chef Expeditor
1466fd3c96 Bump version to 2.1.56 by Chef Expeditor 2018-04-26 15:54:30 +00:00
David Alexander
72925a7145 Makes JSON resource enumerable, despite method_missing magic (#2910)
Signed-off-by: David Alexander <opensource@thelonelyghost.com>
2018-04-26 11:54:16 -04:00
Chef Expeditor
29573f7c37 Bump version to 2.1.55 by Chef Expeditor 2018-04-26 12:53:57 +00:00
Miah Johnson
709647c7c7 The #to_s method should return the @path rather than a hardcoded /etc/shadow. (#2978)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-04-26 08:53:42 -04:00
Chef Expeditor
a3f4833069 Bump version to 2.1.54 by Expeditor 2018-04-19 17:51:21 +00:00
Chef Expeditor
bbaf315ce1 Bump version to 2.1.53 by Expeditor 2018-04-19 17:09:35 +00:00
Clinton Wolfe
8934352935 Make names for AWS Config service objects optional (#2928)
* Update tests and docs to assume one recorder per region
* Config recorder supports singleton fetch
* Docs and tests for singleton mode delivery_channel
* Implementation for singleton delivery channel, and some other code cleanup
* Implement some feedback, and fix a bug in traversing the struct in looking for empty results

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-19 13:08:16 -04:00
Chef Expeditor
3ef40016cc Bump version to 2.1.52 by Expeditor 2018-04-19 17:06:29 +00:00
Chef Expeditor
6428abfd4e Bump version to 2.1.51 by Expeditor 2018-04-19 17:03:38 +00:00
Jared Quick
33fc15582a
Add A2 support to the inspec-compliance toolset (#2963)
* Add A2 support to the inspec-compliance toolset.
* Add json-config option for login.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-04-19 13:01:54 -04:00
Chef Expeditor
768dde71a7 Bump version to 2.1.50 by Expeditor 2018-04-19 17:00:54 +00:00
Henry Muru Paenga
a9e3b8d8d0 Amazon linux service mgmt detection (#2970)
Signed-off-by: Henry Muru Paenga <meringu@gmail.com>
2018-04-19 13:00:39 -04:00
Chef Expeditor
6d3ffb610d Bump version to 2.1.49 by Expeditor 2018-04-19 16:55:20 +00:00
Chef Expeditor
1a1f973471 Bump version to 2.1.48 by Expeditor 2018-04-17 17:24:41 +00:00
Clinton Wolfe
73b7b6942c
Inline and attached policies for aws_iam_user and aws_iam_users (#2947)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-17 13:22:28 -04:00
Chef Expeditor
a0a10e672c Bump version to 2.1.47 by Expeditor 2018-04-17 17:21:41 +00:00
Clinton Wolfe
146b60556d
Policy statement search: don't stacktrace on missing field (#2962)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-17 13:21:29 -04:00
Chef Expeditor
2e2346ff0c Bump version to 2.1.46 by Expeditor 2018-04-17 15:42:47 +00:00
Chef Expeditor
8426659bf2 Bump version to 2.1.45 by Expeditor 2018-04-16 14:04:13 +00:00
Clinton Wolfe
6853f232fa aws_iam_policy statement search fix for degenerate policies (#2958)
* Bug replication tests, unit and integration
* Fixes statement_count
* Fixes statement_count and have_statement
* rubocop trim whitespace

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-16 10:04:00 -04:00
Chef Expeditor
4931c5ace8 Bump version to 2.1.44 by Expeditor 2018-04-13 21:26:06 +00:00
Nathan Haneysmith
1c58202dbc updating output for aws_iam_role to match other AWS resources (#2960)
Signed-off-by: Nathan Haneysmith <nathan@chef.io>
2018-04-13 17:25:53 -04:00