Sha256: 4307fa9b9c5a2451e1126419a94f6c2374585a9175da997bf255b4848f6a5fa0

Contents?: true

Size: 889 Bytes

Versions: 19

Compression:

Stored size: 889 Bytes

Contents

  module Dawn
    module Kb
      class NotRevisedCode
        include PatternMatchCheck


        def initialize
          super({:name=>"Not revised code",
                :cvss=>"",
                :release_date=>nil,
                :cwe=>"",
                :owasp=>"",
                :applies=>["sinatra", "rails", "padrino"],
                :kind=>Dawn::KnowledgeBase::PATTERN_MATCH_CHECK,
                :message=>"Analyzing comments, it seems your code is waiting from some review from you. Please consider take action before putting it in production.\nThis check will analyze the source code looking for the following patterns: XXX, TO_CHECK, CHECKME, CHECK and FIXME",
                :mitigation=>"Please review the file fixing the issue.",
                :attack_pattern => ["XXX", "TO_CHECK", "CHECKME", "CHECK", "FIXME"]
          })
        end
      end
    end
  end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
dawnscanner-1.6.9 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.6.8 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.6.7 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.6.6 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.6.5 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.6.4 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.6.3 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.6.2 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.6.1 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.6.0 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.5.2 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.5.1 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.5.0 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.4.2 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.4.1 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.4.0 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.3.5 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.3.1 lib/dawn/kb/not_revised_code.rb
dawnscanner-1.3.0 lib/dawn/kb/not_revised_code.rb