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

Add aligned summary to log at scan end #496

Merged
merged 6 commits into from
May 7, 2020

Commits on May 7, 2020

  1. Send summary to log at the end of the scan.

    For the dead hosts count, extend send_dead_hosts_to_ospd_openvas()
    to return the number of dead hosts.
    
    In function scan() collect the dead hosts count, the scan id
    and start and end time and send all information to the log
    at the end of the scan.
    janowagner committed May 7, 2020
    Configuration menu
    Copy the full SHA
    47e8f5e View commit details
    Browse the repository at this point in the history
  2. Align summary to log with alive scan.

    This adds the scan id and the number of hosts
    to the log summary. Use the same scheme as for the alive
    scanner.
    janowagner committed May 7, 2020
    Configuration menu
    Copy the full SHA
    e92ef68 View commit details
    Browse the repository at this point in the history
  3. Fix formatting.

    janowagner committed May 7, 2020
    Configuration menu
    Copy the full SHA
    1bd67ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5d1f9a9 View commit details
    Browse the repository at this point in the history
  5. Add Changelog.

    janowagner committed May 7, 2020
    Configuration menu
    Copy the full SHA
    481c77e View commit details
    Browse the repository at this point in the history
  6. Use test_alive_hosts_only to print the log summary

    This helps for the case with 0 alive hosts.
    janowagner committed May 7, 2020
    Configuration menu
    Copy the full SHA
    e1c0eca View commit details
    Browse the repository at this point in the history