class Risu::Templates::NotableTemplate
Public Class Methods
new()
click to toggle source
Creates an instance of the [NotableTemplate] class and initializes its meta-data
# File lib/risu/templates/notable.rb, line 28 def initialize @template_info = { :name => "notable", :author => "hammackj", :version => "0.0.4", :renderer => "PDF", :description => "Notable Vulnerabilities" } end
Public Instance Methods
render(output)
click to toggle source
Renders a Notable Findings Report
# File lib/risu/templates/notable.rb, line 40 def render output report_classification report_title Report.title report_subtitle "Notable Vulnerabilities" report_author "This report was prepared by\n#{Report.author}" output.text "\n\n\n" output.text "Scan Date:", :style => :bold output.text "#{Report.scan_date}" output.text "\n" Item.top_10_table(output) end