Scan Site - Nexpose

Starts a Nexpose scan by site id and waits for the scan to finish by polling its status in pre-defined intervals.

Rapid7 InsightVM · 7 tasks · 3 inputs · 11 outputs

Inputs

  • Site — Site id to scan
  • Hosts — Host names of the assets to scan
  • Name — The scan name

Outputs

  • Nexpose.Scan.ScanType — The scan type (automated, manual, scheduled).
  • Nexpose.Scan.Completed — The end time of the scan in ISO8601 format.
  • Nexpose.Scan.StartedBy — The name of the user that started the scan.
  • Nexpose.Scan.Assets — The number of assets found in the scan
  • Nexpose.Scan.TotalTime — The duration of the scan in minutes.
  • Nexpose.Scan.Id — The identifier of the scan.
  • Nexpose.Scan.Status — The scan status. Valid values are aborted, unknown, running, finished, stopped, error, paused, dispatched, integrating
  • Nexpose.Scan.Vulnerabilities.Critical — The number of critical vulnerabilities.
  • Nexpose.Scan.Vulnerabilities.Moderate — The number of moderate vulnerabilities.
  • Nexpose.Scan.Vulnerabilities.Severe — The number of severe vulnerabilities.
  • Nexpose.Scan.Vulnerabilities.Total — The total number of vulnerabilities.

Commands used

nexpose-get-scan nexpose-start-site-scan

Flowchart

yes yes Start Start Start scan - nexpose-start-site-scan Start scan nexpose-start-site-scan Done Done nexpose-get-scan - nexpose-get-scan nexpose-get-scan nexpose-get-scan GenericPolling - GenericPolling GenericPolling GenericPolling Is Nexpose enabled? Is Nexpose enabled? Did scan find assets? Did scan find assets?