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

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

Direct Known Subclasses

SearchFilterWithPagination

Instance Method Summary collapse

Instance Method Details

#valid_artifact_filters?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/mihari/structs/alert.rb', line 18

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