master
class Vulnerability < ApplicationRecord scope :filtered, ->(query_params) { where(severity: query_params) } end