inspec 0.34.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +323 -6
- data/Gemfile +10 -0
- data/README.md +1 -1
- data/Rakefile +4 -55
- data/docs/.gitignore +2 -0
- data/docs/README.md +40 -0
- data/docs/cli.md +342 -0
- data/docs/dsl_inspec.md +245 -0
- data/docs/dsl_resource.md +93 -0
- data/docs/inspec_and_friends.md +105 -0
- data/docs/matchers.md +136 -0
- data/docs/plugin_kitchen_inspec.html.md +55 -0
- data/docs/profiles.md +285 -0
- data/docs/resources/apache_conf.md.erb +75 -0
- data/docs/resources/apt.md.erb +84 -0
- data/docs/resources/audit_policy.md.erb +61 -0
- data/docs/resources/auditd_conf.md.erb +79 -0
- data/docs/resources/auditd_rules.md.erb +132 -0
- data/docs/resources/bash.md.erb +84 -0
- data/docs/resources/bond.md.erb +97 -0
- data/docs/resources/bridge.md.erb +67 -0
- data/docs/resources/bsd_service.md.erb +76 -0
- data/docs/resources/command.md.erb +151 -0
- data/docs/resources/csv.md.erb +62 -0
- data/docs/resources/directory.md.erb +43 -0
- data/docs/resources/etc_group.md.erb +116 -0
- data/docs/resources/etc_passwd.md.erb +155 -0
- data/docs/resources/etc_shadow.md.erb +149 -0
- data/docs/resources/file.md.erb +460 -0
- data/docs/resources/gem.md.erb +73 -0
- data/docs/resources/group.md.erb +74 -0
- data/docs/resources/grub_conf.md.erb +115 -0
- data/docs/resources/host.md.erb +85 -0
- data/docs/resources/iis_site.md.erb +142 -0
- data/docs/resources/inetd_conf.md.erb +99 -0
- data/docs/resources/ini.md.erb +69 -0
- data/docs/resources/interface.md.erb +66 -0
- data/docs/resources/iptables.md.erb +70 -0
- data/docs/resources/json.md.erb +76 -0
- data/docs/resources/kernel_module.md.erb +60 -0
- data/docs/resources/kernel_parameter.md.erb +72 -0
- data/docs/resources/launchd_service.md.erb +76 -0
- data/docs/resources/limits_conf.md.erb +80 -0
- data/docs/resources/login_def.md.erb +77 -0
- data/docs/resources/mount.md.erb +83 -0
- data/docs/resources/mysql_conf.md.erb +102 -0
- data/docs/resources/mysql_session.md.erb +63 -0
- data/docs/resources/npm.md.erb +75 -0
- data/docs/resources/ntp_conf.md.erb +76 -0
- data/docs/resources/oneget.md.erb +67 -0
- data/docs/resources/os.md.erb +154 -0
- data/docs/resources/os_env.md.erb +98 -0
- data/docs/resources/package.md.erb +115 -0
- data/docs/resources/parse_config.md.erb +122 -0
- data/docs/resources/parse_config_file.md.erb +143 -0
- data/docs/resources/pip.md.erb +74 -0
- data/docs/resources/port.md.erb +150 -0
- data/docs/resources/postgres_conf.md.erb +90 -0
- data/docs/resources/postgres_session.md.erb +75 -0
- data/docs/resources/powershell.md.erb +116 -0
- data/docs/resources/process.md.erb +73 -0
- data/docs/resources/registry_key.md.erb +149 -0
- data/docs/resources/runit_service.md.erb +76 -0
- data/docs/resources/security_policy.md.erb +61 -0
- data/docs/resources/service.md.erb +135 -0
- data/docs/resources/ssh_config.md.erb +94 -0
- data/docs/resources/sshd_config.md.erb +97 -0
- data/docs/resources/ssl.md.erb +133 -0
- data/docs/resources/sys_info.md.erb +55 -0
- data/docs/resources/systemd_service.md.erb +76 -0
- data/docs/resources/sysv_service.md.erb +76 -0
- data/docs/resources/upstart_service.md.erb +76 -0
- data/docs/resources/user.md.erb +154 -0
- data/docs/resources/users.md.erb +140 -0
- data/docs/resources/vbscript.md.erb +69 -0
- data/docs/resources/windows_feature.md.erb +61 -0
- data/docs/resources/wmi.md.erb +95 -0
- data/docs/resources/xinetd_conf.md.erb +170 -0
- data/docs/resources/yaml.md.erb +69 -0
- data/docs/resources/yum.md.erb +103 -0
- data/docs/ruby_usage.md +154 -0
- data/docs/shared/matcher_be.md.erb +1 -0
- data/docs/shared/matcher_cmp.md.erb +45 -0
- data/docs/shared/matcher_eq.md.erb +3 -0
- data/docs/shared/matcher_include.md.erb +1 -0
- data/docs/shared/matcher_match.md.erb +1 -0
- data/docs/shell.md +150 -0
- data/examples/meta-profile/inspec.yml +2 -4
- data/inspec.gemspec +1 -1
- data/lib/bundles/inspec-compliance/api.rb +28 -18
- data/lib/bundles/inspec-compliance/cli.rb +19 -27
- data/lib/bundles/inspec-compliance/target.rb +15 -2
- data/lib/fetchers/git.rb +4 -0
- data/lib/fetchers/local.rb +16 -1
- data/lib/fetchers/mock.rb +4 -0
- data/lib/fetchers/url.rb +46 -20
- data/lib/inspec/base_cli.rb +14 -0
- data/lib/inspec/cached_fetcher.rb +67 -0
- data/lib/inspec/cli.rb +22 -8
- data/lib/inspec/control_eval_context.rb +12 -2
- data/lib/inspec/dependencies/{vendor_index.rb → cache.rb} +5 -4
- data/lib/inspec/dependencies/dependency_set.rb +8 -14
- data/lib/inspec/dependencies/lockfile.rb +5 -13
- data/lib/inspec/dependencies/requirement.rb +31 -41
- data/lib/inspec/dependencies/resolver.rb +3 -3
- data/lib/inspec/dsl.rb +16 -4
- data/lib/inspec/errors.rb +1 -0
- data/lib/inspec/fetcher.rb +25 -1
- data/lib/inspec/objects/each_loop.rb +5 -2
- data/lib/inspec/objects/test.rb +8 -2
- data/lib/inspec/plugins/fetcher.rb +13 -12
- data/lib/inspec/plugins/resource.rb +3 -0
- data/lib/inspec/profile.rb +62 -26
- data/lib/inspec/profile_context.rb +44 -8
- data/lib/inspec/resource.rb +18 -3
- data/lib/inspec/rspec_json_formatter.rb +91 -40
- data/lib/inspec/rule.rb +45 -2
- data/lib/inspec/runner.rb +51 -39
- data/lib/inspec/shell.rb +5 -16
- data/lib/inspec/version.rb +1 -1
- data/lib/resources/apache_conf.rb +1 -1
- data/lib/resources/gem.rb +1 -0
- data/lib/resources/groups.rb +190 -0
- data/lib/resources/oneget.rb +1 -0
- data/lib/resources/os.rb +1 -1
- data/lib/resources/package.rb +3 -1
- data/lib/resources/parse_config.rb +18 -1
- data/lib/resources/pip.rb +1 -1
- data/lib/resources/security_policy.rb +54 -0
- data/lib/resources/ssl.rb +9 -11
- data/lib/resources/sys_info.rb +1 -1
- data/lib/resources/users.rb +81 -64
- metadata +91 -17
- data/docs/cli.rst +0 -442
- data/docs/dsl_inspec.rst +0 -259
- data/docs/dsl_resource.rst +0 -90
- data/docs/inspec_and_friends.rst +0 -85
- data/docs/matchers.rst +0 -137
- data/docs/profiles.rst +0 -169
- data/docs/readme.rst +0 -105
- data/docs/resources.rst +0 -4836
- data/docs/ruby_usage.rst +0 -145
- data/docs/shell.rst +0 -130
- data/docs/template.rst +0 -51
- data/lib/resources/group.rb +0 -137
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c1825c5508e4853cf4bc1446a5b2bd679d9d1be
|
|
4
|
+
data.tar.gz: 6ffbe626a987b38ea03561d8bd18681803d89aaf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4bb3e9f9c6295dcb29e500b134e5b264ac239f8270cb695dd6c28aeefa7fc9b65604e93b9c144f2754536988a8c1220dc31df12add23729fcaea9eabecbd6b11
|
|
7
|
+
data.tar.gz: 5916f874af8a593d5b08e7456bacf42b5ed7c6dadf73b243c4e0d6d675af470f7aa2928abb603da4a32d97c76ded9e1354e6ab05eac61ffd85d4d0030e7fe60f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,185 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [0.
|
|
4
|
-
[Full Changelog](https://github.com/chef/inspec/compare/
|
|
3
|
+
## [1.0.0](https://github.com/chef/inspec/tree/1.0.0) (2016-09-26)
|
|
4
|
+
[Full Changelog](https://github.com/chef/inspec/compare/v1.0.0.beta3...1.0.0)
|
|
5
|
+
|
|
6
|
+
**Implemented enhancements:**
|
|
7
|
+
|
|
8
|
+
- InSpec OS package [\#646](https://github.com/chef/inspec/issues/646)
|
|
9
|
+
- replace wmi win32\_useraccount with adsi users [\#1149](https://github.com/chef/inspec/pull/1149) ([chris-rock](https://github.com/chris-rock))
|
|
10
|
+
|
|
11
|
+
**Fixed bugs:**
|
|
12
|
+
|
|
13
|
+
- README.md has broken link to non-existent file [\#1136](https://github.com/chef/inspec/issues/1136)
|
|
14
|
+
|
|
15
|
+
**Merged pull requests:**
|
|
16
|
+
|
|
17
|
+
- update omnibus images [\#1164](https://github.com/chef/inspec/pull/1164) ([chris-rock](https://github.com/chris-rock))
|
|
18
|
+
- website / tutorial interaction [\#1163](https://github.com/chef/inspec/pull/1163) ([chris-rock](https://github.com/chris-rock))
|
|
19
|
+
- fix buttons on community page [\#1162](https://github.com/chef/inspec/pull/1162) ([arlimus](https://github.com/arlimus))
|
|
20
|
+
- fix alignment of community buttons [\#1161](https://github.com/chef/inspec/pull/1161) ([arlimus](https://github.com/arlimus))
|
|
21
|
+
- Fix require\_controls DSL method [\#1160](https://github.com/chef/inspec/pull/1160) ([stevendanna](https://github.com/stevendanna))
|
|
22
|
+
- Document the require\_resource function [\#1158](https://github.com/chef/inspec/pull/1158) ([stevendanna](https://github.com/stevendanna))
|
|
23
|
+
- fix css in docs search [\#1157](https://github.com/chef/inspec/pull/1157) ([arlimus](https://github.com/arlimus))
|
|
24
|
+
- update www readme for releasing the site [\#1156](https://github.com/chef/inspec/pull/1156) ([arlimus](https://github.com/arlimus))
|
|
25
|
+
- Fix minor typo in sys\_info documentation [\#1155](https://github.com/chef/inspec/pull/1155) ([stevendanna](https://github.com/stevendanna))
|
|
26
|
+
- fix outdated link in readme [\#1154](https://github.com/chef/inspec/pull/1154) ([arlimus](https://github.com/arlimus))
|
|
27
|
+
- fix minor website bugs [\#1153](https://github.com/chef/inspec/pull/1153) ([arlimus](https://github.com/arlimus))
|
|
28
|
+
- clean www before releasing [\#1152](https://github.com/chef/inspec/pull/1152) ([arlimus](https://github.com/arlimus))
|
|
29
|
+
- add docs to the website [\#1151](https://github.com/chef/inspec/pull/1151) ([arlimus](https://github.com/arlimus))
|
|
30
|
+
- return empty array for known privileges [\#1150](https://github.com/chef/inspec/pull/1150) ([chris-rock](https://github.com/chris-rock))
|
|
31
|
+
- Extend example for parse\_config.rb [\#1148](https://github.com/chef/inspec/pull/1148) ([nvtkaszpir](https://github.com/nvtkaszpir))
|
|
32
|
+
- Bump lockfile version to 1.0 [\#1141](https://github.com/chef/inspec/pull/1141) ([stevendanna](https://github.com/stevendanna))
|
|
33
|
+
- Improve error messages from compliance fetcher [\#1126](https://github.com/chef/inspec/pull/1126) ([stevendanna](https://github.com/stevendanna))
|
|
34
|
+
|
|
35
|
+
## [v1.0.0.beta3](https://github.com/chef/inspec/tree/v1.0.0.beta3) (2016-09-25)
|
|
36
|
+
[Full Changelog](https://github.com/chef/inspec/compare/v1.0.0.beta2...v1.0.0.beta3)
|
|
37
|
+
|
|
38
|
+
**Implemented enhancements:**
|
|
39
|
+
|
|
40
|
+
- Improve lockfile handling [\#1070](https://github.com/chef/inspec/issues/1070)
|
|
41
|
+
- Show skip\_message and correct title [\#1109](https://github.com/chef/inspec/pull/1109) ([alexpop](https://github.com/alexpop))
|
|
42
|
+
|
|
43
|
+
**Fixed bugs:**
|
|
44
|
+
|
|
45
|
+
- InSpec CLI output not showing skip message when control title is defined [\#1097](https://github.com/chef/inspec/issues/1097)
|
|
46
|
+
- bugfix: there is one more button to start the online demo [\#1140](https://github.com/chef/inspec/pull/1140) ([arlimus](https://github.com/arlimus))
|
|
47
|
+
|
|
48
|
+
**Closed issues:**
|
|
49
|
+
|
|
50
|
+
- add docs to inspec.io [\#1119](https://github.com/chef/inspec/issues/1119)
|
|
51
|
+
- Cache key for dependencies needs to be based on content hash for urls [\#1066](https://github.com/chef/inspec/issues/1066)
|
|
52
|
+
|
|
53
|
+
**Merged pull requests:**
|
|
54
|
+
|
|
55
|
+
- Enable builds on both Windows and \*nix [\#1145](https://github.com/chef/inspec/pull/1145) ([scotthain](https://github.com/scotthain))
|
|
56
|
+
- Website: Minor edits in preparation for launch [\#1144](https://github.com/chef/inspec/pull/1144) ([magwalk](https://github.com/magwalk))
|
|
57
|
+
- Truncate long filename. Temporary fix [\#1143](https://github.com/chef/inspec/pull/1143) ([stevendanna](https://github.com/stevendanna))
|
|
58
|
+
- add variables to each loops [\#1142](https://github.com/chef/inspec/pull/1142) ([chris-rock](https://github.com/chris-rock))
|
|
59
|
+
- embed tutorial in website [\#1139](https://github.com/chef/inspec/pull/1139) ([arlimus](https://github.com/arlimus))
|
|
60
|
+
- scope all tutorial assets [\#1138](https://github.com/chef/inspec/pull/1138) ([arlimus](https://github.com/arlimus))
|
|
61
|
+
- add build task for online tutorial with all assets [\#1137](https://github.com/chef/inspec/pull/1137) ([arlimus](https://github.com/arlimus))
|
|
62
|
+
- implement filter table for group/groups resource [\#1135](https://github.com/chef/inspec/pull/1135) ([chris-rock](https://github.com/chris-rock))
|
|
63
|
+
- fix minor typos in user resource [\#1134](https://github.com/chef/inspec/pull/1134) ([chris-rock](https://github.com/chris-rock))
|
|
64
|
+
- Website Copy Edits [\#1133](https://github.com/chef/inspec/pull/1133) ([magwalk](https://github.com/magwalk))
|
|
65
|
+
- add build tasks for www [\#1132](https://github.com/chef/inspec/pull/1132) ([arlimus](https://github.com/arlimus))
|
|
66
|
+
- add resources.md doc generation [\#1130](https://github.com/chef/inspec/pull/1130) ([arlimus](https://github.com/arlimus))
|
|
67
|
+
- add all resources to docs [\#1129](https://github.com/chef/inspec/pull/1129) ([arlimus](https://github.com/arlimus))
|
|
68
|
+
- reorder and fix sidebar contents for docs [\#1128](https://github.com/chef/inspec/pull/1128) ([arlimus](https://github.com/arlimus))
|
|
69
|
+
- add ruby usage in inspec as markdown [\#1127](https://github.com/chef/inspec/pull/1127) ([arlimus](https://github.com/arlimus))
|
|
70
|
+
- Add markdown docs [\#1125](https://github.com/chef/inspec/pull/1125) ([arlimus](https://github.com/arlimus))
|
|
71
|
+
- Avoid spurious downloads during dependency management [\#1124](https://github.com/chef/inspec/pull/1124) ([stevendanna](https://github.com/stevendanna))
|
|
72
|
+
- Website Design Fixes [\#1123](https://github.com/chef/inspec/pull/1123) ([magwalk](https://github.com/magwalk))
|
|
73
|
+
|
|
74
|
+
## [v1.0.0.beta2](https://github.com/chef/inspec/tree/v1.0.0.beta2) (2016-09-22)
|
|
75
|
+
[Full Changelog](https://github.com/chef/inspec/compare/v1.0.0.pre.beta1...v1.0.0.beta2)
|
|
76
|
+
|
|
77
|
+
**Implemented enhancements:**
|
|
78
|
+
|
|
79
|
+
- kernel\_parameter does not show fully info when test fails [\#1093](https://github.com/chef/inspec/issues/1093)
|
|
80
|
+
- InSpec html demo [\#851](https://github.com/chef/inspec/issues/851)
|
|
81
|
+
- Counting and status of controls without tests [\#849](https://github.com/chef/inspec/issues/849)
|
|
82
|
+
- supports does not mark resources as skipped [\#354](https://github.com/chef/inspec/issues/354)
|
|
83
|
+
- `include Inspec::DSL` anywhere [\#271](https://github.com/chef/inspec/issues/271)
|
|
84
|
+
- Suse Support [\#113](https://github.com/chef/inspec/issues/113)
|
|
85
|
+
- Update the username and password login method [\#1095](https://github.com/chef/inspec/pull/1095) ([alexpop](https://github.com/alexpop))
|
|
86
|
+
|
|
87
|
+
**Fixed bugs:**
|
|
88
|
+
|
|
89
|
+
- InSpec in Workflow [\#1115](https://github.com/chef/inspec/issues/1115)
|
|
90
|
+
- uninstalled package shows as installed [\#1092](https://github.com/chef/inspec/issues/1092)
|
|
91
|
+
- undefined method `send\_request' for Compliance::API:Class [\#1088](https://github.com/chef/inspec/issues/1088)
|
|
92
|
+
- safari inspec online demo bug! [\#1086](https://github.com/chef/inspec/issues/1086)
|
|
93
|
+
- \[package\] Regression on Windows 2008R2 [\#998](https://github.com/chef/inspec/issues/998)
|
|
94
|
+
- \[script\] Is there a limit on the number of char's within a script block [\#539](https://github.com/chef/inspec/issues/539)
|
|
95
|
+
- Use parenthesis when passing regular expressions [\#1106](https://github.com/chef/inspec/pull/1106) ([alexpop](https://github.com/alexpop))
|
|
96
|
+
- Include code description in the output of failed controls [\#1096](https://github.com/chef/inspec/pull/1096) ([alexpop](https://github.com/alexpop))
|
|
97
|
+
- Update the username and password login method [\#1095](https://github.com/chef/inspec/pull/1095) ([alexpop](https://github.com/alexpop))
|
|
98
|
+
|
|
99
|
+
**Closed issues:**
|
|
100
|
+
|
|
101
|
+
- Package Resource isn't searching 64-bit Registry Hives [\#1100](https://github.com/chef/inspec/issues/1100)
|
|
102
|
+
- demo improvements [\#1089](https://github.com/chef/inspec/issues/1089)
|
|
103
|
+
- Dependencies: All resources are scoped [\#1058](https://github.com/chef/inspec/issues/1058)
|
|
104
|
+
- Improve InSpec tutorial [\#1045](https://github.com/chef/inspec/issues/1045)
|
|
105
|
+
- 1.10.2 has an extra space in pip package output [\#1043](https://github.com/chef/inspec/issues/1043)
|
|
106
|
+
- Follow up to 1013: find\_files\(\) errors still occurring for apache\_conf resource after 0.33.0 upgrade [\#1030](https://github.com/chef/inspec/issues/1030)
|
|
107
|
+
- MVP in-browser inspec demo [\#957](https://github.com/chef/inspec/issues/957)
|
|
108
|
+
- Failing tests in inherited tests are not displayed [\#899](https://github.com/chef/inspec/issues/899)
|
|
109
|
+
|
|
110
|
+
**Merged pull requests:**
|
|
111
|
+
|
|
112
|
+
- Use the gem version for the omnibus package version [\#1122](https://github.com/chef/inspec/pull/1122) ([yzl](https://github.com/yzl))
|
|
113
|
+
- Add legal pages [\#1121](https://github.com/chef/inspec/pull/1121) ([magwalk](https://github.com/magwalk))
|
|
114
|
+
- update docs to markdown [\#1120](https://github.com/chef/inspec/pull/1120) ([arlimus](https://github.com/arlimus))
|
|
115
|
+
- add readme to www-build [\#1118](https://github.com/chef/inspec/pull/1118) ([arlimus](https://github.com/arlimus))
|
|
116
|
+
- Always write lockfiles for local top-level profiles [\#1116](https://github.com/chef/inspec/pull/1116) ([stevendanna](https://github.com/stevendanna))
|
|
117
|
+
- Add `--cache` option to `inspec exec` [\#1113](https://github.com/chef/inspec/pull/1113) ([stevendanna](https://github.com/stevendanna))
|
|
118
|
+
- fix double-space in pip to\_s resource [\#1112](https://github.com/chef/inspec/pull/1112) ([chris-rock](https://github.com/chris-rock))
|
|
119
|
+
- fixes debian package manager and some of the code examples [\#1111](https://github.com/chef/inspec/pull/1111) ([Anirudh-Gupta](https://github.com/Anirudh-Gupta))
|
|
120
|
+
- Add main site footer [\#1110](https://github.com/chef/inspec/pull/1110) ([magwalk](https://github.com/magwalk))
|
|
121
|
+
- Add community and tutorials pages [\#1108](https://github.com/chef/inspec/pull/1108) ([magwalk](https://github.com/magwalk))
|
|
122
|
+
- Add homepage content and styles [\#1107](https://github.com/chef/inspec/pull/1107) ([magwalk](https://github.com/magwalk))
|
|
123
|
+
- Styling setup and main navigation [\#1105](https://github.com/chef/inspec/pull/1105) ([magwalk](https://github.com/magwalk))
|
|
124
|
+
- docs task and rst/md formatter separation [\#1104](https://github.com/chef/inspec/pull/1104) ([arlimus](https://github.com/arlimus))
|
|
125
|
+
- Fail if a remote source content doesn't match lockfile [\#1103](https://github.com/chef/inspec/pull/1103) ([stevendanna](https://github.com/stevendanna))
|
|
126
|
+
- Optimize tutorial [\#1101](https://github.com/chef/inspec/pull/1101) ([chris-rock](https://github.com/chris-rock))
|
|
127
|
+
- Build with master of omnibus [\#1099](https://github.com/chef/inspec/pull/1099) ([yzl](https://github.com/yzl))
|
|
128
|
+
- use Gem::Version instead of a regular expression for a test version bump [\#1098](https://github.com/chef/inspec/pull/1098) ([chris-rock](https://github.com/chris-rock))
|
|
129
|
+
- fix demo instructions [\#1094](https://github.com/chef/inspec/pull/1094) ([vjeffrey](https://github.com/vjeffrey))
|
|
130
|
+
- Allow users to reference resources from dependencies [\#1080](https://github.com/chef/inspec/pull/1080) ([stevendanna](https://github.com/stevendanna))
|
|
131
|
+
- In ApacheConf\#include\_files, check for abs paths [\#1042](https://github.com/chef/inspec/pull/1042) ([davidcpell](https://github.com/davidcpell))
|
|
132
|
+
|
|
133
|
+
## [v1.0.0.pre.beta1](https://github.com/chef/inspec/tree/v1.0.0.pre.beta1) (2016-09-19)
|
|
134
|
+
[Full Changelog](https://github.com/chef/inspec/compare/v0.35.0...v1.0.0.pre.beta1)
|
|
135
|
+
|
|
136
|
+
**Implemented enhancements:**
|
|
137
|
+
|
|
138
|
+
- InSpec output for summary needs to count controls [\#852](https://github.com/chef/inspec/issues/852)
|
|
139
|
+
- ssl resource to use inspec.backend.hostname and require train 0.19.1 [\#1084](https://github.com/chef/inspec/pull/1084) ([alexpop](https://github.com/alexpop))
|
|
140
|
+
- optimize command simulator auto-generation [\#1078](https://github.com/chef/inspec/pull/1078) ([chris-rock](https://github.com/chris-rock))
|
|
141
|
+
|
|
142
|
+
**Closed issues:**
|
|
143
|
+
|
|
144
|
+
- proper scrolling of terminal [\#1053](https://github.com/chef/inspec/issues/1053)
|
|
145
|
+
|
|
146
|
+
**Merged pull requests:**
|
|
147
|
+
|
|
148
|
+
- fix inspec shell handling [\#1090](https://github.com/chef/inspec/pull/1090) ([vjeffrey](https://github.com/vjeffrey))
|
|
149
|
+
- update responses [\#1087](https://github.com/chef/inspec/pull/1087) ([vjeffrey](https://github.com/vjeffrey))
|
|
150
|
+
- print profile summary and test summary [\#1083](https://github.com/chef/inspec/pull/1083) ([vjeffrey](https://github.com/vjeffrey))
|
|
151
|
+
- Fix minor typo in documentation [\#1082](https://github.com/chef/inspec/pull/1082) ([Dispader](https://github.com/Dispader))
|
|
152
|
+
- uglify wepack content, kudos @chris-rock [\#1081](https://github.com/chef/inspec/pull/1081) ([arlimus](https://github.com/arlimus))
|
|
153
|
+
- Static keys in all json [\#811](https://github.com/chef/inspec/pull/811) ([arlimus](https://github.com/arlimus))
|
|
154
|
+
|
|
155
|
+
## [v0.35.0](https://github.com/chef/inspec/tree/v0.35.0) (2016-09-16)
|
|
156
|
+
[Full Changelog](https://github.com/chef/inspec/compare/v0.34.1...v0.35.0)
|
|
157
|
+
|
|
158
|
+
**Fixed bugs:**
|
|
159
|
+
|
|
160
|
+
- resource dsl not loded properly inside describe blocks [\#1074](https://github.com/chef/inspec/issues/1074)
|
|
161
|
+
|
|
162
|
+
**Closed issues:**
|
|
163
|
+
|
|
164
|
+
- online demo: check style of tutorial text [\#1054](https://github.com/chef/inspec/issues/1054)
|
|
165
|
+
- online demo: clear \(linux\) and cls \(windows\) command to clear the terminal [\#1052](https://github.com/chef/inspec/issues/1052)
|
|
166
|
+
- respect inspec.yml supports with include\_controls [\#1049](https://github.com/chef/inspec/issues/1049)
|
|
167
|
+
- Simplify dependency in inspec.yml [\#1048](https://github.com/chef/inspec/issues/1048)
|
|
168
|
+
|
|
169
|
+
**Merged pull requests:**
|
|
170
|
+
|
|
171
|
+
- Process transitive dependencies from lock file [\#1079](https://github.com/chef/inspec/pull/1079) ([stevendanna](https://github.com/stevendanna))
|
|
172
|
+
- Don't gpg-sign commits during tests [\#1077](https://github.com/chef/inspec/pull/1077) ([stevendanna](https://github.com/stevendanna))
|
|
173
|
+
- Ensure resources are visible inside its blocks [\#1076](https://github.com/chef/inspec/pull/1076) ([stevendanna](https://github.com/stevendanna))
|
|
174
|
+
- add gulp build pipeline to online demo [\#1075](https://github.com/chef/inspec/pull/1075) ([arlimus](https://github.com/arlimus))
|
|
175
|
+
- inspec simulator [\#1073](https://github.com/chef/inspec/pull/1073) ([chris-rock](https://github.com/chris-rock))
|
|
176
|
+
- Skip controls from profiles that don't support the current platform [\#1072](https://github.com/chef/inspec/pull/1072) ([stevendanna](https://github.com/stevendanna))
|
|
177
|
+
- add tutorials \(references\) to the site skeleton [\#1068](https://github.com/chef/inspec/pull/1068) ([arlimus](https://github.com/arlimus))
|
|
178
|
+
- Vj/improve demo [\#1065](https://github.com/chef/inspec/pull/1065) ([vjeffrey](https://github.com/vjeffrey))
|
|
179
|
+
- Provide inspec.yml shortcut syntax [\#1064](https://github.com/chef/inspec/pull/1064) ([stevendanna](https://github.com/stevendanna))
|
|
180
|
+
|
|
181
|
+
## [v0.34.1](https://github.com/chef/inspec/tree/v0.34.1) (2016-09-13)
|
|
182
|
+
[Full Changelog](https://github.com/chef/inspec/compare/v0.34.0...v0.34.1)
|
|
5
183
|
|
|
6
184
|
**Fixed bugs:**
|
|
7
185
|
|
|
@@ -254,7 +432,6 @@
|
|
|
254
432
|
**Implemented enhancements:**
|
|
255
433
|
|
|
256
434
|
- port\(\) could convert string parameter to integer [\#867](https://github.com/chef/inspec/issues/867)
|
|
257
|
-
- InSpec output for summary needs to count controls [\#852](https://github.com/chef/inspec/issues/852)
|
|
258
435
|
- add params and content method to parse\_config [\#876](https://github.com/chef/inspec/pull/876) ([chris-rock](https://github.com/chris-rock))
|
|
259
436
|
- Activate centos, debian and oracle linux in our travis tests [\#869](https://github.com/chef/inspec/pull/869) ([chris-rock](https://github.com/chris-rock))
|
|
260
437
|
|
|
@@ -866,7 +1043,6 @@
|
|
|
866
1043
|
|
|
867
1044
|
- 0.15.0 [\#528](https://github.com/chef/inspec/pull/528) ([arlimus](https://github.com/arlimus))
|
|
868
1045
|
- 0.14.9 [\#525](https://github.com/chef/inspec/pull/525) ([arlimus](https://github.com/arlimus))
|
|
869
|
-
- 0.14.8 [\#520](https://github.com/chef/inspec/pull/520) ([arlimus](https://github.com/arlimus))
|
|
870
1046
|
|
|
871
1047
|
## [v0.14.8](https://github.com/chef/inspec/tree/v0.14.8) (2016-03-04)
|
|
872
1048
|
[Full Changelog](https://github.com/chef/inspec/compare/v0.14.7...v0.14.8)
|
|
@@ -877,6 +1053,7 @@
|
|
|
877
1053
|
|
|
878
1054
|
**Merged pull requests:**
|
|
879
1055
|
|
|
1056
|
+
- 0.14.8 [\#520](https://github.com/chef/inspec/pull/520) ([arlimus](https://github.com/arlimus))
|
|
880
1057
|
- expose control impacts in json [\#519](https://github.com/chef/inspec/pull/519) ([arlimus](https://github.com/arlimus))
|
|
881
1058
|
|
|
882
1059
|
## [v0.14.7](https://github.com/chef/inspec/tree/v0.14.7) (2016-03-01)
|
|
@@ -1027,7 +1204,6 @@
|
|
|
1027
1204
|
|
|
1028
1205
|
**Fixed bugs:**
|
|
1029
1206
|
|
|
1030
|
-
- Inspec iptables should have\_rule tests not working [\#420](https://github.com/chef/inspec/issues/420)
|
|
1031
1207
|
- Windows 2008 isn't being detected. [\#346](https://github.com/chef/inspec/issues/346)
|
|
1032
1208
|
- Fix two minor logging and config bugs in CLI [\#452](https://github.com/chef/inspec/pull/452) ([srenatus](https://github.com/srenatus))
|
|
1033
1209
|
- bugfix: verify the target resolver before using it [\#449](https://github.com/chef/inspec/pull/449) ([arlimus](https://github.com/arlimus))
|
|
@@ -1050,6 +1226,7 @@
|
|
|
1050
1226
|
**Fixed bugs:**
|
|
1051
1227
|
|
|
1052
1228
|
- File stats are not always working properly [\#430](https://github.com/chef/inspec/issues/430)
|
|
1229
|
+
- Inspec iptables should have\_rule tests not working [\#420](https://github.com/chef/inspec/issues/420)
|
|
1053
1230
|
- Integration test for apache config [\#406](https://github.com/chef/inspec/issues/406)
|
|
1054
1231
|
- rework auditd\_rules resource [\#312](https://github.com/chef/inspec/issues/312)
|
|
1055
1232
|
- resource/auditd\_rules: update rule list format [\#309](https://github.com/chef/inspec/issues/309)
|
|
@@ -1111,7 +1288,6 @@
|
|
|
1111
1288
|
- ec2 name tag instances for easier cleanup [\#418](https://github.com/chef/inspec/pull/418) ([alexpop](https://github.com/alexpop))
|
|
1112
1289
|
- add an simple describe for profile example [\#416](https://github.com/chef/inspec/pull/416) ([chris-rock](https://github.com/chris-rock))
|
|
1113
1290
|
- enable to configure the logger via cli [\#405](https://github.com/chef/inspec/pull/405) ([chris-rock](https://github.com/chris-rock))
|
|
1114
|
-
- 0.9.11 [\#402](https://github.com/chef/inspec/pull/402) ([chris-rock](https://github.com/chris-rock))
|
|
1115
1291
|
- remove os check exposure in file resource [\#398](https://github.com/chef/inspec/pull/398) ([arlimus](https://github.com/arlimus))
|
|
1116
1292
|
|
|
1117
1293
|
## [v0.9.11](https://github.com/chef/inspec/tree/v0.9.11) (2016-01-29)
|
|
@@ -1131,6 +1307,7 @@
|
|
|
1131
1307
|
|
|
1132
1308
|
**Merged pull requests:**
|
|
1133
1309
|
|
|
1310
|
+
- 0.9.11 [\#402](https://github.com/chef/inspec/pull/402) ([chris-rock](https://github.com/chris-rock))
|
|
1134
1311
|
- Readme fixes [\#390](https://github.com/chef/inspec/pull/390) ([jzohrab](https://github.com/jzohrab))
|
|
1135
1312
|
|
|
1136
1313
|
## [v0.9.10](https://github.com/chef/inspec/tree/v0.9.10) (2016-01-25)
|
|
@@ -1380,6 +1557,8 @@
|
|
|
1380
1557
|
- Not using git in the gemspec file [\#217](https://github.com/chef/inspec/pull/217) ([tyler-ball](https://github.com/tyler-ball))
|
|
1381
1558
|
- Updating Gemfile grouped dependencies to match what is already in the ChefDK [\#216](https://github.com/chef/inspec/pull/216) ([tyler-ball](https://github.com/tyler-ball))
|
|
1382
1559
|
- Fix contain / should match confusion [\#214](https://github.com/chef/inspec/pull/214) ([zmalone](https://github.com/zmalone))
|
|
1560
|
+
- Fix doc typos [\#213](https://github.com/chef/inspec/pull/213) ([juliandunn](https://github.com/juliandunn))
|
|
1561
|
+
- Add test-kitchen example reference to readme [\#212](https://github.com/chef/inspec/pull/212) ([chris-rock](https://github.com/chris-rock))
|
|
1383
1562
|
- Massively improve README [\#208](https://github.com/chef/inspec/pull/208) ([echohack](https://github.com/echohack))
|
|
1384
1563
|
|
|
1385
1564
|
## [0.9.1](https://github.com/chef/inspec/tree/0.9.1) (2015-11-04)
|
|
@@ -1415,7 +1594,10 @@
|
|
|
1415
1594
|
|
|
1416
1595
|
**Merged pull requests:**
|
|
1417
1596
|
|
|
1597
|
+
- 0.9.0 [\#200](https://github.com/chef/inspec/pull/200) ([arlimus](https://github.com/arlimus))
|
|
1598
|
+
- bugfix: dont skip controls during json generation [\#199](https://github.com/chef/inspec/pull/199) ([arlimus](https://github.com/arlimus))
|
|
1418
1599
|
- Fix typo and warning in command exist? check [\#198](https://github.com/chef/inspec/pull/198) ([arlimus](https://github.com/arlimus))
|
|
1600
|
+
- rename rule to control [\#197](https://github.com/chef/inspec/pull/197) ([chris-rock](https://github.com/chris-rock))
|
|
1419
1601
|
- improvement: fail properly if os is not supported [\#196](https://github.com/chef/inspec/pull/196) ([chris-rock](https://github.com/chris-rock))
|
|
1420
1602
|
- bugfix: relax fail for command.exist? for inspec check command [\#195](https://github.com/chef/inspec/pull/195) ([chris-rock](https://github.com/chris-rock))
|
|
1421
1603
|
- api: introduce control keyword [\#194](https://github.com/chef/inspec/pull/194) ([arlimus](https://github.com/arlimus))
|
|
@@ -1426,6 +1608,7 @@
|
|
|
1426
1608
|
- formatting, mostly ... also package =\> oneget [\#189](https://github.com/chef/inspec/pull/189) ([jamescott](https://github.com/jamescott))
|
|
1427
1609
|
- bugfix: ignore delivery when building the gem [\#186](https://github.com/chef/inspec/pull/186) ([arlimus](https://github.com/arlimus))
|
|
1428
1610
|
- api: change `--disable-sudo` to `--sudo` [\#185](https://github.com/chef/inspec/pull/185) ([arlimus](https://github.com/arlimus))
|
|
1611
|
+
- use new internal structure for inspect check [\#184](https://github.com/chef/inspec/pull/184) ([chris-rock](https://github.com/chris-rock))
|
|
1429
1612
|
- remove dup method users, use usernames, fix example [\#183](https://github.com/chef/inspec/pull/183) ([chris-rock](https://github.com/chris-rock))
|
|
1430
1613
|
- Update docs [\#181](https://github.com/chef/inspec/pull/181) ([chris-rock](https://github.com/chris-rock))
|
|
1431
1614
|
- do not expose stderr method via os\_env [\#179](https://github.com/chef/inspec/pull/179) ([chris-rock](https://github.com/chris-rock))
|
|
@@ -1440,8 +1623,34 @@
|
|
|
1440
1623
|
- add draft version of InSpec DSL topic [\#165](https://github.com/chef/inspec/pull/165) ([jamescott](https://github.com/jamescott))
|
|
1441
1624
|
- sync words [\#164](https://github.com/chef/inspec/pull/164) ([jamescott](https://github.com/jamescott))
|
|
1442
1625
|
- Improve docs [\#163](https://github.com/chef/inspec/pull/163) ([chris-rock](https://github.com/chris-rock))
|
|
1626
|
+
- Don't resolve `send` calls with dot-notation [\#162](https://github.com/chef/inspec/pull/162) ([arlimus](https://github.com/arlimus))
|
|
1627
|
+
- Align profile structure [\#161](https://github.com/chef/inspec/pull/161) ([arlimus](https://github.com/arlimus))
|
|
1443
1628
|
- update docs [\#160](https://github.com/chef/inspec/pull/160) ([chris-rock](https://github.com/chris-rock))
|
|
1444
1629
|
- resource =\> audit resource [\#159](https://github.com/chef/inspec/pull/159) ([jamescott](https://github.com/jamescott))
|
|
1630
|
+
- update readme [\#158](https://github.com/chef/inspec/pull/158) ([chris-rock](https://github.com/chris-rock))
|
|
1631
|
+
- add apache base config [\#157](https://github.com/chef/inspec/pull/157) ([chris-rock](https://github.com/chris-rock))
|
|
1632
|
+
- update to new kitchen-inspect [\#156](https://github.com/chef/inspec/pull/156) ([chris-rock](https://github.com/chris-rock))
|
|
1633
|
+
- consistently set an empty logger in non-verbose mode [\#155](https://github.com/chef/inspec/pull/155) ([arlimus](https://github.com/arlimus))
|
|
1634
|
+
- update query syntax [\#154](https://github.com/chef/inspec/pull/154) ([jamescott](https://github.com/jamescott))
|
|
1635
|
+
- bugfixes for json dummy module [\#153](https://github.com/chef/inspec/pull/153) ([arlimus](https://github.com/arlimus))
|
|
1636
|
+
- bugfix: correctly remove prefix from folder [\#152](https://github.com/chef/inspec/pull/152) ([arlimus](https://github.com/arlimus))
|
|
1637
|
+
- Rename vulcanosec -\> inspec [\#151](https://github.com/chef/inspec/pull/151) ([arlimus](https://github.com/arlimus))
|
|
1638
|
+
- feature: bring back profile check [\#150](https://github.com/chef/inspec/pull/150) ([arlimus](https://github.com/arlimus))
|
|
1639
|
+
- Metadata [\#149](https://github.com/chef/inspec/pull/149) ([arlimus](https://github.com/arlimus))
|
|
1640
|
+
- ignore local bundle config [\#148](https://github.com/chef/inspec/pull/148) ([arlimus](https://github.com/arlimus))
|
|
1641
|
+
- simplify auditd name [\#147](https://github.com/chef/inspec/pull/147) ([chris-rock](https://github.com/chris-rock))
|
|
1642
|
+
- Json [\#146](https://github.com/chef/inspec/pull/146) ([arlimus](https://github.com/arlimus))
|
|
1643
|
+
- bugfix: delivery only build necessary gems [\#145](https://github.com/chef/inspec/pull/145) ([arlimus](https://github.com/arlimus))
|
|
1644
|
+
- fix travis builds for 1.9.3 [\#144](https://github.com/chef/inspec/pull/144) ([arlimus](https://github.com/arlimus))
|
|
1645
|
+
- more integration tests [\#143](https://github.com/chef/inspec/pull/143) ([chris-rock](https://github.com/chris-rock))
|
|
1646
|
+
- json =\> exec [\#141](https://github.com/chef/inspec/pull/141) ([jamescott](https://github.com/jamescott))
|
|
1647
|
+
- add InSpec CLI reference topic [\#140](https://github.com/chef/inspec/pull/140) ([jamescott](https://github.com/jamescott))
|
|
1648
|
+
- encryptiong =\> encryption [\#139](https://github.com/chef/inspec/pull/139) ([jamescott](https://github.com/jamescott))
|
|
1649
|
+
- edit out words [\#138](https://github.com/chef/inspec/pull/138) ([jamescott](https://github.com/jamescott))
|
|
1650
|
+
- remove old docs file [\#136](https://github.com/chef/inspec/pull/136) ([chris-rock](https://github.com/chris-rock))
|
|
1651
|
+
- Integration tests [\#135](https://github.com/chef/inspec/pull/135) ([chris-rock](https://github.com/chris-rock))
|
|
1652
|
+
- add audit\_policy resource [\#134](https://github.com/chef/inspec/pull/134) ([jamescott](https://github.com/jamescott))
|
|
1653
|
+
- add file resource + lots of matchers [\#132](https://github.com/chef/inspec/pull/132) ([jamescott](https://github.com/jamescott))
|
|
1445
1654
|
|
|
1446
1655
|
## [0.8.0](https://github.com/chef/inspec/tree/0.8.0) (2015-10-21)
|
|
1447
1656
|
[Full Changelog](https://github.com/chef/inspec/compare/0.7.0...0.8.0)
|
|
@@ -1464,6 +1673,114 @@
|
|
|
1464
1673
|
- ensure all resources have a proper to\_s method [\#98](https://github.com/chef/inspec/issues/98)
|
|
1465
1674
|
- Escape commands before we execute them [\#70](https://github.com/chef/inspec/issues/70)
|
|
1466
1675
|
|
|
1676
|
+
**Merged pull requests:**
|
|
1677
|
+
|
|
1678
|
+
- 0.8.0 [\#131](https://github.com/chef/inspec/pull/131) ([chris-rock](https://github.com/chris-rock))
|
|
1679
|
+
- more CentOS support [\#128](https://github.com/chef/inspec/pull/128) ([chris-rock](https://github.com/chris-rock))
|
|
1680
|
+
- add more usage headers [\#127](https://github.com/chef/inspec/pull/127) ([chris-rock](https://github.com/chris-rock))
|
|
1681
|
+
- add test-kitchen example [\#126](https://github.com/chef/inspec/pull/126) ([chris-rock](https://github.com/chris-rock))
|
|
1682
|
+
- fix the header structure [\#124](https://github.com/chef/inspec/pull/124) ([jamescott](https://github.com/jamescott))
|
|
1683
|
+
- add resources, sync matcher patterns [\#123](https://github.com/chef/inspec/pull/123) ([jamescott](https://github.com/jamescott))
|
|
1684
|
+
- move markdown docs to rst [\#122](https://github.com/chef/inspec/pull/122) ([chris-rock](https://github.com/chris-rock))
|
|
1685
|
+
- delivery: select build node on new fqdn [\#119](https://github.com/chef/inspec/pull/119) ([arlimus](https://github.com/arlimus))
|
|
1686
|
+
- add first round of audit resource docs [\#118](https://github.com/chef/inspec/pull/118) ([jamescott](https://github.com/jamescott))
|
|
1687
|
+
- Add support for `expect` [\#117](https://github.com/chef/inspec/pull/117) ([arlimus](https://github.com/arlimus))
|
|
1688
|
+
- test: group resource tests [\#116](https://github.com/chef/inspec/pull/116) ([arlimus](https://github.com/arlimus))
|
|
1689
|
+
- Fixes [\#115](https://github.com/chef/inspec/pull/115) ([chris-rock](https://github.com/chris-rock))
|
|
1690
|
+
- simplify yum implementation [\#114](https://github.com/chef/inspec/pull/114) ([chris-rock](https://github.com/chris-rock))
|
|
1691
|
+
- take care of ruby warnings [\#112](https://github.com/chef/inspec/pull/112) ([arlimus](https://github.com/arlimus))
|
|
1692
|
+
- Train [\#111](https://github.com/chef/inspec/pull/111) ([arlimus](https://github.com/arlimus))
|
|
1693
|
+
- make default rake tasks test+lint [\#110](https://github.com/chef/inspec/pull/110) ([arlimus](https://github.com/arlimus))
|
|
1694
|
+
- make default rake tasks test+lint [\#109](https://github.com/chef/inspec/pull/109) ([arlimus](https://github.com/arlimus))
|
|
1695
|
+
- make default rake tasks test+lint [\#108](https://github.com/chef/inspec/pull/108) ([arlimus](https://github.com/arlimus))
|
|
1696
|
+
- Improve unit tests [\#106](https://github.com/chef/inspec/pull/106) ([chris-rock](https://github.com/chris-rock))
|
|
1697
|
+
- add to\_s methods to resources, fixes \#98 [\#105](https://github.com/chef/inspec/pull/105) ([chris-rock](https://github.com/chris-rock))
|
|
1698
|
+
- 0.7.0 release [\#104](https://github.com/chef/inspec/pull/104) ([chris-rock](https://github.com/chris-rock))
|
|
1699
|
+
- implement iptables resource [\#103](https://github.com/chef/inspec/pull/103) ([chris-rock](https://github.com/chris-rock))
|
|
1700
|
+
- bugfix: return function if data is already cached [\#102](https://github.com/chef/inspec/pull/102) ([chris-rock](https://github.com/chris-rock))
|
|
1701
|
+
- implement apt resource [\#101](https://github.com/chef/inspec/pull/101) ([chris-rock](https://github.com/chris-rock))
|
|
1702
|
+
- improve shell [\#100](https://github.com/chef/inspec/pull/100) ([chris-rock](https://github.com/chris-rock))
|
|
1703
|
+
- implement host resource [\#99](https://github.com/chef/inspec/pull/99) ([chris-rock](https://github.com/chris-rock))
|
|
1704
|
+
- implement bridge resource [\#97](https://github.com/chef/inspec/pull/97) ([chris-rock](https://github.com/chris-rock))
|
|
1705
|
+
- interactive shell [\#95](https://github.com/chef/inspec/pull/95) ([arlimus](https://github.com/arlimus))
|
|
1706
|
+
- interface resource [\#94](https://github.com/chef/inspec/pull/94) ([chris-rock](https://github.com/chris-rock))
|
|
1707
|
+
- lint: dont use undefined vars [\#93](https://github.com/chef/inspec/pull/93) ([arlimus](https://github.com/arlimus))
|
|
1708
|
+
- fix delivery dependencies [\#92](https://github.com/chef/inspec/pull/92) ([arlimus](https://github.com/arlimus))
|
|
1709
|
+
- improvement: add default print method to resources [\#91](https://github.com/chef/inspec/pull/91) ([arlimus](https://github.com/arlimus))
|
|
1710
|
+
- extend os backend helper [\#90](https://github.com/chef/inspec/pull/90) ([chris-rock](https://github.com/chris-rock))
|
|
1711
|
+
- integrate docs [\#89](https://github.com/chef/inspec/pull/89) ([chris-rock](https://github.com/chris-rock))
|
|
1712
|
+
- integrate docs [\#88](https://github.com/chef/inspec/pull/88) ([chris-rock](https://github.com/chris-rock))
|
|
1713
|
+
- script resource [\#87](https://github.com/chef/inspec/pull/87) ([chris-rock](https://github.com/chris-rock))
|
|
1714
|
+
- implement group resource [\#85](https://github.com/chef/inspec/pull/85) ([chris-rock](https://github.com/chris-rock))
|
|
1715
|
+
- add author header [\#84](https://github.com/chef/inspec/pull/84) ([chris-rock](https://github.com/chris-rock))
|
|
1716
|
+
- Resource bugfix [\#83](https://github.com/chef/inspec/pull/83) ([arlimus](https://github.com/arlimus))
|
|
1717
|
+
- Resource in resource [\#80](https://github.com/chef/inspec/pull/80) ([arlimus](https://github.com/arlimus))
|
|
1718
|
+
- ignore local delivery config [\#77](https://github.com/chef/inspec/pull/77) ([arlimus](https://github.com/arlimus))
|
|
1719
|
+
- bugfix user resource for windows [\#76](https://github.com/chef/inspec/pull/76) ([chris-rock](https://github.com/chris-rock))
|
|
1720
|
+
- activate lint in travis [\#75](https://github.com/chef/inspec/pull/75) ([arlimus](https://github.com/arlimus))
|
|
1721
|
+
- Simplify SSL configuration [\#69](https://github.com/chef/inspec/pull/69) ([arlimus](https://github.com/arlimus))
|
|
1722
|
+
- implement user resource [\#67](https://github.com/chef/inspec/pull/67) ([chris-rock](https://github.com/chris-rock))
|
|
1723
|
+
- switch from open4 -\> mixlib-shellout [\#66](https://github.com/chef/inspec/pull/66) ([arlimus](https://github.com/arlimus))
|
|
1724
|
+
- WinRM path [\#63](https://github.com/chef/inspec/pull/63) ([arlimus](https://github.com/arlimus))
|
|
1725
|
+
- bugfix: catch cases where oneget returns an array [\#62](https://github.com/chef/inspec/pull/62) ([chris-rock](https://github.com/chris-rock))
|
|
1726
|
+
- extend delivery tests to extra docker images [\#61](https://github.com/chef/inspec/pull/61) ([arlimus](https://github.com/arlimus))
|
|
1727
|
+
- rename --key-file to --key on cli [\#60](https://github.com/chef/inspec/pull/60) ([arlimus](https://github.com/arlimus))
|
|
1728
|
+
- Simpleconfig groups [\#57](https://github.com/chef/inspec/pull/57) ([arlimus](https://github.com/arlimus))
|
|
1729
|
+
- OS detection tests [\#56](https://github.com/chef/inspec/pull/56) ([arlimus](https://github.com/arlimus))
|
|
1730
|
+
- Start Linting remaining resources [\#55](https://github.com/chef/inspec/pull/55) ([arlimus](https://github.com/arlimus))
|
|
1731
|
+
- fix various robocop lint issues [\#54](https://github.com/chef/inspec/pull/54) ([chris-rock](https://github.com/chris-rock))
|
|
1732
|
+
- overhaul rule structure [\#53](https://github.com/chef/inspec/pull/53) ([arlimus](https://github.com/arlimus))
|
|
1733
|
+
- Verify ssh transport backend [\#51](https://github.com/chef/inspec/pull/51) ([arlimus](https://github.com/arlimus))
|
|
1734
|
+
- Unit test for service resource [\#50](https://github.com/chef/inspec/pull/50) ([chris-rock](https://github.com/chris-rock))
|
|
1735
|
+
- Ssh backend tests [\#49](https://github.com/chef/inspec/pull/49) ([arlimus](https://github.com/arlimus))
|
|
1736
|
+
- Docker concurrency [\#48](https://github.com/chef/inspec/pull/48) ([arlimus](https://github.com/arlimus))
|
|
1737
|
+
- unit tests for package resource [\#47](https://github.com/chef/inspec/pull/47) ([chris-rock](https://github.com/chris-rock))
|
|
1738
|
+
- Docker runner test [\#46](https://github.com/chef/inspec/pull/46) ([arlimus](https://github.com/arlimus))
|
|
1739
|
+
- add port resource [\#45](https://github.com/chef/inspec/pull/45) ([chris-rock](https://github.com/chris-rock))
|
|
1740
|
+
- bugfix: windows server 2008 detection [\#44](https://github.com/chef/inspec/pull/44) ([arlimus](https://github.com/arlimus))
|
|
1741
|
+
- Add detect command [\#43](https://github.com/chef/inspec/pull/43) ([arlimus](https://github.com/arlimus))
|
|
1742
|
+
- unit test mock os [\#42](https://github.com/chef/inspec/pull/42) ([chris-rock](https://github.com/chris-rock))
|
|
1743
|
+
- let travis do dockerized resource tests [\#41](https://github.com/chef/inspec/pull/41) ([arlimus](https://github.com/arlimus))
|
|
1744
|
+
- docker test run [\#40](https://github.com/chef/inspec/pull/40) ([arlimus](https://github.com/arlimus))
|
|
1745
|
+
- bugfix: detect os via unames [\#38](https://github.com/chef/inspec/pull/38) ([arlimus](https://github.com/arlimus))
|
|
1746
|
+
- run kitchen test instead of converge [\#37](https://github.com/chef/inspec/pull/37) ([arlimus](https://github.com/arlimus))
|
|
1747
|
+
- bugfix: local file owner [\#36](https://github.com/chef/inspec/pull/36) ([arlimus](https://github.com/arlimus))
|
|
1748
|
+
- bugfix: backend description for local + docker [\#35](https://github.com/chef/inspec/pull/35) ([arlimus](https://github.com/arlimus))
|
|
1749
|
+
- implement fake os method for mock backend \(for now\) [\#34](https://github.com/chef/inspec/pull/34) ([chris-rock](https://github.com/chris-rock))
|
|
1750
|
+
- add Windows feature resource [\#33](https://github.com/chef/inspec/pull/33) ([chris-rock](https://github.com/chris-rock))
|
|
1751
|
+
- add linux kernel resources [\#32](https://github.com/chef/inspec/pull/32) ([chris-rock](https://github.com/chris-rock))
|
|
1752
|
+
- Exist vs exists [\#31](https://github.com/chef/inspec/pull/31) ([arlimus](https://github.com/arlimus))
|
|
1753
|
+
- File formats [\#30](https://github.com/chef/inspec/pull/30) ([chris-rock](https://github.com/chris-rock))
|
|
1754
|
+
- OS detection and resource [\#29](https://github.com/chef/inspec/pull/29) ([arlimus](https://github.com/arlimus))
|
|
1755
|
+
- bugfix: fix simplified runner configuration [\#28](https://github.com/chef/inspec/pull/28) ([chris-rock](https://github.com/chris-rock))
|
|
1756
|
+
- improvement: simplify runner configuration [\#27](https://github.com/chef/inspec/pull/27) ([arlimus](https://github.com/arlimus))
|
|
1757
|
+
- bugfix: catch cases, where no service is available [\#26](https://github.com/chef/inspec/pull/26) ([chris-rock](https://github.com/chris-rock))
|
|
1758
|
+
- support package for windows [\#25](https://github.com/chef/inspec/pull/25) ([chris-rock](https://github.com/chris-rock))
|
|
1759
|
+
- implement service for FreeBSD [\#24](https://github.com/chef/inspec/pull/24) ([chris-rock](https://github.com/chris-rock))
|
|
1760
|
+
- move integration dependencies to Gemfile [\#23](https://github.com/chef/inspec/pull/23) ([chris-rock](https://github.com/chris-rock))
|
|
1761
|
+
- add oracle linux docker tests [\#22](https://github.com/chef/inspec/pull/22) ([arlimus](https://github.com/arlimus))
|
|
1762
|
+
- Support FreeBSD [\#21](https://github.com/chef/inspec/pull/21) ([arlimus](https://github.com/arlimus))
|
|
1763
|
+
- Service resource [\#20](https://github.com/chef/inspec/pull/20) ([chris-rock](https://github.com/chris-rock))
|
|
1764
|
+
- Improvements [\#19](https://github.com/chef/inspec/pull/19) ([chris-rock](https://github.com/chris-rock))
|
|
1765
|
+
- bugfix: set host for ssh config in specinfra [\#18](https://github.com/chef/inspec/pull/18) ([chris-rock](https://github.com/chris-rock))
|
|
1766
|
+
- improve readme [\#17](https://github.com/chef/inspec/pull/17) ([chris-rock](https://github.com/chris-rock))
|
|
1767
|
+
- Integration tests for the backend runner [\#16](https://github.com/chef/inspec/pull/16) ([arlimus](https://github.com/arlimus))
|
|
1768
|
+
- Fix specinfra OS detection [\#15](https://github.com/chef/inspec/pull/15) ([arlimus](https://github.com/arlimus))
|
|
1769
|
+
- Os detection [\#14](https://github.com/chef/inspec/pull/14) ([chris-rock](https://github.com/chris-rock))
|
|
1770
|
+
- bugfix: require specinfra backend [\#13](https://github.com/chef/inspec/pull/13) ([chris-rock](https://github.com/chris-rock))
|
|
1771
|
+
- improve docker test runner structure [\#12](https://github.com/chef/inspec/pull/12) ([arlimus](https://github.com/arlimus))
|
|
1772
|
+
- Concurrent integrationtest [\#11](https://github.com/chef/inspec/pull/11) ([arlimus](https://github.com/arlimus))
|
|
1773
|
+
- add oneget resource [\#10](https://github.com/chef/inspec/pull/10) ([chris-rock](https://github.com/chris-rock))
|
|
1774
|
+
- Winrm [\#9](https://github.com/chef/inspec/pull/9) ([chris-rock](https://github.com/chris-rock))
|
|
1775
|
+
- bugfix: linux file stat parameters and mount [\#8](https://github.com/chef/inspec/pull/8) ([arlimus](https://github.com/arlimus))
|
|
1776
|
+
- Mysql conf [\#7](https://github.com/chef/inspec/pull/7) ([arlimus](https://github.com/arlimus))
|
|
1777
|
+
- Lint update [\#6](https://github.com/chef/inspec/pull/6) ([arlimus](https://github.com/arlimus))
|
|
1778
|
+
- SSH PTY [\#5](https://github.com/chef/inspec/pull/5) ([arlimus](https://github.com/arlimus))
|
|
1779
|
+
- Start Docker + SSH backends [\#4](https://github.com/chef/inspec/pull/4) ([arlimus](https://github.com/arlimus))
|
|
1780
|
+
- travis checks [\#3](https://github.com/chef/inspec/pull/3) ([chris-rock](https://github.com/chris-rock))
|
|
1781
|
+
- Package [\#2](https://github.com/chef/inspec/pull/2) ([chris-rock](https://github.com/chris-rock))
|
|
1782
|
+
- shared linux file handling + specinfra config + cleanup [\#1](https://github.com/chef/inspec/pull/1) ([arlimus](https://github.com/arlimus))
|
|
1783
|
+
|
|
1467
1784
|
|
|
1468
1785
|
|
|
1469
1786
|
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/Gemfile
CHANGED
|
@@ -6,6 +6,7 @@ gemspec
|
|
|
6
6
|
# detecting that net-ssh 3 does not work with 1.9.3
|
|
7
7
|
if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('1.9.3')
|
|
8
8
|
gem 'net-ssh', '~> 2.9'
|
|
9
|
+
gem 'tins', '~> 1.6.0'
|
|
9
10
|
end
|
|
10
11
|
|
|
11
12
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
|
|
@@ -23,6 +24,9 @@ group :test do
|
|
|
23
24
|
gem 'simplecov', '~> 0.10'
|
|
24
25
|
gem 'concurrent-ruby', '~> 0.9'
|
|
25
26
|
gem 'mocha', '~> 1.1'
|
|
27
|
+
gem 'ruby-progressbar', '~> 1.8'
|
|
28
|
+
gem 'inquirer'
|
|
29
|
+
gem 'nokogiri', '~> 1.6'
|
|
26
30
|
end
|
|
27
31
|
|
|
28
32
|
group :integration do
|
|
@@ -35,6 +39,12 @@ group :integration do
|
|
|
35
39
|
gem 'kitchen-dokken'
|
|
36
40
|
end
|
|
37
41
|
|
|
42
|
+
group :simulator do
|
|
43
|
+
gem 'github-markup'
|
|
44
|
+
gem 'redcarpet'
|
|
45
|
+
gem 'docker-api'
|
|
46
|
+
end
|
|
47
|
+
|
|
38
48
|
group :tools do
|
|
39
49
|
gem 'pry', '~> 0.10'
|
|
40
50
|
gem 'rb-readline'
|
data/README.md
CHANGED
|
@@ -18,7 +18,7 @@ describe inetd_conf do
|
|
|
18
18
|
end
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
InSpec makes it easy to run your tests wherever you need. More options
|
|
21
|
+
InSpec makes it easy to run your tests wherever you need. More options are found in our [CLI docs](http://inspec.io/docs/reference/cli/).
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
# run test locally
|
data/Rakefile
CHANGED
|
@@ -5,7 +5,9 @@ require 'bundler'
|
|
|
5
5
|
require 'bundler/gem_tasks'
|
|
6
6
|
require 'rake/testtask'
|
|
7
7
|
require 'rubocop/rake_task'
|
|
8
|
+
require_relative 'tasks/docs'
|
|
8
9
|
require_relative 'tasks/maintainers'
|
|
10
|
+
require_relative 'tasks/www'
|
|
9
11
|
|
|
10
12
|
# Rubocop
|
|
11
13
|
desc 'Run Rubocop lint checks'
|
|
@@ -20,8 +22,8 @@ task lint: [:rubocop]
|
|
|
20
22
|
# update command output for demo
|
|
21
23
|
desc 'Run inspec commands and save results to www/app/responses'
|
|
22
24
|
task :update_demo do
|
|
23
|
-
|
|
24
|
-
ruby
|
|
25
|
+
ruby 'www/tutorial/scripts/build_simulator_runtime.rb'
|
|
26
|
+
ruby 'www/tutorial/scripts/run_simulator_recording.rb'
|
|
25
27
|
end
|
|
26
28
|
|
|
27
29
|
# run tests
|
|
@@ -165,56 +167,3 @@ task :release_docker do
|
|
|
165
167
|
puts "--> #{cmd}"
|
|
166
168
|
sh('sh', '-c', cmd)
|
|
167
169
|
end
|
|
168
|
-
|
|
169
|
-
namespace :docs do
|
|
170
|
-
desc 'Create cli docs'
|
|
171
|
-
task :cli do
|
|
172
|
-
res = "=====================================================\n"\
|
|
173
|
-
"InSpec CLI\n"\
|
|
174
|
-
"=====================================================\n\n"\
|
|
175
|
-
"Use the InSpec CLI to run tests and audits against targets "\
|
|
176
|
-
"using local, SSH, WinRM, or Docker connections.\n\n"
|
|
177
|
-
|
|
178
|
-
require 'inspec/cli'
|
|
179
|
-
cmds = Inspec::InspecCLI.all_commands
|
|
180
|
-
cmds.keys.sort.each do |key|
|
|
181
|
-
cmd = cmds[key]
|
|
182
|
-
|
|
183
|
-
res << "#{cmd.usage.split.first}\n"\
|
|
184
|
-
"=====================================================\n\n"
|
|
185
|
-
|
|
186
|
-
res << cmd.description.capitalize
|
|
187
|
-
res << "\n\n"
|
|
188
|
-
|
|
189
|
-
res << "Syntax\n"\
|
|
190
|
-
"-----------------------------------------------------\n\n"
|
|
191
|
-
|
|
192
|
-
res << "This subcommand has the following syntax:\n\n"\
|
|
193
|
-
".. code-block:: bash\n\n"\
|
|
194
|
-
" $ inspec #{cmd.usage}\n\n"
|
|
195
|
-
|
|
196
|
-
opts = cmd.options.select { |_, o| !o.hide }
|
|
197
|
-
unless opts.empty?
|
|
198
|
-
res << "Options\n"\
|
|
199
|
-
"-----------------------------------------------------\n\n"\
|
|
200
|
-
"This subcommand has additional options:\n\n"
|
|
201
|
-
|
|
202
|
-
opts.keys.sort.each do |option|
|
|
203
|
-
opt = cmd.options[option]
|
|
204
|
-
# TODO: remove when UX of help is reworked 1.0
|
|
205
|
-
usage = opt.usage.split(', ')
|
|
206
|
-
.map { |x| x.tr('[]', '') }
|
|
207
|
-
.map { |x| x.start_with?('-') ? x : '-'+x }
|
|
208
|
-
.map { |x| '``' + x + '``' }
|
|
209
|
-
res << "#{usage.join(', ')}\n #{opt.description}\n\n"
|
|
210
|
-
end
|
|
211
|
-
|
|
212
|
-
end
|
|
213
|
-
res << "\n\n"
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
dst = 'docs/cli.rst'
|
|
217
|
-
File.write(dst, res)
|
|
218
|
-
puts "Documentation generated in #{dst.inspect}"
|
|
219
|
-
end
|
|
220
|
-
end
|
data/docs/.gitignore
ADDED
data/docs/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# InSpec documentation
|
|
2
|
+
|
|
3
|
+
This is the home of the InSpec documentation. This documentation provides an introduction to this mechanism and shows how to write custom tests.
|
|
4
|
+
|
|
5
|
+
The goal of this folder is for any community member to clone these docs, make the changes, check if they are valid, and contribute to the project.
|
|
6
|
+
|
|
7
|
+
## How to build docs
|
|
8
|
+
|
|
9
|
+
We build docs by:
|
|
10
|
+
|
|
11
|
+
1. Auto-generating docs from code
|
|
12
|
+
2. Transforming markdown+snippets in this folder into pure markdown in `www/source/docs`
|
|
13
|
+
3. Rendering them to the website via instructions in `www/`
|
|
14
|
+
|
|
15
|
+
For development, you **only need step 1**!
|
|
16
|
+
|
|
17
|
+
**1 Generate docs**
|
|
18
|
+
|
|
19
|
+
To generate all docs run:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
bundle exec rake docs
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
You can run tasks individually. For a list of tasks run:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
bundle exec rake --tasks docs
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Stability Index
|
|
32
|
+
|
|
33
|
+
Every available InSpec resource will indicate its stability. As InSpec matures, certain parts are more reliable than others. Brand new features are likely to be redesigned and marked as such.
|
|
34
|
+
|
|
35
|
+
The stability indices are as follows:
|
|
36
|
+
|
|
37
|
+
* `Stability: Deprecated` - This features will be removed in future versions, because its known for being problematic. Do not rely on it.
|
|
38
|
+
* `Stability: Experimental` - New features may change or are removed in future versions
|
|
39
|
+
* `Stability: Stable` - API is well established and proofed. Maintaining compatibility is a high priority
|
|
40
|
+
* `Stability: Locked` - Only security and performance fixes are allowed
|