Sha256: 0b67236d899dd4d8db463d8dad18d73f0efe700455064e79375033f95e3ff93a

Contents?: true

Size: 472 Bytes

Versions: 10

Compression:

Stored size: 472 Bytes

Contents

module Mihari
  class Rule < ActiveRecord::Base
    attr_accessor id(): String
    attr_accessor title(): String
    attr_accessor description(): String
    attr_accessor data(): Hash
    attr_accessor yaml(): String?

    def symbolized_data: () -> Hash

    def to_h: () -> Hash

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mihari-4.7.1 sig/lib/mihari/models/rule.rbs
mihari-4.7.0 sig/lib/mihari/models/rule.rbs
mihari-4.6.1 sig/lib/mihari/models/rule.rbs
mihari-4.6.0 sig/lib/mihari/models/rule.rbs
mihari-4.5.3 sig/lib/mihari/models/rule.rbs
mihari-4.5.2 sig/lib/mihari/models/rule.rbs
mihari-4.5.1 sig/lib/mihari/models/rule.rbs
mihari-4.5.0 sig/lib/mihari/models/rule.rbs
mihari-4.4.1 sig/lib/mihari/models/rule.rbs
mihari-4.4.0 sig/lib/mihari/models/rule.rbs