Commit graph

52 commits

Author SHA1 Message Date
Jerry Aldrich
9616ebf19a Add example profiles for AWS/Azure (#2680)
* Add example AWS profile

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Add example Azure profile

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-18 12:12:44 +01:00
Adam Leff
d77551baf1 Remove rubocop from example Gemfiles (#2341)
The pinned version of Rubocop in some of the TK examples' Gemfiles
was a very old version with known vulnerabilities. Since these are just
examples and have no Rake tasks that rely on them, I removed rubocop
outright from the example Gemfiles.

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-27 19:05:52 +01:00
Kevin Formsma
94c2e8181c Add sensitive flag to resources to restrict logging output (#2017)
* Filter check output based on sensitive flag
-Updated check in formatters to filter check output during failures based on
sensitive metadata flag
-Added functional test of output filtering
-Updated documentation with blerb on usage
* Update output format for sensitive resources

Signed-off-by: Kevin Formsma <kevin.formsma@gmail.com>

* Update color output on new test

Update the color output to match the newly-expected non-color format if there are no tests that match.

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-25 16:21:49 -04:00
Kimberly Garmoe
88ee548551 Fixes typo. (#2047)
Signed-off-by: kgarmoe <kgarmoe@chef.io>
2017-08-17 15:13:44 -04:00
Adam Leff
a6582bea9b Remove any "All Rights Reserved" references (#1969)
* Remove any "All Rights Reserved" references

InSpec is licensed and released under the Apache 2.0 license. This
change removes all reference to legacy code files that still had
any Copyright or License lines referring to "All Rights Reserved".

Signed-off-by: Adam Leff <adam@leff.co>

* fix functional tests

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-06-28 04:14:19 -07:00
Christoph Hartmann
a6ef98c896 verifies that inspec.yml uses licenses in SPDX format
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-05-31 00:21:05 -05:00
Dominik Richter
bac360475f bugfix: dev-sec/ssl-benchmark -> ssl-baseline
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2017-05-09 10:58:07 +02:00
Adam Leff
a1769cc01b
Update inspec.io references in docs/code
The website is now at https://www.inspec.io - updating all inspec.io
references accordingly. :)

Signed-off-by: Adam Leff <adam@leff.co>
2017-04-27 18:05:51 -04:00
Christoph Hartmann
c2d92d8e86 use new devsec baseline
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-01-25 20:22:38 +01:00
Christoph Hartmann
8808c57cae Extend functional tests for vending based on feedback from @alexpop
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-29 23:40:42 +01:00
Christoph Hartmann
fef4f9447b add functional tests
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-11-09 11:49:51 -06:00
Christoph Hartmann
1ff690b0cc update example, how to pass attributes for dependencies 2016-11-04 15:35:08 +01:00
Sean Walberg
d4c887704a Fix broken link in README.md
Link pointed to the right doc but the wrong extension.

Obvious fix.

Signed-off-by: Sean Walberg <sean@ertw.com>
2016-10-20 12:42:15 -04:00
Christoph Hartmann
9eeb5ba8a7 Remove pre-1.0 warning from meta-profile 2016-10-02 18:06:07 +02:00
Steven Danna
8f10ee53c5 Provide inspec.yml shortcut syntax
- Allow users to elide the `name` attributes
- Assume a default source of supermarket

Fixes #1048

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-14 08:46:06 +02:00
Christoph Hartmann
a8a3053a48 rename example to meta-profile 2016-09-12 14:45:40 +02:00
Steven Danna
d8d53b36c1 Add example of corporate profile
This won't work until the git fetcher is merged. It likely also
exhibits other problems related to platform support handling.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-12 09:29:49 +02:00
Dominik Richter
7e569669aa introduce dependency resolution
This commit is the foundation of the dependency resolution as described in https://github.com/chef/inspec/issues/888 .

It currently only works with local dependencies, as seen in the example inheritance profile.

Tests and full resolution are coming next on the path to an MVP implementation.
2016-08-10 22:41:32 +02:00
Christoph Hartmann
f1faf47112 introduce secrets backend 2016-06-14 02:49:47 +02:00
Christoph Hartmann
c7a49056c4 feature: attribute handling 2016-06-14 02:49:03 +02:00
Alex Pop
9e1c9862bd extended gordon_config with more examples 2016-04-04 14:03:26 +01:00
Christoph Hartmann
7112ebbfec fix errors introduced in #593 2016-03-28 00:48:15 +02:00
Aaron Lippold
e846385866 Updated documentation and examples to include tags and references 2016-03-27 12:40:34 -04:00
Christoph Hartmann
f4180780d1 document tags and refs 2016-03-25 00:58:27 +01:00
Alex Pop
53c7683ff7 update tests based on resource changes 2016-03-24 21:50:51 +01:00
Alex Pop
825702014c update gordon with a bit of ruby and update README 2016-03-24 21:50:47 +01:00
Alex Pop
1dce2037b3 use unix family for wider compatibility 2016-03-24 19:50:52 +00:00
Dominik Richter
76fe4483d4 feature: add tags and refs 2016-03-18 01:42:26 +01:00
Dominik Richter
81c7a6f22e add exmaple inheritance profile 2016-03-08 14:36:09 +01:00
Christoph Hartmann
63792db924 add an simple describe for profile example 2016-02-04 16:26:13 +01:00
Jeff Zohrab
b6ba1ad46c add doc links 2016-01-25 12:44:48 -05:00
rosskusler
db1195ddc8 Update the title of the gordon-1.0 control
The 'title' of the gordon-1.0 control had been copy/pasted from the tmp-1.0 resource.
2016-01-13 23:05:10 -05:00
Dominik Richter
af8e4e93ca add supports keyword to profiles 2015-12-31 17:54:13 +01:00
Christoph Hartmann
73b366b16a Update list of examples 2015-12-30 21:40:57 +01:00
Dominik Richter
84882e851b rename example controls
consistency with RFC readme
2015-12-28 13:06:38 +01:00
Christoph Hartmann
0ab46ff5b1 rename metadata.yml to inspec.yml 2015-12-28 12:53:42 +01:00
Christoph Hartmann
1d4295ee4d remove owner/name restriction 2015-12-28 12:53:42 +01:00
Christoph Hartmann
efeef13d5f feature: add example profile 2015-12-28 12:53:42 +01:00
Christoph Hartmann
c21f50426b update title of examples 2015-12-11 14:57:21 +01:00
Christoph Hartmann
37b8e4c3e4 add readme to examples 2015-12-11 14:57:21 +01:00
Christoph Hartmann
d6e6999b94 remove git references from Gemfile 2015-11-30 15:03:19 +01:00
Alex Pop
3d1473ee8b add kitchen-ansible inspec example 2015-11-30 14:56:33 +01:00
Christoph Hartmann
491fdd0e3a remove git references from Gemfile 2015-11-30 14:12:17 +01:00
Alex Pop
ba584f13fa switch from solo to zero 2015-11-28 08:11:21 +00:00
Alex Pop
ec24f86fb2 berkshelf not needed in Gemfile 2015-11-27 17:25:09 +01:00
Alex Pop
9e12095bd8 add kitchen-puppet example module 2015-11-27 17:20:41 +01:00
Christoph Hartmann
839312156a change test-kitchen example from rule to control 2015-11-13 08:32:05 +01:00
Stephan Renatus
d1e3924abd Rename gem in test-kitchen example
Obvious fix.
2015-11-03 13:38:07 +00:00
Christoph Hartmann
8738687a89 update to new kitchen-inspect 2015-10-26 19:33:53 +01:00
Dominik Richter
b58a4b3f43 rename vulcanosec -> inspec 2015-10-26 12:34:15 +01:00