lib/deepsecurity/screenscraping.rb
# Enable vulnerability columns in DPI rules display
Enable vulnerability columns in DPI rules display
Enable vulnerability columns in DPI rules display
def payload_filters2_enable_vulnerability_columns
      action = "AddRemoveColumns.screen"
      parameters = {
          :screenSettingKey => "payloadFilter2s.",
          :columnDisplayNames => %w[ payloadFilter2s.column.cve payloadFilter2s.column.secunia payloadFilter2s.column.bugtraq payloadFilter2s.column.ms ].join(","),
          :columnAdminSettingNames => %w[ summaryCVE summarySECUNIA summaryBUGTRAQ summaryMS ].join(",")
      }
      settings = {
          "summaryCVE" => true,
          "summarySECUNIA" => true,
          "summaryBUGTRAQ" => true,
          "summaryMS" => true
      }
      post_setting(action, parameters, settings)
    end
def payload_filters2_enable_vulnerability_columns action = "AddRemoveColumns.screen" parameters = { :screenSettingKey => "payloadFilter2s." , :columnDisplayNames => %w[ payloadFilter2s.column.cve payloadFilter2s.column.secunia payloadFilter2s.column.bugtraq payloadFilter2s.column.ms ] . join ( "," ) , :columnAdminSettingNames => %w[ summaryCVE summarySECUNIA summaryBUGTRAQ summaryMS ] . join ( "," ) } settings = { "summaryCVE" => true , "summarySECUNIA" => true , "summaryBUGTRAQ" => true , "summaryMS" => true } post_setting ( action , parameters , settings ) end
Enable vulnerability columns in DPI rules display
Enable vulnerability columns in DPI rules display