Clinton Wolfe
4f341acfbc
Catch cloud exceptions and document connection info ( #2636 )
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-14 14:15:20 -05:00
Clinton Wolfe
f7a11ee2df
Merge branch 'aws-merge-prep' into aws-merge
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-07 09:53:21 -05:00
Sebastian Gumprich
3fb671e969
fix typo in readme ( #2484 )
...
Obvious fix.
2018-01-29 13:28:28 -05:00
Aaron Lippold
deb3f2c121
README clarifications about creating a profile that relies on the inspec-aws resource pack ( #153 )
...
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2018-01-22 23:03:06 -05:00
Clinton Wolfe
c75252ae1c
Rework Integration Testing to Support Multiple Accounts ( #128 )
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2017-12-15 01:37:36 -05:00
Chris Redekop
58b5eed035
Add AWS_SESSION_TOKEN ( #107 )
...
* Add AWS_SESSION_TOKEN
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* Update README to include session-token env var
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-10-30 18:39:38 +01:00
Chris Redekop
c8d4244ef4
Add has_roles to aws_ec2_instance ( #90 )
...
* Rename EC2-instance resources
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* Add interim updates
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* testing for issue 82
Signed-off-by: Simon Varlow <simon.varlow@d2l.com>
* completed integration for EC2 roles
Signed-off-by: Simon Varlow <simon.varlow@d2l.com>
* adding in the beginning of the unit test for issue 82
Signed-off-by: Simon Varlow <simon.varlow@d2l.com>
* Fix unit tests
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* Add has_roles? examples
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* Remove redundant gsub
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* corrected OpenStruct format
Signed-off-by: Simon Varlow <simon.varlow@d2l.com>
* setting up variable for InstanceProfile
Signed-off-by: Simon Varlow <simon.varlow@d2l.com>
* Updated the unit test so all variables are at the top
Signed-off-by: Simon Varlow <simon.varlow@d2l.com>
* Fixed Rubocop issues that were detected
Signed-off-by: Simon Varlow <simon.varlow@d2l.com>
* Updating README.md to include changes to aws_ec2
Signed-off-by: Simon Varlow <simon.varlow@d2l.com>
* Add failing IT for has_roles?
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* Add negative IT and fix uncovered issue
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* Fix Rubocop issue
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* Fix integration test
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* Fix Rubocop issues and unit tests
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
* Pin AWS dependency to '~> 2'
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-10-26 15:56:32 -04:00
Jerry Aldrich III
9bbb439467
Add support for ENV['AWS_REGION']
( #92 )
...
The `aws-sdk` will raise an error mentioning `ENV['AWS_REGION']` if you
omit `ENV['AWS_DEFAULT_REGION']`. This adds support for either via `||`.
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2017-10-11 01:20:25 +01:00
Nathen Harvey
57578ab67d
README code examples are copy-paste-able. ( #86 )
...
The resource is `aws_ec2`, not `ec2`
Instance IDs must be passed to the `aws_ec2` resource, not machine names
Signed-off-by: Nathen Harvey <nharvey@chef.io>
2017-10-08 14:27:42 +02:00
Adam Leff
8b8d240fe6
Remove test/resources directory, update README ( #2124 )
...
* Remove test/resources directory, update README
The test/resources directory is stale and no longer used. Rather, we
favor Test Kitchen-backed integration tests in test/integration.
This change removes the stale tests and updates the README accordingly.
Signed-off-by: Adam Leff <adam@leff.co>
* Remove resources tests from travis
Signed-off-by: Adam Leff <adam@leff.co>
2017-09-06 12:05:25 +02:00
Jerry Aldrich III
0bce385836
Change ec2(
to aws_ec2(
in README.md ( #87 )
...
Signed-off-by: jerry <jerry@chef.io>
2017-09-05 12:40:01 -04:00
Christoph Hartmann
f8675c3559
update readme with available resources ( #84 )
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-08-16 09:39:58 -04:00
Tor Magnus Rakvåg
61a8675417
clarify PowerShell requirement ( #1989 )
...
Signed-off-by: Tor Magnus Rakvag <tm@intility.no>
2017-07-05 21:28:20 +02:00
Christoph Hartmann
faa2840c1f
update readme
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-05-22 18:49:27 -05:00
Miles
69434fec48
Use terraform environments to avoid integration test collisions
...
* When running integration tests with Rakefile use terraform environment based on environment variable INSPEC_TERRAFORM_ENV
** If INSPEC_TERRAFORM_ENV is not provided, a random string will be used
* Use terraform environment as a namespace for AWS artifacts
* Use attribute file for inspec to be aware of the terraform environment used
Signed-off-by: Miles Tjandrawidjaja <miles@tjandrawidjaja.com>
2017-05-06 14:14:53 -04: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
Dominik Richter
ec05c16797
reference docs to other tools in readme
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2017-04-25 15:44:33 +02:00
Eugenio Marzo
55729c81aa
fix README.md
2017-04-03 14:30:20 +02:00
sfreeman
d9221bb925
Add ability to choose a user by username
...
Add has MFA enabled member
Add "has console password" member
Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>
2017-03-15 15:49:13 -04:00
Christoph Hartmann
7437a2b00f
update readme for install scripts
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-03-07 19:25:25 +01:00
Chris Redekop
ee6fbe6ac1
Update README to match Rakefile
...
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-22 14:16:58 +00:00
Viktor Yakovlyev
88f6e5f716
update readme with new integration test behaviour
...
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 15:28:30 -05:00
Christoph Hartmann
1117020d52
update readme
2017-02-14 18:38:19 +01:00
Christopher Redekop
e3d3204b2a
Add a us-east-1 note to the README
...
Signed-off-by: Christopher Redekop <chris.redekop@d2l.com>
2017-01-24 21:51:10 +01:00
Christoph Hartmann
a55b341b32
use terraform + inspec for integration testing
2017-01-24 21:51:10 +01:00
Christopher Redekop
66c7f2cb1f
Fixes #3 - Add AWS_DEFAULT_REGION to the README
...
Signed-off-by: Christopher Redekop <chris.redekop@d2l.com>
2017-01-16 12:50:17 -05:00
Christoph Hartmann
46b65ba490
initial commit
2016-12-15 09:53:01 +01:00
Christoph Hartmann
94df9c8192
add windows 10 and windows 2016 as supported platform
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-12-12 10:58:33 +01:00
Alex Pop
aea77880c3
use train 0.22.0 for SSH agent support
...
Signed-off-by: Alex Pop <apop@chef.io>
2016-12-02 16:34:46 +00:00
Christoph Hartmann
825854d982
Use Slack Badge instead of Gitter badge
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-10-28 10:45:15 +02:00
Chris Wessells
64b3461070
Accessing nested mappings in a yam file ( #1242 )
...
* While working with mongod.conf file I spent hours trying to figure out how to access nested mappings. When I read the code it used keys.shift to traverse the yaml object. I tried changing to an array and voila I was able to access nested mappings. I wanted to document my findngs and suggest an update to inspec.io but couldn't find a place to contact someone for the suggestion.
* Added additional details regarding the formatting of the example.
Signed-off-by: Chris Wessells <cwessells@silvervue.com>
2016-10-25 22:33:23 +02:00
Christoph Hartmann
774386047f
update contributing.md to reflect new DCO process and remove content available at our website
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-10-17 13:33:46 +02:00
Dave Parfitt
5231a0dc43
move Inspec Habitat package to chef/inspec.
...
NOTE: The existing `core/inspec` package (version 0.27.0) cannot be removed
from the public Habitat depot.
2016-10-12 15:03:24 -04:00
Morley, Jonathan
efc7eba050
Add shell options
2016-09-30 15:18:14 -04:00
Dominik Richter
b085151166
fix outdated link in readme
...
Kudos @rhass for finding this!
Fixes https://github.com/chef/inspec/issues/1136
2016-09-26 12:24:01 +02:00
Dominik Richter
c2e834b9f4
fix table formatting in readme
2016-09-07 17:36:58 +02:00
Dominik Richter
2e03665f1f
remove old delivery tests
...
our open source projects dont use these right now. Git history retains all information, so it is easy to restore it once we can use workflow again.
2016-09-07 17:15:20 +02:00
Dominik Richter
01ae5d8a36
add inspec health graphs
2016-09-07 16:39:43 +02:00
Christoph Hartmann
f15c0fefd4
fix cli link to docs
2016-08-31 15:54:28 +02:00
Victoria Jeffrey
8bb791c12f
document OR feature
2016-08-21 19:01:59 -04:00
Christoph Hartmann
bb5fb617d5
harmonize cookbooks for integration tests, update docs, remove i386 in vagrant
2016-08-05 10:52:03 +02:00
Anirudh Gupta
f9e5b2a4ca
remote target supported OS also includes hp-ux
2016-08-05 12:59:36 +05:30
Victoria Jeffrey
987a0d5b35
Add supported OS list to readme
2016-08-02 11:57:03 -04:00
Steven Danna
eba0344de1
Update README with correct directions for integration tests
2016-08-02 13:59:06 +02:00
Christoph Hartmann
aa70b7cd16
add air gap environment post from @jeremymv2
2016-07-25 10:16:32 +02:00
Annie Hedgpeth
03f4b4d97c
Added two InSpec Tutorial blog posts
2016-07-18 20:06:44 -05:00
Annie Hedgpeth
a874659265
Update readme with Annie's Tutorial Day 5
2016-06-07 21:34:54 -05:00
Christoph Hartmann
adb254ff72
update readme
2016-05-30 23:40:27 +02:00
Jeremy J. Miller
9795879628
add sudo_command option
2016-05-15 07:22:18 -04:00
Dominik Richter
091d1ec02d
add requirements for gem installation to readme
...
Fixes https://github.com/chef/inspec/issues/641
Fixes https://github.com/chef/inspec/issues/653
2016-04-17 18:02:55 -04:00
Christoph Hartmann
971725dd68
add usage instructions for inspec container
2016-04-16 20:07:33 -04:00
Victoria Jeffrey
f9e7d530dd
Add -i to ssh example, link to cli options
2016-04-13 16:11:19 -04:00
Nathen Harvey
689c06b868
Encourage sharing of profiles
...
Add a section about sharing and browsing profiles on the Supermarket.
Perhaps this will encourage more collaboration there.
2016-04-07 20:48:59 -04:00
Christoph Hartmann
52f7af8261
add travis and appveyor badges
2016-04-06 12:58:17 +02:00
Aaron Lippold
e846385866
Updated documentation and examples to include tags and references
2016-03-27 12:40:34 -04:00
The Gitter Badger
f9991bea02
Add Gitter badge
2016-03-10 00:39:24 +00:00
Christoph Hartmann
52ed18f9d5
update ec2 kitchen yml
2016-01-29 13:20:39 +01:00
Christoph Hartmann
991b61fa91
update readme
2016-01-21 13:36:21 +01:00
Michael Lewis
63bb8160a3
Update README links to the examples directory
2016-01-20 12:01:04 -08:00
Christoph Hartmann
b1d6906d16
update readme for aws integration tests
2016-01-04 03:45:58 +01:00
Stephan Renatus
8532dd7034
[resource/port] change attribute names to plural, indicating arrays
...
see discussion in #256
2015-12-08 20:33:36 +01:00
Christoph Hartmann
640eba852b
add doc for single unit test
2015-12-07 08:48:07 +01:00
Julian C. Dunn
73a3c90998
fix small grammar error
2015-12-04 11:29:48 -05:00
Christoph Hartmann
c4dcd17f82
Remove description of custom resource
...
- will be superseded by compliance profiles
2015-11-30 19:49:54 +01:00
Christoph Hartmann
c4770d4ab0
update install instructions and add notes for windows builds
2015-11-23 14:03:50 +01:00
JJ Asghar
232da2dbef
Update README.md
...
Added the rubygems installation to the README
2015-11-06 10:27:27 -06:00
Dominik Richter
a011e2e122
add a tiny sudo example to the readme
2015-11-06 01:38:55 +01:00
Christoph Hartmann
5bab5b8737
Add test-kitchen example reference to readme
2015-11-05 18:27:48 +01:00
jcreedcmu
ec4065bf5d
Add version to resource declaration
...
I believe this is necessary, and looking through the git history it seems like it's been necessary for some time.
2015-11-05 10:16:11 -05:00
Exame
8cecd97ab5
Use same language as site in Readme
2015-11-03 09:30:29 -08:00
Exame
2aad26a433
Massively improve README
2015-11-03 09:15:09 -08:00
Christoph Hartmann
e8f51995d7
update table style
2015-11-03 08:55:36 +00:00
James Casey
36cf960cec
Apache 2.0 LICENSE
2015-11-03 08:25:24 +00:00
Dominik Richter
4612771b10
thank you serverspec!
2015-11-02 14:56:14 +01:00
Christoph Hartmann
fa289dd1f1
add description for integration tests
2015-10-30 15:20:45 +01:00
jcreedcmu
9336aff661
Forgot one more bundle exec
2015-10-30 15:20:45 +01:00
jcreedcmu
08b816681c
Update README.md
...
Not sure if some of the warning/description I'm leaving in this section still apply to these tests, or whether they apply to tests that will go in https://github.com/chef/inspec/tree/master/test/integration in the future.
2015-10-30 15:20:45 +01:00
Nathen Harvey
01af426101
Minor wording changes
2015-10-29 11:42:22 -04:00
Nathen Harvey
68e7b0a59c
'InSpec' uses consistent capitalization
2015-10-29 08:01:00 -04:00
Dominik Richter
4f187360f1
minor adjustments to readme
2015-10-27 02:16:32 +01:00
Christoph Hartmann
142976eade
update readme
2015-10-27 01:01:42 +01:00
Dominik Richter
b58a4b3f43
rename vulcanosec -> inspec
2015-10-26 12:34:15 +01:00
Dominik Richter
1076dcbd52
remove os_ prefix from detect json syntax
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-23 10:25:05 +02:00
Dominik Richter
52b65117c1
add detect to readme
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-23 10:08:12 +02:00
Dominik Richter
aea5ef921a
run kitchen test instead of converge
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 15:45:20 +02:00
Christoph Hartmann
a12eac1810
Merge pull request #16 from chef/integration
...
Integration tests for the backend runner
2015-09-22 02:26:59 +02:00
Dominik Richter
72e3fbcb2a
add section on runner tests to readme
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 02:25:52 +02:00
Christoph Hartmann
733c12aa30
improve readme
2015-09-22 02:17:28 +02:00
Dominik Richter
bcf4a9919c
add bundle to readme
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 01:42:27 +02:00
Dominik Richter
0018c7f986
simplify example
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 01:42:27 +02:00
Dominik Richter
9a2349450a
update readme
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 01:42:27 +02:00
Dominik Richter
3013bdcc46
feature: add pry for development consoles
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-06-10 17:40:16 +02:00
Dominik Richter
8d01abeebe
fix readme
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-06-07 21:45:49 +02:00
Dominik Richter
8d7ee71437
initial
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-04-09 17:34:05 +02:00