lib/salus/scanners/base.rb
def report_warn(type, message)
      @report.warn(type, message)
      if @salus_report&.builds
        scanner = @report.scanner_name
        message = "#{scanner} warning: #{type}, #{message}, build: #{@salus_report.builds}"
      end
      bugsnag_notify(message)
    end
# Report a scanner warning such as a possible misconfiguration
Report a scanner warning such as a possible misconfiguration
Report a scanner warning such as a possible misconfiguration
def report_warn(type, message)
      @report.warn(type, message)
      if @salus_report&.builds
        scanner = @report.scanner_name
        message = "#{scanner} warning: #{type}, #{message}, build: #{@salus_report.builds}"
      end
      bugsnag_notify(message)
    end
def report_warn ( type , message ) @report . warn ( type , message ) if @salus_report &. builds scanner = @report . scanner_name message = "#{scanner} warning: #{type}, #{message}, build: #{@salus_report.builds}" end bugsnag_notify ( message ) end
Report a scanner warning such as a possible misconfiguration
Report a scanner warning such as a possible misconfiguration
type
message