Sha256: 9f796bc5979ba53bdf55ebb5b55a8e612e4637edf5b299a2b69882b52912e954

Contents?: true

Size: 563 Bytes

Versions: 16

Compression:

Stored size: 563 Bytes

Contents

module Mihari
  class Alert < ActiveRecord::Base
    attr_accessor title (): String
    attr_accessor description (): String?
    attr_accessor source (): String

    attr_accessor artifacts(): Array[Mihari::Artifact]
    attr_accessor Tags(): Array[Mihari::Tag]

    def self.search: (Mihari::Structs::Alert::SearchFilterWithPagination filter) -> Array[Mihari::Alert]

    def self.count: (Mihari::Structs::Alert::SearchFilter filter) -> Integer

    private

    def self.build_relation: (Mihari::Structs::Alert::SearchFilter filter) -> Mihari::Alert
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mihari-4.7.1 sig/lib/mihari/models/alert.rbs
mihari-4.7.0 sig/lib/mihari/models/alert.rbs
mihari-4.6.1 sig/lib/mihari/models/alert.rbs
mihari-4.6.0 sig/lib/mihari/models/alert.rbs
mihari-4.5.3 sig/lib/mihari/models/alert.rbs
mihari-4.5.2 sig/lib/mihari/models/alert.rbs
mihari-4.5.1 sig/lib/mihari/models/alert.rbs
mihari-4.5.0 sig/lib/mihari/models/alert.rbs
mihari-4.4.1 sig/lib/mihari/models/alert.rbs
mihari-4.4.0 sig/lib/mihari/models/alert.rbs
mihari-4.3.0 sig/lib/mihari/models/alert.rbs
mihari-4.2.0 sig/lib/mihari/models/alert.rbs
mihari-4.1.2 sig/lib/mihari/models/alert.rbs
mihari-4.1.1 sig/lib/mihari/models/alert.rbs
mihari-4.1.0 sig/lib/mihari/models/alert.rbs
mihari-4.0.0 sig/lib/mihari/models/alert.rbs