-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node information sent to Compliance after first audit run are not accurate #40
Comments
Is this because when you use the audit cookbook, its actually using the Chef client keys. So it is node -> chef server -> chef compliance node -> chef server is handled by the client.pem file on the machine via HTTPS to Server I wouldn't expect the username and password that Chef Client ran as to populate in Compliance, however it should provide the ability to scan / provide information to scan from within compliance. |
The ability to scan/provide information to scan from within Compliance doesn't exist because the parameters used to connect to the node (via winrm) are not filled in properly/at all Even disregarding the username/password, the hostname/ip should populate in Compliance which it is not doing either. |
@chef09210 Thanks for reporting. We are aware, that this is not working as expected. This will be fixed within one of the next releases. |
@chef09210 We refactored the audit cookbook to make it easier to maintain and improve the quality. Is that issues still persistent with the version 2.0 of the audit cookbook. We retrieve the information from Chef |
@chef09210 I am going to close this issue. Please reopen if the issue persists with audit cookbook version 2 |
Cookbook version
0.6.0
Chef-client version
12.9.38-1
Platform Details
Windows 7 Enterprise
Scenario:
When a Windows node initiates a chef-client run with the audit cookbook, certain information is sent back to Chef Compliance such as hostname/IP and WinRM account. However the hostname/IP field is not filled in and WinRM account name is listed as Administrator even though node is a domain account with a domain administrative account. This prevents reconnection to the node until this information is entered in manually.
Steps to Reproduce:
Run the audit cookbook for the first time on a Win7 client. View the node information result in Chef Compliance after the chef-client run is complete.
Expected Result:
Hostname/IP of machine and account used to run chef-client command remotely through winrm should be sent back to Chef Compliance and listed in the node details on Chef Compliance page.
Actual Result:
Hostname/IP field is empty and account is listed as generic Administrator
The text was updated successfully, but these errors were encountered: