Sha256: 76579809f26963fd644e734cd565671fb8a0bb35bd26b53f27a3a85d86dcab82

Contents?: true

Size: 774 Bytes

Versions: 15

Compression:

Stored size: 774 Bytes

Contents

module Mihari
  module Emitters
    class MISP < Base

      attr_reader api_endpiont: String?

      attr_reader api_key: String?


      def initialize: () -> void

      # @return [true, false]
      def valid?: () -> bool

      def emit: (title: String title, artifacts: Array[Mihari::Artifact] artifacts, ?tags: Array[String] tags, **untyped _options) -> void

      private

      def configuration_keys: () -> ::Array["misp_api_endpoint" | "misp_api_key"]

      def build_attribute: (Mihari::Artifact artifact) -> untyped

      def hash_type: (String value) -> String?

      def to_misp_type: (type: String `type`, value: String value) -> String?

      def api_endpoint?: () -> bool

      def api_key?: () -> bool

      def ping?: () -> bool
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mihari-4.9.0 sig/lib/mihari/emitters/misp.rbs
mihari-4.8.0 sig/lib/mihari/emitters/misp.rbs
mihari-4.7.4 sig/lib/mihari/emitters/misp.rbs
mihari-4.7.3 sig/lib/mihari/emitters/misp.rbs
mihari-4.7.2 sig/lib/mihari/emitters/misp.rbs
mihari-4.7.1 sig/lib/mihari/emitters/misp.rbs
mihari-4.7.0 sig/lib/mihari/emitters/misp.rbs
mihari-4.6.1 sig/lib/mihari/emitters/misp.rbs
mihari-4.6.0 sig/lib/mihari/emitters/misp.rbs
mihari-4.5.3 sig/lib/mihari/emitters/misp.rbs
mihari-4.5.2 sig/lib/mihari/emitters/misp.rbs
mihari-4.5.1 sig/lib/mihari/emitters/misp.rbs
mihari-4.5.0 sig/lib/mihari/emitters/misp.rbs
mihari-4.4.1 sig/lib/mihari/emitters/misp.rbs
mihari-4.4.0 sig/lib/mihari/emitters/misp.rbs