Commit graph

4940 commits

Author SHA1 Message Date
Noel Georgi
317a6d1953 Adding YAML reporter (#3081)
* Adding YAML reporter
* Updating yaml o/p
* Removing comment
* Adding UT for YAML reporter, adding missing reporters
* This PR takes care of the following:
 - Fixes the YAML reporter UT
 - Adds the report method to YAML reporter to support code example as in #3085
 - Disables the cyclomatic complexity Metric for reporter

Signed-off-by: Noel Georgi <18496730+frezbo@users.noreply.github.com>
2018-05-31 13:42:09 -04:00
Tor Magnus Rakvåg
71ba5018d2 Enhance groups resource with members property (#3029)
* implement members property
* flatten groups entry, extract flatten helper
* lints
* more idiomatic spec, add example of members testing

Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
2018-05-31 13:37:44 -04:00
Tor Magnus Rakvåg
367f91ea31 handle nil properties in iis_site (#3040)
* return nil instead of trying to index into nil
* fix typo
* add spec for deleted site

Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
2018-05-31 13:36:15 -04:00
Julian C. Dunn
1046a77027 Remove unneeded "-a" from the RPM query for performance improvement (#3077)
Signed-off-by: Julian C. Dunn <jdunn@chef.io>
2018-05-31 12:11:41 -04:00
Chef Expeditor
c244ce6319 Update CHANGELOG.md to reflect the promotion of 2.1.83 2018-05-18 15:05:07 +00:00
Chef Expeditor
82e7eba197 Bump version to 2.1.83 by Chef Expeditor 2018-05-18 00:05:16 +00:00
Jared Quick
03e87cd89d
Bup the release to test new gem builds (#3071)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-17 20:05:04 -04:00
Chef Expeditor
e77d96c957 Bump version to 2.1.82 by Chef Expeditor 2018-05-17 21:58:43 +00:00
Jared Quick
08c6e9c6c2
Update ruby required version. (#3070)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-17 17:58:29 -04:00
Chef Expeditor
6f47dca2af Update CHANGELOG.md to reflect the promotion of 2.1.81 2018-05-17 19:25:23 +00:00
Chef Expeditor
02097f2383 Bump version to 2.1.81 by Chef Expeditor 2018-05-17 18:41:09 +00:00
Jared Quick
f7181f3b23
Update inspec for the train azure msi fix. (#3068)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-17 14:40:54 -04:00
Chef Expeditor
008bc31978 Update CHANGELOG.md to reflect the promotion of 2.1.80 2018-05-17 14:27:27 +00:00
Chef Expeditor
c2d7caa9c6 Bump version to 2.1.80 by Chef Expeditor 2018-05-17 13:33:05 +00:00
Jared Quick
8a45257a63
Bump train pin. (#3065)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-17 09:31:19 -04:00
Chef Expeditor
72ac8ea8bf Bump version to 2.1.79 by Chef Expeditor 2018-05-17 13:24:52 +00:00
Jared Quick
7e95bb2765 Add job_uuid passthrough for automate report. (#3064)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-17 15:24:38 +02:00
Chef Expeditor
bb375a7601 Update CHANGELOG.md to reflect the promotion of 2.1.78 2018-05-16 20:32:24 +00:00
Chef Expeditor
19f2c45bf8 Bump version to 2.1.78 by Chef Expeditor 2018-05-16 19:20:41 +00:00
David McCown
c195af11c3 Adds middleware dependecy for Azure (#3061)
We are adding this depdency until we can integrate our connection into
Train.

Signed-off-by: David McCown <dmccown@chef.io>
2018-05-16 15:20:25 -04:00
Chef Expeditor
a9f5aff7aa Bump version to 2.1.77 by Chef Expeditor 2018-05-16 19:04:42 +00:00
Jared Quick
40e7c1b23f
Add train GCP transport. (#3046)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-16 15:04:23 -04:00
Chef Expeditor
9b44cd933d Bump version to 2.1.76 by Chef Expeditor 2018-05-16 18:07:47 +00:00
Miah Johnson
8b4d365114 Fix node dependency issue for website build (#3049)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-05-16 14:07:34 -04:00
Chef Expeditor
6328f0a9b5 Bump version to 2.1.75 by Chef Expeditor 2018-05-16 17:33:28 +00:00
Jared Quick
da203a258b Add a passthrough for report_uuid in 'automate' reporter (#3057)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-16 13:33:17 -04:00
Chef Expeditor
7ee4177baa Bump version to 2.1.74 by Chef Expeditor 2018-05-16 17:21:33 +00:00
Subramani Ramanathan
2dfad8ad31 Updating Copy To Clipboard for ruby users (#3054)
Signed-off-by: Subramani Ramanathan <subramani95@gmail.com>
2018-05-16 13:19:57 -04:00
Chef Expeditor
f6ccfc9da7 Bump version to 2.1.73 by Chef Expeditor 2018-05-16 17:17:08 +00:00
Clinton Wolfe
a765afdbe6 Turns out we were deleting the hash args in the validation loop without dup'ing (#3044)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-05-16 13:16:57 -04:00
Miah Johnson
e2fe18028d true should not be a string. (#3043)
Fixes https://github.com/chef/inspec/issues/2786

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-05-16 08:53:37 -04:00
Chef Expeditor
ce384937ec Update CHANGELOG.md to reflect the promotion of 2.1.72 2018-05-10 20:17:18 +00:00
Miah Johnson
988eb9749b AWS resource permission docs (#3036)
* Add documentation about required IAM permissions to AWS Resources.
* Change phrasing.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-05-10 14:57:53 -04:00
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
pete higgins
045671703e Add git dependency to habitat plan. (#3037)
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
2018-05-10 14:49:44 -04: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
Tor Magnus Rakvåg
ce70c13011 Typo in integration test (#3028)
Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
2018-05-09 15:15:48 -04:00
Chef Expeditor
1834284437 Update CHANGELOG.md to reflect the promotion of 2.1.68 2018-05-04 16:47:56 +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
92bb4fd3ee Update CHANGELOG.md to reflect the promotion of 2.1.67 2018-05-03 19:06:48 +00: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
Jared Quick
bcec1e4dc5
Add inspec-core gem to expeditor. (#3018)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-03 10:53:43 -04:00