Skip to content

Commit

Permalink
Update comment to specify which report types are relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
gschneider-r7 committed Oct 3, 2017
1 parent efb262a commit b211096
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/nexpose/report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ def add_filter(type, id)
filters << Filter.new(type, id)
end

# Add the common vulnerability status filters as used by the UI for most
# report templates (defaults). Recommended for reports that do not require
# 'not vlunerable' results to be included. The following statuses are added:
# vulnerable-exploted, vulnerable-version, and potential.
# Add the common vulnerability status filters as used by the UI for export
# and jasper report templates (the default filters). Recommended for reports
# that do not require 'not vulnerable' results to be included. The following
# statuses are added: vulnerable-exploted, vulnerable-version, and potential.
def add_common_vuln_status_filters
['vulnerable-exploited', 'vulnerable-version', 'potential'].each do |vuln_status|
filters << Filter.new('vuln-status', vuln_status)
Expand Down

0 comments on commit b211096

Please sign in to comment.