Class: Mihari::Structs::Filters::Alert::SearchFilter

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/mihari/structs/filters.rb

Direct Known Subclasses

SearchFilterWithPagination

Instance Method Summary collapse

Instance Method Details

#valid_artifact_filters?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/mihari/structs/filters.rb', line 19

def valid_artifact_filters?
  !(artifact_data || asn || dns_record || reverse_dns_name).nil?
end