summaryrefslogtreecommitdiff
path: root/lib/chef/audit/runner.rb
Commit message (Collapse)AuthorAgeFilesLines
* Restore rspec 3.4 by setting project_source_dirsjk/rspec-3.4John Keiser2015-11-171-0/+1
| | | | to be the cookbooks (see http://rspec.info/blog/2015/11/rspec-3-4-has-been-released/, Better Failure Source Detection, for more info)
* Make sure the audit mode output is reflected both in the logs and in the ↵Serdar Sutay2015-05-291-2/+4
| | | | formatter output.
* Configure serverspec correctly on windows.sersut/3234Serdar Sutay2015-04-241-0/+1
|
* Remove UNIX-specific assumptions from audit runner.Julian C. Dunn2015-03-081-2/+10
| | | | Minimally fixes #2973
* Add /lib/chef/ to backtrace exclusion patterns for audit modekyleen/audit-exclusionKyleen MacGugan2015-03-031-0/+5
| | | | | | Exclusion pattern now includes anything with /lib/chef/ only fix spacing issue
* Update DSL method name to controls_group.mcquin/control_groupClaire McQuin2015-01-151-9/+9
| | | | | | | | | | | | | | | | | | Update to use control_group. Unify wording along control_group. Unify wording along control_group. Fix typo. Enable audit mode. Update to use control_group syntax. Update for audit DSL changes. Update for audit DSL change.
* Resolving conflicsts from giant rebasetyler-ball2014-12-171-2/+0
|
* Unit tests for audit-mode in chef-solo.Claire McQuin2014-12-171-7/+2
| | | | | * Audits are disabled by default. * Also, updated spec file to use RSpec :let.
* Finishing unit and functional test coverage for audit runnertyler-ball2014-12-171-4/+1
|
* if in why_run, do not enter the audit phase - because people run why_run to ↵tyler-ball2014-12-171-1/+9
| | | | see converge statistics
* Failing an audit example will now raise an error and make chef exit with a ↵tyler-ball2014-12-171-0/+4
| | | | non-zero code
* Adding cookbook and recipe information per analytics requesttyler-ball2014-12-171-1/+1
|
* Updating to use audit syntax rather than controltyler-ball2014-12-171-1/+1
|
* Add omitted config options.Claire McQuin2014-12-171-13/+92
|
* Use a central runnerClaire McQuin2014-12-171-1/+61
|
* Add a Chef::Audit::Controls object for 'controls'Claire McQuin2014-12-171-79/+1
|
* Adding audit mode JSON formattertyler-ball2014-12-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First pass at DSL additions Renaming DSL methods to match the spec Creating our own example group class to simplify adding examples to the spec runner Adding logic for exceptions from converge phase not interfering with audit phase and vice-versa Adding error handling so saving node doesn't prevent us from running audit mode - decouples converge phase and audit phase more Updating for github comments Add setup phase to audit-mode. Refactor runner into own class. Fix typo tie things together Adding first round of formatter integration - STDOUT doc formatter Preparing for demo - using rspec documentation formatter for output instead of the proxy Add serverspec types and matchers. add rspec/its Add gems as core dependencies Updating with changes from demo Updating with @mcquin and @lamont comments Getting rid of unused method Wiring audit event proxy to send events correctly to the audit_reporter removing old pry debugging statement Removing unecessary todo Sending to correct server URL Fixing TODOs Adding uncaught error information
* Sending to correct server URLtyler-ball2014-12-171-0/+1
|
* Make sure we don't close the output_stream after running rspec.Serdar Sutay2014-12-171-1/+0
|
* Wiring audit event proxy to send events correctly to the audit_reportertyler-ball2014-12-171-4/+3
|
* Preparing for demo - using rspec documentation formatter for output instead ↵tyler-ball2014-12-171-4/+14
| | | | of the proxy
* Adding first round of formatter integration - STDOUT doc formattertyler-ball2014-12-171-3/+8
|
* Add serverspec types and matchers.Claire McQuin2014-12-171-0/+7
|
* Adding audit mode JSON formattertyler-ball2014-12-171-0/+93