Sha256: 6c619e8c7fa79be07f3658a2315ff135a32d75c57ef0daa655cc007f242d4e15

Contents?: true

Size: 666 Bytes

Versions: 6

Compression:

Stored size: 666 Bytes

Contents

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

      attr_reader api_key: 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)

      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

6 entries across 6 versions & 1 rubygems

Version Path
mihari-4.5.3 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.5.2 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.5.1 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.5.0 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.4.1 sig/lib/mihari/emitters/the_hive.rbs
mihari-4.4.0 sig/lib/mihari/emitters/the_hive.rbs