Skip to content
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

Nexpose::ReportConfig.build incorrectly adds frequency when generate_now is true #43

Closed
jhart-r7 opened this issue Dec 30, 2013 · 1 comment

Comments

@jhart-r7
Copy link
Contributor

Assume you've built and scanned a site, but no reports are configured. This won't work:

Nexpose::ReportConfig.build(nsc, site.id, site.name, report_type, report_format, true)

When the last argument is true, the report is supposed to run immediately, however it doesn't because a Frequency is added which says generate only after the scan.

In short, with the gem you cannot report on a site immediately after creating the report config.

@mdaines-r7
Copy link
Contributor

No longer adds the after-scan indicator if the generate_now flag is open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants