Sha256: d0183ca70fc71b04873bb6d731d25dd81a4370f97be7db0d608dce6fc62769b8

Contents?: true

Size: 755 Bytes

Versions: 9

Compression:

Stored size: 755 Bytes

Contents

module Mihari
  module Emitters
    class TheHive < Base
      attr_reader api_endpiont: String?

      attr_reader api_key: String?

      attr_reader api_version: String?

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

      def emit: (title: untyped title, description: untyped description, artifacts: untyped artifacts, ?tags: untyped tags, **untyped _options) -> (nil | untyped)

      def normalized_api_version: () -> String?

      private

      def configuration_keys: () -> ::Array["thehive_api_endpoint" | "thehive_api_key"]

      def api: () -> untyped

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

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mihari-4.9.0 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.8.0 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.7.4 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.7.3 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.7.2 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.7.1 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.7.0 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.6.1 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.6.0 sig/lib/mihari/emitters/the_hive.rbs