Skip to content

Instantly share code, notes, and snippets.

@chef09210
Created May 4, 2016 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chef09210/c8b116b747e340e5ba6afbe81d4adb62 to your computer and use it in GitHub Desktop.
Save chef09210/c8b116b747e340e5ba6afbe81d4adb62 to your computer and use it in GitHub Desktop.
INFO: Using configuration from C:/chef/chef-repo/.chef/knife.rb
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key ca_trust_file and found value
DEBUG: Looking for key winrm_user and found value domain\user
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_transport and found value plaintext
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_password and found value Password1
DEBUG: Looking for key winrm_port and found value 5985
DEBUG: Looking for key session_timeout and found value 30
DEBUG: Looking for key session_timeout and found value 30
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_transport and found value plaintext
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_transport and found value plaintext
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key ca_trust_file and found value
DEBUG: Looking for key ssl_peer_fingerprint and found value
DEBUG: Looking for key ca_trust_file and found value
DEBUG: Adding 10.100.1.2
DEBUG: WinRM::WinRMWebService options: {:user=>"domain\\user", :pass=>"Password1", :basic_auth_only=>false, :disable_sspi=>false, :no_ssl_peer_verification=>false, :ssl_peer_fingerprint=>nil, :ca_trust_path=>nil}
DEBUG: Endpoint: http://10.100.1.2:5985/wsman
DEBUG: Transport: negotiate
DEBUG: chef-client -o 'recipe[audit]'
DEBUG: 10.100.1.2[46DEEF2E-C767-4FA6-A90A-94BDFCE3B007] => :run_command[chef-client -o 'recipe[audit]']
10.100.1.2 [2016-05-04T23:46:40+00:00] INFO: *** Chef 12.9.38 ***
10.100.1.2 [2016-05-04T23:46:40+00:00] INFO: Platform: x64-mingw32
10.100.1.2 [2016-05-04T23:46:40+00:00] INFO: Chef-client pid: 3988
10.100.1.2 [2016-05-04T23:46:57+00:00] WARN: Run List override has been provided.
10.100.1.2 [2016-05-04T23:46:57+00:00] WARN: Original Run List: [role[patch_recipients]]
10.100.1.2 [2016-05-04T23:46:57+00:00] WARN: Overridden Run List: [recipe[audit]]
10.100.1.2 [2016-05-04T23:46:57+00:00] INFO: Run List is [recipe[audit]]
10.100.1.2 [2016-05-04T23:46:57+00:00] INFO: Run List expands to [audit]
10.100.1.2 [2016-05-04T23:46:57+00:00] INFO: Starting Chef Run for OWS002
10.100.1.2 [2016-05-04T23:46:57+00:00] INFO: Running start handlers
10.100.1.2 [2016-05-04T23:46:57+00:00] INFO: Start handlers complete.
10.100.1.2 [2016-05-04T23:46:57+00:00] INFO: Loading cookbooks [audit@0.5.0]
10.100.1.2 [2016-05-04T23:46:57+00:00] INFO: Skipping removal of obsoleted cookbooks from the cache
10.100.1.2 [2016-05-04T23:46:57+00:00] INFO: Processing compliance_profile[windows] action fetch (audit::default line 28)
10.100.1.2 [2016-05-04T23:46:58+00:00] WARN: Using inspec version: (0.19.3)
10.100.1.2 [2016-05-04T23:46:58+00:00] INFO: Fetch compliance profile base/windows
10.100.1.2 [2016-05-04T23:46:58+00:00] INFO: Processing directory[c:/chef/cache/compliance] action create (c:/chef/cache/cookbooks/audit/libraries/profile.rb line 40)
10.100.1.2 [2016-05-04T23:46:58+00:00] INFO: Processing directory[c:/chef/cache/compliance] action create (c:/chef/cache/cookbooks/audit/libraries/profile.rb line 40)
10.100.1.2 [2016-05-04T23:46:58+00:00] INFO: Processing compliance_profile[windows] action execute (audit::default line 28)
10.100.1.2 [2016-05-04T23:46:58+00:00] WARN: Using inspec version: (0.19.3)
10.100.1.2 [2016-05-04T23:46:58+00:00] INFO: Execute compliance profile base/windows
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 F
10.100.1.2 .
10.100.1.2 .
10.100.1.2 F
10.100.1.2 F
10.100.1.2 F
10.100.1.2 F
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 F
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 F
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 .
10.100.1.2 F
10.100.1.2 .
10.100.1.2 F
10.100.1.2
10.100.1.2 Failures:
10.100.1.2
10.100.1.2 1) Registry Key HKLM\Software\Policies\Microsoft\Windows\EventLog\Setup MaxSize should not eq nil
10.100.1.2 Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
10.100.1.2
10.100.1.2 expected: value != nil
10.100.1.2 got: nil
10.100.1.2
10.100.1.2 (compared using ==)
10.100.1.2 # base/windows/controls/audit_spec.rb:33:in `block (3 levels) in load'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:101:in `block (2 levels) in <class:ComplianceProfile>'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:82:in `block in <class:ComplianceProfile>'
10.100.1.2 # (eval):2:in `block in action_execute'
10.100.1.2 # (eval):2:in `action_execute'
10.100.1.2
10.100.1.2 2) Audit Policy Kerberos Authentication Service should not eq "No Auditing"
10.100.1.2 Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
10.100.1.2
10.100.1.2 expected: value != "No Auditing"
10.100.1.2 got: "No Auditing"
10.100.1.2
10.100.1.2 (compared using ==)
10.100.1.2 # base/windows/controls/audit_spec.rb:55:in `block (3 levels) in load'
10.100.1.2
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:101:in `block (2 levels) in <class:ComplianceProfile>'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:82:in `block in <class:ComplianceProfile>'
10.100.1.2 # (eval):2:in `block in action_execute'
10.100.1.2 # (eval):2:in `action_execute'
10.100.1.2
10.100.1.2 3) Audit Policy Kerberos Service Ticket Operations should not eq "No Auditing"
10.100.1.2 Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
10.100.1.2
10.100.1.2 expected: value != "No Auditing"
10.100.1.2 got: "No Auditing"
10.100.1.2
10.100.1.2 (compared using ==)
10.100.1.2 # base/windows/controls/audit_spec.rb:67:in `block (3 levels) in load'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:101:in `block (2 levels) in <class:ComplianceProfile>'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:82:in `block in <class:ComplianceProfile>'
10.100.1.2 # (eval):2:in `block in action_execute'
10.100.1.2 # (eval):2:in `action_execute'
10.100.1.2
10.100.1.2 4) Audit Policy Other Account Logon Events should not eq "No Auditing"
10.100.1.2 Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
10.100.1.2
10.100.1.2 expected: value != "No Auditing"
10.100.1.2 got: "No Auditing"
10.100.1.2
10.100.1.2 (compared using ==)
10.100.1.2 # base/windows/controls/audit_spec.rb:79:in `block (3 levels) in load'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:101:in `block (2 levels) in <class:ComplianceProfile>'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:82:in `block in <class:ComplianceProfile>'
10.100.1.2 # (eval):2:in `block in action_execute'
10.100.1.2 # (eval):2:in `action_execute'
10.100.1.2
10.100.1.2 5) Audit Policy Application Group Management should not eq "No Auditing"
10.100.1.2 Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
10.100.1.2
10.100.1.2 expected: value != "No Auditing"
10.100.1.2 got: "No Auditing"
10.100.1.2
10.100.1.2 (compared using ==)
10.100.1.2 # base/windows/controls/audit_spec.rb:90:in `block (3 levels) in load'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:101:in `block (2 levels) in <class:ComplianceProfile>'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:82:in `block in <class:ComplianceProfile>'
10.100.1.2 # (eval):2:in `block in action_execute'
10.100.1.2 # (eval):2:in `action_execute'
10.100.1.2
10.100.1.2 6) Registry Key HKLM\System\CurrentControlSet\Control\Lsa LmCompatibilityLevel should eq 4
10.100.1.2 Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
10.100.1.2
10.100.1.2 expected: 4
10.100.1.2 got: 5
10.100.1.2
10.100.1.2 (compared using ==)
10.100.1.2 # base/windows/controls/base_spec.rb:74:in `block (3 levels) in load'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:101:in `block (2 levels) in <class:ComplianceProfile>'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:82:in `block in <class:ComplianceProfile>'
10.100.1.2 # (eval):2:in `block in action_execute'
10.100.1.2 # (eval):2:in `action_execute'
10.100.1.2
10.100.1.2 7) Security Policy SeRemoteInteractiveLogonRight should eq "*S-1-5-32-544"
10.100.1.2 Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
10.100.1.2
10.100.1.2 expected: "*S-1-5-32-544"
10.100.1.2 got: "*S-1-5-32-544,*S-1-5-32-555"
10.100.1.2
10.100.1.2 (compared using ==)
10.100.1.2 # base/windows/controls/account_spec.rb:12:in `block (3 levels) in load'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:101:in `block (2 levels) in <class:ComplianceProfile>'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:82:in `block in <class:ComplianceProfile>'
10.100.1.2 # (eval):2:in `block in action_execute'
10.100.1.2 # (eval):2:in `action_execute'
10.100.1.2
10.100.1.2 8) Registry Key HKLM\Software\Policies\Microsoft\Internet Explorer\Main Isolation64Bit should eq 1
10.100.1.2 Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
10.100.1.2
10.100.1.2 expected: 1
10.100.1.2 got: nil
10.100.1.2
10.100.1.2 (compared using ==)
10.100.1.2 # base/windows/controls/ie_spec.rb:12:in `block (3 levels) in load'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:101:in `block (2 levels) in <class:ComplianceProfile>'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:82:in `block in <class:ComplianceProfile>'
10.100.1.2 # (eval):2:in `block in action_execute'
10.100.1.2 # (eval):2:in `action_execute'
10.100.1.2
10.100.1.2 9) Registry Key HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3 270C should eq 0
10.100.1.2 Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
10.100.1.2
10.100.1.2 expected: 0
10.100.1.2 got: nil
10.100.1.2
10.100.1.2 (compared using ==)
10.100.1.2 # base/windows/controls/ie_spec.rb:21:in `block (3 levels) in load'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:101:in `block (2 levels) in <class:ComplianceProfile>'
10.100.1.2 # c:/chef/cache/cookbooks/audit/libraries/profile.rb:82:in `block in <class:ComplianceProfile>'
10.100.1.2 # (eval):2:in `block in action_execute'
10.100.1.2 # (eval):2:in `action_execute'
10.100.1.2
10.100.1.2 Finished in 42.9 seconds (files took 0.9516 seconds to load)
10.100.1.2 44 examples, 9 failures
10.100.1.2
10.100.1.2 Failed examples:
10.100.1.2
10.100.1.2 rspec # Registry Key HKLM\Software\Policies\Microsoft\Windows\EventLog\Setup MaxSize should not eq nil
10.100.1.2 rspec # Audit Policy Kerberos Authentication Service should not eq "No Auditing"
10.100.1.2 rspec # Audit Policy Kerberos Service Ticket Operations should not eq "No Auditing"
10.100.1.2 rspec # Audit Policy Other Account Logon Events should not eq "No Auditing"
10.100.1.2 rspec # Audit Policy Application Group Management should not eq "No Auditing"
10.100.1.2 rspec # Registry Key HKLM\System\CurrentControlSet\Control\Lsa LmCompatibilityLevel should eq 4
10.100.1.2 rspec # Security Policy SeRemoteInteractiveLogonRight should eq "*S-1-5-32-544"
10.100.1.2 rspec # Registry Key HKLM\Software\Policies\Microsoft\Internet Explorer\Main Isolation64Bit should eq 1
10.100.1.2 rspec # Registry Key HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3 270C should eq 0
10.100.1.2
10.100.1.2 [2016-05-04T23:47:41+00:00] INFO: Processing file[c:/chef/cache/compliance/base_windows_report.json] action create (c:/chef/cache/cookbooks/audit/libraries/profile.rb line 107)
10.100.1.2 [2016-05-04T23:47:41+00:00] INFO: file[c:/chef/cache/compliance/base_windows_report.json] backed up to c:/chef/backup/chef/cache/compliance/base_windows_report.json.chef-20160504234741.825018
10.100.1.2 [2016-05-04T23:47:41+00:00] INFO: file[c:/chef/cache/compliance/base_windows_report.json] removed backup at c:/chef/backup/chef/cache/compliance/base_windows_report.json.chef-20160427230034.363777
10.100.1.2 [2016-05-04T23:47:41+00:00] INFO: file[c:/chef/cache/compliance/base_windows_report.json] updated file contents c:/chef/cache/compliance/base_windows_report.json
10.100.1.2 [2016-05-04T23:47:41+00:00] INFO: Processing compliance_report[chef-server] action execute (audit::default line 38)
10.100.1.2 [2016-05-04T23:47:42+00:00] WARN: Skipping final node save because override_runlist was given
10.100.1.2 [2016-05-04T23:47:42+00:00] INFO: Chef Run complete in 44.771679 seconds
10.100.1.2 [2016-05-04T23:47:42+00:00] INFO: Skipping removal of unused files from the cache
10.100.1.2 [2016-05-04T23:47:42+00:00] INFO: Running report handlers
10.100.1.2 [2016-05-04T23:47:42+00:00] INFO: Report handlers complete
10.100.1.2 [2016-05-04T23:47:42+00:00] INFO: Sending resource update report (run-id: 050418ac-fb53-4981-aff2-0ad74fa3909c)
DEBUG: 10.100.1.2[46DEEF2E-C767-4FA6-A90A-94BDFCE3B007] => :command_cleanup[chef-client -o 'recipe[audit]']
DEBUG: 10.100.1.2[46DEEF2E-C767-4FA6-A90A-94BDFCE3B007] => :shell_close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment