sig/lib/mihari/emitters/misp.rbs in mihari-4.9.0 vs sig/lib/mihari/emitters/misp.rbs in mihari-4.10.0

- old
+ new

@@ -1,10 +1,10 @@ module Mihari module Emitters class MISP < Base - attr_reader api_endpiont: String? + attr_reader url: String? attr_reader api_key: String? def initialize: () -> void @@ -14,18 +14,18 @@ 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 configuration_keys: () -> ::Array["misp_url" | "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 url?: () -> bool def api_key?: () -> bool def ping?: () -> bool end