Commit graph

795 commits

Author SHA1 Message Date
Nick Schwaderer
1d71ce141a
Merge pull request #5185 from StylusEaterChef/amd/issue-5183
First pass at fixing issue #5183.
2020-08-27 12:43:18 +01:00
Nick Schwaderer
1333fcd821
Merge pull request #5211 from tecracer-theinen/feature/configurable-input-cache
Add ability to disable input caching for kitchen-inspec use
2020-08-27 11:39:58 +01:00
Nick Schwaderer
6a60b456ba
Merge pull request #5054 from inspec/cw/run-data-filters
RunData Filters; sensitive inputs; suppress diff; sorted output
2020-08-27 11:15:57 +01:00
Thomas Heinen
1d7d0ec203 Add documentation for cache deactivation
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
2020-08-25 11:38:12 +02:00
Lance Albertson
08b7e584d7 Fix mysql_session stdout, stderr and exit_status parameters
A feature introduced in #5124 changed how the mysql_session resource works to
where stdout, stderr, and exit_status no longer worked. The Lines class only
exposes output instead of stdout, stderr and exit_status.

As a work around, this adds backwards compatibilty for stdout, stderr and
exit_status parameters. In addition I updated the documentation to prefer output
over stdout/stderr.

This fixes #5218.

Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-08-23 18:55:58 -07:00
Adam M Dutko
04c3aef004 Fix Issue #5183.
Signed-off-by: Adam M Dutko <adutko@chef.io>
2020-08-11 10:34:13 -04:00
Clinton Wolfe
ceca77e118 Mark inputs as sensitive
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:30:11 -04:00
Nick Schwaderer
ff1e558088
Merge pull request #4979 from tecracer-theinen/theinen/windows_firewall
Add new windows_firewall and windows_firewall_rule resources
2020-08-10 12:52:16 +01:00
Chris Birster
15dfb55463 fix error in passwd example
Signed-off-by: Chris Birster <christopher.birster@gmail.com>
2020-07-28 13:38:20 -04:00
Thomas Heinen
3e824b5203 Add new windows_firewall and windows_firewall_rule resources
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
2020-07-17 13:40:31 +02:00
Nick Schwaderer
2744ff43e5
Merge pull request #5128 from james-stocks/js/report_bad_profiles
Report faulty profiles instead of crashing
2020-07-15 13:28:17 +01:00
James Stocks
4c99130bb2
Merge pull request #5040 from sean-horn/patch-1
Config node_uuid with direct Inspec invocations
2020-07-06 16:37:00 +01:00
James Stocks
fd4c501c70 Change profile skip_message to status_message
Keep a duplicate of the message in skip_message for the JSON reporters, for backwards compaibility.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-07-03 15:53:09 +01:00
James Stocks
af5fd7bd03
Merge pull request #5036 from inspec/cw/interface-improvements
Additions to the interface resource
2020-06-25 11:27:53 +01:00
Mary Jinglewski
9906bdec05 Copyedits
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-06-18 16:03:48 -04:00
Mary Jinglewski
5415ec4a46 Copyediting additions
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-06-18 15:38:31 -04:00
Clinton Wolfe
ad673fa570 Do not include CIDR range on ipv4_address and ipv6_address
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 15:37:19 -04:00
Clinton Wolfe
d9007588a6 Add an heuristic-based IP lookup property
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 15:37:19 -04:00
Clinton Wolfe
52468e470e Barebones plural interfaces resource
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 15:37:19 -04:00
Clinton Wolfe
c386828e7a Add properties for ipv4 and ipv6 ipaddresses for compat
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 15:37:19 -04:00
Clinton Wolfe
a4000d6912 Adds support for interface on BSD and MacOS
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 15:37:19 -04:00
Clinton Wolfe
9109864fe2 Doc update for interface resource
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 15:37:19 -04:00
Mary Jinglewski
ac615db4fb Copyediting
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-06-18 14:23:54 -04:00
Clinton Wolfe
b8b7e4e848 Add ability to inline alternate JS and CSS
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 14:22:31 -04:00
Clinton Wolfe
bb2dfaa02d First pass at docs
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 14:21:13 -04:00
Mary Jinglewski
5de5ac698f docs copyediting
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-06-05 17:41:07 -04:00
Clinton Wolfe
b034b1aafd Don't mention skip
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-05 17:40:49 -04:00
Clinton Wolfe
925363766e Document and test to verify that it skips resources in describe blocks
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-05 17:40:49 -04:00
Clinton Wolfe
2b10aa8b47 Use the work 'control' consistently
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-05 17:40:49 -04:00
Clinton Wolfe
88b186047d Expand docs on only_if
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-05 17:39:55 -04:00
Nick Schwaderer
e01e69e19f
Merge pull request #5053 from james-stocks/js/fix_markup
Fix unmatched backticks in docs
2020-06-05 04:28:27 -07:00
Nick Schwaderer
fb1aeb0655
Merge pull request #5011 from inspec/cw/complex-cli-inputs
Boolean, Numeric, and Structured CLI inputs
2020-06-05 04:23:48 -07:00
James Stocks
51aeb9e2a6 Fix unmatched backticks in docs
Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-28 11:21:32 +01:00
Sean Horn
b597c85ed7
Config node_uuid with direct Inspec invocations
When using Inspec directly against an Automate system, `node_uuid` must be specified in the automate reporter specific config.

Signed-off-by: Sean Horn <sean_horn@chef.io>
2020-05-20 17:04:25 -04:00
Clinton Wolfe
3184d5ca9e Add an object model for run_data
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-20 13:27:20 -04:00
Clinton Wolfe
acfda5a735 Clarify names of examples and a method
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 17:59:20 -04:00
Clinton Wolfe
e8d80dd3cd Update docs
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

Linting

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 17:37:23 -04:00
Mary Jinglewski
52dbabc778 Copyediting
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-05-05 15:19:19 -04:00
Clinton Wolfe
5accb27224 Linting, and a thinko
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 16:51:31 +01:00
Clinton Wolfe
9c1dbfb5f3 Add docs for reporter plugins
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 16:51:31 +01:00
Dina Muscanell
1da222a092 updating automate reporter example config to valid json; Signed-off-by: Dina Muscanell <dmuscanell@chef.io> 2020-05-01 14:03:16 -04:00
James Stocks
c35657bf43
Merge pull request #4983 from jvogt/docs-config-json-fix
Docs fix - config.json example missing indentation and closing brace
2020-04-22 16:23:46 +01:00
Jeff Vogt
156ac119e5 fix example config.json syntax
Obvious fix.
2020-04-13 08:33:00 -07:00
Paul Bradford
c7f2c18305 Fixed inputs example to display correct output when the same code is ran.
updated output example

Signed-off-by: Paul Bradford <pbradford@chef.io>
2020-04-09 09:37:50 -07:00
James Stocks
951fcc9553
Merge pull request #4954 from tecracer-theinen/feature/virtualization-detection
Improve virtualization resource
2020-04-06 10:23:58 +01:00
James Stocks
502ad67eb8
Merge pull request #4949 from tecracer-theinen/theinen/source-option
Add support for alternate Gem source for plugin installation/search
2020-04-02 09:46:00 +01:00
Thomas Heinen
61646ad3af Add support for alternate Gem sources for plugin installation/search
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
2020-03-19 11:40:18 +01:00
Mary Jinglewski
b07d969a17 Copyediting and some restructuring
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-03-18 16:06:43 -04:00
James Stocks
db6f10d8bc Document describe.one usage
Signed-off-by: James Stocks <jstocks@chef.io>
2020-03-16 10:58:46 +00:00
Thomas Heinen
c5b12cbe4a Add documentation on virtualization resource
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
2020-03-13 12:14:45 +01:00