Commit graph

7675 commits

Author SHA1 Message Date
Christoph Hartmann
e3cc942f60 bugfix: always return false instead of nil in case a service could not be determined 2015-10-21 20:54:46 +02:00
Christoph Hartmann
3d2bca2eaf add centos support to service resource 2015-10-21 20:54:46 +02:00
Christoph Hartmann
571de7fc68 fix typos in os skip message 2015-10-21 20:54:46 +02:00
Christoph Hartmann
17279f9ef8 add centos support 2015-10-21 20:54:46 +02:00
chef-delivery
5e93510e55 Merge pull request #127 from chef/descriptions
Merged change 02aee93e-1dd8-4c78-8d65-133884d5a808

From review branch descriptions into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-21 11:53:55 -07:00
Christoph Hartmann
20bbb4c960 add more usage headers 2015-10-21 19:30:01 +02:00
chef-delivery
ca2516b34b Merge pull request #126 from chef/test-kitchen-example
Merged change c2162591-2902-41c6-be20-a5dc6df40dc1

From review branch test-kitchen-example into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-21 04:05:31 -07:00
Christoph Hartmann
dbd9c5e5af simplify os tests 2015-10-21 13:00:08 +02:00
Christoph Hartmann
ca92e29575 add test-kitchen example 2015-10-21 12:56:45 +02:00
chef-delivery
44e8c0db54 Merge pull request #124 from chef/jscott/fixheaders
Merged change 36875a1d-7301-41a3-b750-a56250cc3bc9

From review branch jscott/fixheaders into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-21 02:16:33 -07:00
jamescott
669245bf8f edit 2015-10-20 17:39:48 -07:00
jamescott
0dbcf0e282 add group_policy resource 2015-10-20 17:36:10 -07:00
jamescott
e26ed7e83b add group resource 2015-10-20 17:20:47 -07:00
jamescott
6ed5b7badd add etc_group resource 2015-10-20 16:51:48 -07:00
jamescott
d0a9438224 add CSV resource 2015-10-20 15:02:57 -07:00
jamescott
95559e7326 fix the header structure 2015-10-20 14:16:47 -07:00
chef-delivery
6deea7aa5d Merge pull request #123 from chef/jscott/moreresourceupdates
Merged change a34577c9-0da9-40a3-88e0-124beaefdf35

From review branch jscott/moreresourceupdates into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-20 14:07:59 -07:00
jamescott
bd2d256726 add resources, sync matcher patterns 2015-10-20 14:04:07 -07:00
chef-delivery
9cf88704a2 Merge pull request #114 from chef/yum
Merged change be4bf782-7059-4cfe-96a4-63ba968c4a31

From review branch yum into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-20 11:17:28 -07:00
Christoph Hartmann
035e39ee8c simplify yum implementation 2015-10-20 19:57:00 +02:00
chef-delivery
abe3b475eb Merge pull request #122 from chef/docs
Merged change fb1bd6f8-eca2-43fa-8cbb-f042c03721ee

From review branch docs into master

Signed-off-by: drichter <drichter@chef.io>
2015-10-20 10:55:09 -07:00
Christoph Hartmann
a48baf4ebd move markdown docs to rst 2015-10-20 18:52:34 +02:00
chef-delivery
b2ea57f508 Merge pull request #118 from chef/jscott/audit-resources-rst
Merged change 11691610-a092-48be-a09f-3a272dde3e50

From review branch jscott/audit-resources-rst into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-20 09:08:34 -07:00
jamescott
57e1abda10 update count and usernames matcher 2015-10-20 17:57:37 +02:00
jamescott
1a42e3fd19 add example to ntp_conf 2015-10-20 17:57:37 +02:00
jamescott
0ebcc5c5a6 add examples to audit_daemon_conf 2015-10-20 17:57:37 +02:00
jamescott
4e83383d84 add apache_conf and iptables
iptables only added to list of resources in intro
2015-10-20 17:57:36 +02:00
jamescott
6a655e14df ssh => sshd 2015-10-20 17:57:36 +02:00
jamescott
a170927e3b add more "done" resources 2015-10-20 17:57:36 +02:00
Christoph Hartmann
423bb09044 extend doc for service resource 2015-10-20 17:57:36 +02:00
Christoph Hartmann
2c2f396510 add doc for npm resource 2015-10-20 17:57:36 +02:00
Christoph Hartmann
9a600b8ffd add doc for gem resource 2015-10-20 17:57:36 +02:00
Christoph Hartmann
40f474d387 add documentation for package resource 2015-10-20 17:57:36 +02:00
Christoph Hartmann
f50c8ac07a rename audit to InSpec 2015-10-20 17:57:36 +02:00
Christoph Hartmann
b2edc2dde3 add apt resource 2015-10-20 17:57:36 +02:00
Christoph Hartmann
3e754e9ddf split resources and template 2015-10-20 17:57:36 +02:00
jamescott
67c10f18a9 add first round of audit resource docs 2015-10-20 17:57:36 +02:00
chef-delivery
eec3650cd4 Merge pull request #119 from chef/delivery
Merged change 0c386fc5-4dd3-4a38-ab3c-921d575605fa

From review branch delivery into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-20 08:44:40 -07:00
Dominik Richter
4b15a7565a delivery: select build node on new fqdn 2015-10-20 15:34:15 +02:00
chef-delivery
cdcf5d348a Merge pull request #117 from chef/expect
Merged change df856458-d108-4404-9bb1-0e4828ef289b

From review branch expect into master

Signed-off-by: chartmann <chartmann@chef.io>
2015-10-19 03:17:07 -07:00
Dominik Richter
cea48ceb5a remove leftover comments 2015-10-19 12:07:14 +02:00
Dominik Richter
ecc04aab7b test: add dsl tests 2015-10-19 10:30:04 +02:00
Dominik Richter
f6aa71d0ed provide better errors on docker_run tests 2015-10-19 10:21:05 +02:00
Dominik Richter
20dae26925 split methods for processing rules and checks after loading 2015-10-19 09:49:40 +02:00
Dominik Richter
08707eb2d2 temporarily attach the dsl to all example objects
TODO: Remove this!! It is very dangerous to do this here. The goal of this is to make the audit DSL available to all describe blocks. Right now, these blocks are executed outside the scope of this run, thus not gaining ony of the DSL pieces. To circumvent this, the full DSL is attached to the examples
2015-10-18 19:50:12 +02:00
Dominik Richter
d66f874e1c feature: support expect keyword in rules 2015-10-18 19:14:22 +02:00
Dominik Richter
f2e955eb37 test: add tests for rule.describe 2015-10-18 19:11:56 +02:00
Dominik Richter
b38adfc6b2 test: add profile context tests 2015-10-18 19:11:56 +02:00
Dominik Richter
2cebd3fc31 allow loading without file and line info
i.e. dynamic loading only
2015-10-18 19:11:56 +02:00
Dominik Richter
c6cc45c28e bugfix: add rspec core dsl to profile context 2015-10-18 19:11:56 +02:00