-
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
ERROR: Audit report was not generated properly, skipped reporting #291
Comments
@siddhu07 The error you're receiving indicates that there were no InSpec profiles configured to run so no report was generated. I'm afraid without any additional details, it's difficult to determine where the problem lies. Can you please share additional information about how you configured the audit cookbook? What node attributes did you set? |
@adamleff i have updated my question. i just downloaded audit cookbook from supermarket and tried to bootstrap. And i tried other way, just created a cookbook added "depends audit" in metadata.rb and edited recipe, and tried to bootstrap. both failed |
I still do not have output or information to be able to properly help you. I would suggest trying a non-compliance endpoint, such as perhaps: {
name: 'linux-baseline',
url: 'https://github.com/dev-sec/linux-baseline/archive/master.tar.gz'
} ... to perhaps rule out an issue with the way your Chef Server / Chef Automate is set up. Please also run chef-client in debug mode ( Also, if you are a Chef customer, I would strongly encourage you to log an issue with support so you get more personalized support. We cannot guarantee SLAs on GitHub issues, but we still want you to be successful. Please reach out to support if you are indeed a customer. |
thanks @adamleff , i got it. i bootstrapped with wrapper cookbook, deleted all dependencies and started from first. |
Cookbook version 5.0.3
[Version of the cookbook where you are encountering the issue]
Chef-client version Chef: 13.2.20
Platform Details ubuntu 16.04
Scenario: when trying to run audit cookbook and trying to make it as compliance node.
Expected Result: node should be added to the compliance and visible in chef automate UI
Actual Result:
WARN: No audit tests are defined.
ERROR: Audit report was not generated properly, skipped reporting
Attributes/default.rb
default['audit']['reporter'] = ['chef-server-automate','json-file']
default['audit']['profiles'] = [
{
'name': 'InSpec Profile',
'compliance': 'admin/cassandra'
}
]
The text was updated successfully, but these errors were encountered: