lib/nexpose/vuln.rb
# Find vulnerabilities by date available in Nexpose.
# This is not the date the original vulnerability was published, but the
# date the check was made available in Nexpose.
#
# @param [String] from Vulnerability publish date in format YYYY-MM-DD.
# @param [String] to Vulnerability publish date in format YYYY-MM-DD.
# @return [Array[VulnSynopsis]] List of vulnerabilities published in
#   Nexpose between the provided dates.
#
Find vulnerabilities by date available in Nexpose.
This is not the date the original vulnerability was published, but the
date the check was made available in Nexpose.
Find vulnerabilities by date available in Nexpose . This is not the date the original vulnerability was published but the date the check was made available in Nexpose .
def find_vulns_by_date(from, to = nil)
      uri = "/ajax/vuln_synopsis.txml?addedMin=#{from}"
      uri += "&addedMax=#{to}" if to
      DataTable._get_dyn_table(self, uri).map { |v| VulnSynopsis.new(v) }
    end
def find_vulns_by_date ( from , to = nil ) uri = "/ajax/vuln_synopsis.txml?addedMin=#{from}" uri += "&addedMax=#{to}" if to DataTable . _get_dyn_table ( self , uri ) . map { | v | VulnSynopsis . new ( v ) } end
Find vulnerabilities by date available in Nexpose.
Find vulnerabilities by date available in Nexpose .
] List of vulnerabilities published in Nexpose between the provided dates.
] List of vulnerabilities published in Nexpose between the provided dates .
Array[VulnSynopsis
from
<not_specific>
to
<not_specific>
<not_specific>
to Vulnerability publish date in format YYYY-MM-DD.
to Vulnerability publish date in format YYYY - MM - DD .