mihari 3.6.1 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mihari/analyzers/base.rb +2 -17
- data/lib/mihari/database.rb +13 -0
- data/lib/mihari/enrichers/ipinfo.rb +38 -0
- data/lib/mihari/mixins/autonomous_system.rb +19 -0
- data/lib/mihari/models/artifact.rb +42 -3
- data/lib/mihari/models/autonomous_system.rb +20 -1
- data/lib/mihari/models/dns.rb +2 -0
- data/lib/mihari/models/geolocation.rb +21 -1
- data/lib/mihari/models/reverse_dns.rb +2 -0
- data/lib/mihari/models/whois.rb +1 -1
- data/lib/mihari/structs/ipinfo.rb +36 -0
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/controllers/artifacts_controller.rb +27 -1
- data/lib/mihari/web/controllers/ip_address_controller.rb +4 -19
- data/lib/mihari/web/public/index.html +1 -1
- data/lib/mihari/web/public/redoc-static.html +7 -6
- data/lib/mihari/web/public/static/js/app.06d5cf1c.js +36 -0
- data/lib/mihari/web/public/static/js/app.06d5cf1c.js.map +1 -0
- data/lib/mihari.rb +5 -0
- data/mihari.gemspec +3 -2
- data/sig/lib/mihari/analyzers/base.rbs +1 -10
- data/sig/lib/mihari/enrichers/ipinfo.rbs +14 -0
- data/sig/lib/mihari/mixins/autonomous_system.rbs +14 -0
- data/sig/lib/mihari/models/artifact.rbs +11 -0
- data/sig/lib/mihari/models/autonomous_system.rbs +9 -0
- data/sig/lib/mihari/models/geolocation.rbs +9 -0
- data/sig/lib/mihari/structs/ipinfo.rbs +17 -0
- metadata +28 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6e9001e10ac0891e2e10d90bccbd165afbdfc3bcd2724a3d5adf521b2be843b
|
4
|
+
data.tar.gz: 98119fae9302eb4251ceda56c1ddb0ab615fbf36d67505fd8af2ffb08f1dcfaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92ae37318ffb97ab4746cb44c266e63fba5c505a6c81c141be362c11ecf4e399850f1921b2907bf511f6b0a4ea5884642282f319962af1628fc8bf9e69503fa8
|
7
|
+
data.tar.gz: 45f2a2a748bb362a0daa7f9c3c7da5329cb7bab002f1ddcec4a56d111102d311471b3904b2d77f50f406e05f43deeacbd8f235e5ff4ae2dd2a0096a4dd98074d
|
@@ -8,6 +8,7 @@ module Mihari
|
|
8
8
|
class Base
|
9
9
|
extend Dry::Initializer
|
10
10
|
|
11
|
+
include Mixins::AutonomousSystem
|
11
12
|
include Mixins::Configurable
|
12
13
|
include Mixins::Retriable
|
13
14
|
|
@@ -111,9 +112,7 @@ module Mihari
|
|
111
112
|
#
|
112
113
|
def enriched_artifacts
|
113
114
|
@enriched_artifacts ||= unique_artifacts.map do |artifact|
|
114
|
-
artifact.
|
115
|
-
artifact.enrich_dns
|
116
|
-
artifact.enrich_reverse_dns
|
115
|
+
artifact.enrich_all
|
117
116
|
artifact
|
118
117
|
end
|
119
118
|
end
|
@@ -141,20 +140,6 @@ module Mihari
|
|
141
140
|
emitter.valid? ? emitter : nil
|
142
141
|
end.compact
|
143
142
|
end
|
144
|
-
|
145
|
-
#
|
146
|
-
# Normalize ASN value
|
147
|
-
#
|
148
|
-
# @param [String, Integer] asn
|
149
|
-
#
|
150
|
-
# @return [Integer]
|
151
|
-
#
|
152
|
-
def normalize_asn(asn)
|
153
|
-
return asn if asn.is_a?(Integer)
|
154
|
-
return asn.to_i unless asn.start_with?("AS")
|
155
|
-
|
156
|
-
asn.delete_prefix("AS").to_i
|
157
|
-
end
|
158
143
|
end
|
159
144
|
end
|
160
145
|
end
|
data/lib/mihari/database.rb
CHANGED
@@ -74,6 +74,17 @@ class EnrichmentsSchema < ActiveRecord::Migration[6.1]
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
class EnrichmentCreatedAtSchema < ActiveRecord::Migration[6.1]
|
78
|
+
def change
|
79
|
+
# Add created_at column because now it is able to enrich an atrifact after the creation
|
80
|
+
add_column :autonomous_systems, :created_at, :datetime, if_not_exists: true
|
81
|
+
add_column :geolocations, :created_at, :datetime, if_not_exists: true
|
82
|
+
add_column :whois_records, :created_at, :datetime, if_not_exists: true
|
83
|
+
add_column :dns_records, :created_at, :datetime, if_not_exists: true
|
84
|
+
add_column :reverse_dns_names, :created_at, :datetime, if_not_exists: true
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
77
88
|
def adapter
|
78
89
|
return "postgresql" if Mihari.config.database.start_with?("postgresql://", "postgres://")
|
79
90
|
return "mysql2" if Mihari.config.database.start_with?("mysql2://")
|
@@ -101,6 +112,7 @@ module Mihari
|
|
101
112
|
InitialSchema.migrate(:up)
|
102
113
|
AddeSourceToArtifactSchema.migrate(:up)
|
103
114
|
EnrichmentsSchema.migrate(:up)
|
115
|
+
EnrichmentCreatedAtSchema.migrate(:up)
|
104
116
|
rescue StandardError
|
105
117
|
# Do nothing
|
106
118
|
end
|
@@ -116,6 +128,7 @@ module Mihari
|
|
116
128
|
InitialSchema.migrate(:down)
|
117
129
|
AddeSourceToArtifactSchema.migrate(:down)
|
118
130
|
EnrichmentsSchema.migrate(:down)
|
131
|
+
EnrichmentCreatedAtSchema.migrate(:down)
|
119
132
|
end
|
120
133
|
end
|
121
134
|
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require "http"
|
2
|
+
require "json"
|
3
|
+
require "memist"
|
4
|
+
|
5
|
+
module Mihari
|
6
|
+
module Enrichers
|
7
|
+
class IPInfo
|
8
|
+
class << self
|
9
|
+
include Memist::Memoizable
|
10
|
+
|
11
|
+
#
|
12
|
+
# Query IPInfo
|
13
|
+
#
|
14
|
+
# @param [String] ip
|
15
|
+
#
|
16
|
+
# @return [Mihari::Structs::IPInfo::Response, nil]
|
17
|
+
#
|
18
|
+
def query(ip)
|
19
|
+
headers = {}
|
20
|
+
token = Mihari.config.ipinfo_api_key
|
21
|
+
unless token.nil?
|
22
|
+
headers[:authorization] = "Bearer #{token}"
|
23
|
+
end
|
24
|
+
|
25
|
+
begin
|
26
|
+
res = HTTP.headers(headers).get("https://ipinfo.io/#{ip}/json")
|
27
|
+
data = JSON.parse(res.body.to_s)
|
28
|
+
|
29
|
+
Structs::IPInfo::Response.from_dynamic! data
|
30
|
+
rescue HTTP::Error
|
31
|
+
nil
|
32
|
+
end
|
33
|
+
end
|
34
|
+
memoize :query
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Mihari
|
2
|
+
module Mixins
|
3
|
+
module AutonomousSystem
|
4
|
+
#
|
5
|
+
# Normalize ASN value
|
6
|
+
#
|
7
|
+
# @param [String, Integer] asn
|
8
|
+
#
|
9
|
+
# @return [Integer]
|
10
|
+
#
|
11
|
+
def normalize_asn(asn)
|
12
|
+
return asn if asn.is_a?(Integer)
|
13
|
+
return asn.to_i unless asn.start_with?("AS")
|
14
|
+
|
15
|
+
asn.delete_prefix("AS").to_i
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -16,6 +16,8 @@ end
|
|
16
16
|
|
17
17
|
module Mihari
|
18
18
|
class Artifact < ActiveRecord::Base
|
19
|
+
belongs_to :alert
|
20
|
+
|
19
21
|
has_one :autonomous_system, dependent: :destroy
|
20
22
|
has_one :geolocation, dependent: :destroy
|
21
23
|
has_one :whois_record, dependent: :destroy
|
@@ -80,6 +82,35 @@ module Mihari
|
|
80
82
|
self.reverse_dns_names = ReverseDnsName.build_by_ip(data)
|
81
83
|
end
|
82
84
|
|
85
|
+
#
|
86
|
+
# Enrich(add) geolocation
|
87
|
+
#
|
88
|
+
def enrich_geolocation
|
89
|
+
return unless can_enrich_geolocation?
|
90
|
+
|
91
|
+
self.geolocation = Geolocation.build_by_ip(data)
|
92
|
+
end
|
93
|
+
|
94
|
+
#
|
95
|
+
# Enrich(add) geolocation
|
96
|
+
#
|
97
|
+
def enrich_autonomous_system
|
98
|
+
return unless can_enrich_autonomous_system?
|
99
|
+
|
100
|
+
self.autonomous_system = AutonomousSystem.build_by_ip(data)
|
101
|
+
end
|
102
|
+
|
103
|
+
#
|
104
|
+
# Enrich all the enrichable relationships of the artifact
|
105
|
+
#
|
106
|
+
def enrich_all
|
107
|
+
enrich_autonomous_system
|
108
|
+
enrich_dns
|
109
|
+
enrich_geolocation
|
110
|
+
enrich_reverse_dns
|
111
|
+
enrich_whois
|
112
|
+
end
|
113
|
+
|
83
114
|
private
|
84
115
|
|
85
116
|
def normalize_as_domain(url_or_domain)
|
@@ -89,15 +120,23 @@ module Mihari
|
|
89
120
|
end
|
90
121
|
|
91
122
|
def can_enrich_whois?
|
92
|
-
%w[domain url].include?
|
123
|
+
%w[domain url].include?(data_type) && whois_record.nil?
|
93
124
|
end
|
94
125
|
|
95
126
|
def can_enrich_dns?
|
96
|
-
%w[domain url].include?
|
127
|
+
%w[domain url].include?(data_type) && dns_records.empty?
|
97
128
|
end
|
98
129
|
|
99
130
|
def can_enrich_revese_dns?
|
100
|
-
data_type == "ip"
|
131
|
+
data_type == "ip" && reverse_dns_names.empty?
|
132
|
+
end
|
133
|
+
|
134
|
+
def can_enrich_geolocation?
|
135
|
+
data_type == "ip" && geolocation.nil?
|
136
|
+
end
|
137
|
+
|
138
|
+
def can_enrich_autonomous_system?
|
139
|
+
data_type == "ip" && autonomous_system.nil?
|
101
140
|
end
|
102
141
|
end
|
103
142
|
end
|
@@ -4,6 +4,25 @@ require "active_record"
|
|
4
4
|
|
5
5
|
module Mihari
|
6
6
|
class AutonomousSystem < ActiveRecord::Base
|
7
|
-
|
7
|
+
belongs_to :artifact
|
8
|
+
|
9
|
+
class << self
|
10
|
+
#
|
11
|
+
# Build AS
|
12
|
+
#
|
13
|
+
# @param [String] ip
|
14
|
+
#
|
15
|
+
# @return [Mihari::AutonomousSystem, nil]
|
16
|
+
#
|
17
|
+
def build_by_ip(ip)
|
18
|
+
res = Enrichers::IPInfo.query(ip)
|
19
|
+
|
20
|
+
unless res.nil?
|
21
|
+
return new(asn: res.asn)
|
22
|
+
end
|
23
|
+
|
24
|
+
nil
|
25
|
+
end
|
26
|
+
end
|
8
27
|
end
|
9
28
|
end
|
data/lib/mihari/models/dns.rb
CHANGED
@@ -1,9 +1,29 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "active_record"
|
4
|
+
require "normalize_country"
|
4
5
|
|
5
6
|
module Mihari
|
6
7
|
class Geolocation < ActiveRecord::Base
|
7
|
-
|
8
|
+
belongs_to :artifact
|
9
|
+
|
10
|
+
class << self
|
11
|
+
#
|
12
|
+
# Build Geolocation
|
13
|
+
#
|
14
|
+
# @param [String] ip
|
15
|
+
#
|
16
|
+
# @return [Mihari::Geolocation, nil]
|
17
|
+
#
|
18
|
+
def build_by_ip(ip)
|
19
|
+
res = Enrichers::IPInfo.query(ip)
|
20
|
+
|
21
|
+
unless res.nil?
|
22
|
+
return new(country: NormalizeCountry(res.country_code, to: :short), country_code: res.country_code)
|
23
|
+
end
|
24
|
+
|
25
|
+
nil
|
26
|
+
end
|
27
|
+
end
|
8
28
|
end
|
9
29
|
end
|
data/lib/mihari/models/whois.rb
CHANGED
@@ -0,0 +1,36 @@
|
|
1
|
+
require "json"
|
2
|
+
require "dry/struct"
|
3
|
+
|
4
|
+
module Mihari
|
5
|
+
module Structs
|
6
|
+
module IPInfo
|
7
|
+
class Response < Dry::Struct
|
8
|
+
attribute :ip, Types::String
|
9
|
+
attribute :hostname, Types::String.optional
|
10
|
+
attribute :loc, Types::String
|
11
|
+
attribute :country_code, Types::String
|
12
|
+
attribute :asn, Types::Integer
|
13
|
+
|
14
|
+
class << self
|
15
|
+
include Mixins::AutonomousSystem
|
16
|
+
|
17
|
+
def from_dynamic!(d)
|
18
|
+
d = Types::Hash[d]
|
19
|
+
|
20
|
+
org = d.fetch("org")
|
21
|
+
asn = org.split.first
|
22
|
+
asn = normalize_asn(asn)
|
23
|
+
|
24
|
+
new(
|
25
|
+
ip: d.fetch("ip"),
|
26
|
+
loc: d.fetch("loc"),
|
27
|
+
hostname: d["hostname"],
|
28
|
+
country_code: d.fetch("country"),
|
29
|
+
asn: asn
|
30
|
+
)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
data/lib/mihari/version.rb
CHANGED
@@ -46,6 +46,32 @@ module Mihari
|
|
46
46
|
json artifact_json
|
47
47
|
end
|
48
48
|
|
49
|
+
get "/api/artifacts/:id/enrich" do
|
50
|
+
param :id, Integer, required: true
|
51
|
+
|
52
|
+
id = params["id"].to_i
|
53
|
+
|
54
|
+
begin
|
55
|
+
artifact = Mihari::Artifact.includes(
|
56
|
+
:autonomous_system,
|
57
|
+
:geolocation,
|
58
|
+
:whois_record,
|
59
|
+
:dns_records,
|
60
|
+
:reverse_dns_names
|
61
|
+
).find(id)
|
62
|
+
rescue ActiveRecord::RecordNotFound
|
63
|
+
status 404
|
64
|
+
|
65
|
+
return json({ message: "ID:#{id} is not found" })
|
66
|
+
end
|
67
|
+
|
68
|
+
artifact.enrich_all
|
69
|
+
artifact.save
|
70
|
+
|
71
|
+
status 201
|
72
|
+
body ""
|
73
|
+
end
|
74
|
+
|
49
75
|
delete "/api/artifacts/:id" do
|
50
76
|
param :id, Integer, required: true
|
51
77
|
|
@@ -53,7 +79,7 @@ module Mihari
|
|
53
79
|
|
54
80
|
begin
|
55
81
|
alert = Mihari::Artifact.find(id)
|
56
|
-
alert.
|
82
|
+
alert.destroy
|
57
83
|
|
58
84
|
status 204
|
59
85
|
body ""
|
@@ -1,34 +1,19 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "http"
|
4
|
-
require "json"
|
5
|
-
|
6
3
|
module Mihari
|
7
4
|
module Controllers
|
8
5
|
class IPAddressController < BaseController
|
9
|
-
def query(ip)
|
10
|
-
headers = {}
|
11
|
-
token = Mihari.config.ipinfo_api_key
|
12
|
-
unless token.nil?
|
13
|
-
headers[:authorization] = "Bearer #{token}"
|
14
|
-
end
|
15
|
-
|
16
|
-
res = HTTP.headers(headers).get("https://ipinfo.io/#{ip}/json")
|
17
|
-
JSON.parse res.to_s
|
18
|
-
end
|
19
|
-
|
20
6
|
get "/api/ip_addresses/:ip" do
|
21
7
|
param :ip, String, required: true
|
22
8
|
|
23
9
|
ip = params["ip"].to_s
|
24
10
|
|
25
|
-
|
26
|
-
|
27
|
-
json data
|
28
|
-
rescue HTTP::Error
|
11
|
+
data = Enrichers::IPInfo.query(ip)
|
12
|
+
if data.nil?
|
29
13
|
status 404
|
30
|
-
|
31
14
|
json({ message: "IP:#{ip} is not found" })
|
15
|
+
else
|
16
|
+
json data.to_hash
|
32
17
|
end
|
33
18
|
end
|
34
19
|
end
|
@@ -1 +1 @@
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/static/favicon.ico"><title>Mihari</title><link href="/static/js/app.
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/static/favicon.ico"><title>Mihari</title><link href="/static/js/app.06d5cf1c.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but Mihari doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/static/js/app.06d5cf1c.js"></script></body></html>
|
@@ -356,7 +356,7 @@ data-styled.g140[id="sc-amkrK"]{content:"icZuVc,"}/*!sc*/
|
|
356
356
|
|
357
357
|
<body>
|
358
358
|
|
359
|
-
<div id="redoc"><div class="sc-ellfGf bwfRit redoc-wrap"><div class="sc-dvUynV gAerEa menu-content" style="top:0px;height:calc(100vh - 0px)"><div role="search" class="sc-iIgjPs fQwboL"><svg class="sc-amkrK icZuVc search-icon" version="1.1" viewBox="0 0 1000 1000" x="0px" xmlns="http://www.w3.org/2000/svg" y="0px"><path d="M968.2,849.4L667.3,549c83.9-136.5,66.7-317.4-51.7-435.6C477.1-25,252.5-25,113.9,113.4c-138.5,138.3-138.5,362.6,0,501C219.2,730.1,413.2,743,547.6,666.5l301.9,301.4c43.6,43.6,76.9,14.9,104.2-12.4C981,928.3,1011.8,893,968.2,849.4z M524.5,522c-88.9,88.7-233,88.7-321.8,0c-88.9-88.7-88.9-232.6,0-321.3c88.9-88.7,233-88.7,321.8,0C613.4,289.4,613.4,433.3,524.5,522z"></path></svg><input type="text" value="" placeholder="Search..." aria-label="Search" class="sc-gstuGz gPCWYe search-input"/></div><div class="sc-bBjRSN bIbZvd scrollbar-container undefined"><ul class="sc-euEtCV jxJlxZ" role="navigation"><li data-item-id="tag/alerts" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="alerts" class="sc-dkQUaI hHRjJL">alerts</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/alerts/paths/~1api~1alerts/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get alerts</span></label></li><li data-item-id="tag/alerts/paths/~1api~1alerts~1{id}/delete" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="delete" class="sc-gIvpjk lkJIic operation-type delete">del</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Delete an alert</span></label></li></ul></li><li data-item-id="tag/tags" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="tags" class="sc-dkQUaI hHRjJL">tags</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/tags/paths/~1api~1tags~1/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get tags</span></label></li><li data-item-id="tag/tags/paths/~1api~1tags~1{name}/delete" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="delete" class="sc-gIvpjk lkJIic operation-type delete">del</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Delete a tag</span></label></li></ul></li><li data-item-id="tag/sources" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="sources" class="sc-dkQUaI hHRjJL">sources</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/sources/paths/~1api~1sources/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get sources</span></label></li></ul></li><li data-item-id="tag/artifacts" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="artifacts" class="sc-dkQUaI hHRjJL">artifacts</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/artifacts/paths/~1api~1artifacts~1{id}/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get an artifact</span></label></li><li data-item-id="tag/artifacts/paths/~1api~1artifacts~1{id}/delete" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="delete" class="sc-gIvpjk lkJIic operation-type delete">del</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Delete an artifact</span></label></li></ul></li><li data-item-id="tag/config" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="config" class="sc-dkQUaI hHRjJL">config</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/config/paths/~1api~1config/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get a config</span></label></li></ul></li><li data-item-id="tag/command" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="command" class="sc-dkQUaI hHRjJL">command</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/command/paths/~1api~1command/post" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="post" class="sc-gIvpjk lkJIic operation-type post">post</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Run a command</span></label></li></ul></li><li data-item-id="tag/analyzers" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="analyzers" class="sc-dkQUaI hHRjJL">analyzers</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/analyzers/paths/~1api~1analyzer/post" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="post" class="sc-gIvpjk lkJIic operation-type post">post</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Run an analyzer</span></label></li></ul></li><li data-item-id="tag/ip-addresses" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="ip addresses" class="sc-dkQUaI hHRjJL">ip addresses</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/ip-addresses/paths/~1api~1ip_addresses~1{ip}/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get an IP address information</span></label></li></ul></li></ul><div class="sc-WZYut gKXwn"><a target="_blank" rel="noopener noreferrer" href="https://github.com/Redocly/redoc">Documentation Powered by ReDoc</a></div></div></div><div class="sc-jtiXyc bymHyU"><div class="sc-kTCsyW dzKtIW"><svg class="" style="transform:translate(2px, -4px) rotate(180deg);transition:transform 0.2s ease" viewBox="0 0 926.23699 573.74994" version="1.1" x="0px" y="0px" width="15" height="15"><g transform="translate(904.92214,-879.1482)"><path d="
|
359
|
+
<div id="redoc"><div class="sc-ellfGf bwfRit redoc-wrap"><div class="sc-dvUynV gAerEa menu-content" style="top:0px;height:calc(100vh - 0px)"><div role="search" class="sc-iIgjPs fQwboL"><svg class="sc-amkrK icZuVc search-icon" version="1.1" viewBox="0 0 1000 1000" x="0px" xmlns="http://www.w3.org/2000/svg" y="0px"><path d="M968.2,849.4L667.3,549c83.9-136.5,66.7-317.4-51.7-435.6C477.1-25,252.5-25,113.9,113.4c-138.5,138.3-138.5,362.6,0,501C219.2,730.1,413.2,743,547.6,666.5l301.9,301.4c43.6,43.6,76.9,14.9,104.2-12.4C981,928.3,1011.8,893,968.2,849.4z M524.5,522c-88.9,88.7-233,88.7-321.8,0c-88.9-88.7-88.9-232.6,0-321.3c88.9-88.7,233-88.7,321.8,0C613.4,289.4,613.4,433.3,524.5,522z"></path></svg><input type="text" value="" placeholder="Search..." aria-label="Search" class="sc-gstuGz gPCWYe search-input"/></div><div class="sc-bBjRSN bIbZvd scrollbar-container undefined"><ul class="sc-euEtCV jxJlxZ" role="navigation"><li data-item-id="tag/alerts" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="alerts" class="sc-dkQUaI hHRjJL">alerts</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/alerts/paths/~1api~1alerts/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get alerts</span></label></li><li data-item-id="tag/alerts/paths/~1api~1alerts~1{id}/delete" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="delete" class="sc-gIvpjk lkJIic operation-type delete">del</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Delete an alert</span></label></li></ul></li><li data-item-id="tag/tags" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="tags" class="sc-dkQUaI hHRjJL">tags</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/tags/paths/~1api~1tags~1/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get tags</span></label></li><li data-item-id="tag/tags/paths/~1api~1tags~1{name}/delete" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="delete" class="sc-gIvpjk lkJIic operation-type delete">del</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Delete a tag</span></label></li></ul></li><li data-item-id="tag/sources" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="sources" class="sc-dkQUaI hHRjJL">sources</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/sources/paths/~1api~1sources/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get sources</span></label></li></ul></li><li data-item-id="tag/artifacts" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="artifacts" class="sc-dkQUaI hHRjJL">artifacts</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/artifacts/paths/~1api~1artifacts~1{id}/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get an artifact</span></label></li><li data-item-id="tag/artifacts/paths/~1api~1artifacts~1{id}/delete" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="delete" class="sc-gIvpjk lkJIic operation-type delete">del</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Delete an artifact</span></label></li><li data-item-id="tag/artifacts/paths/~1api~1artifacts~1{id}~1enrich/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Enrich an artifact</span></label></li></ul></li><li data-item-id="tag/config" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="config" class="sc-dkQUaI hHRjJL">config</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/config/paths/~1api~1config/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get a config</span></label></li></ul></li><li data-item-id="tag/command" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="command" class="sc-dkQUaI hHRjJL">command</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/command/paths/~1api~1command/post" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="post" class="sc-gIvpjk lkJIic operation-type post">post</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Run a command</span></label></li></ul></li><li data-item-id="tag/analyzers" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="analyzers" class="sc-dkQUaI hHRjJL">analyzers</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/analyzers/paths/~1api~1analyzer/post" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="post" class="sc-gIvpjk lkJIic operation-type post">post</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Run an analyzer</span></label></li></ul></li><li data-item-id="tag/ip-addresses" class="sc-fHCHyC cTzVOd"><label type="tag" role="menuitem" class="sc-dtLLSn pcWDP -depth1"><span title="ip addresses" class="sc-dkQUaI hHRjJL">ip addresses</span><svg class="sc-dIsUp gmNZmS" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-euEtCV gaEEuU"><li data-item-id="tag/ip-addresses/paths/~1api~1ip_addresses~1{ip}/get" class="sc-fHCHyC cTzVOd"><label role="menuitem" class="sc-dtLLSn jolsGY -depth2"><span type="get" class="sc-gIvpjk lkJIic operation-type get">get</span><span width="calc(100% - 38px)" class="sc-dkQUaI ipvKNC">Get an IP address information</span></label></li></ul></li></ul><div class="sc-WZYut gKXwn"><a target="_blank" rel="noopener noreferrer" href="https://github.com/Redocly/redoc">Documentation Powered by ReDoc</a></div></div></div><div class="sc-jtiXyc bymHyU"><div class="sc-kTCsyW dzKtIW"><svg class="" style="transform:translate(2px, -4px) rotate(180deg);transition:transform 0.2s ease" viewBox="0 0 926.23699 573.74994" version="1.1" x="0px" y="0px" width="15" height="15"><g transform="translate(904.92214,-879.1482)"><path d="
|
360
360
|
m -673.67664,1221.6502 -231.2455,-231.24803 55.6165,
|
361
361
|
-55.627 c 30.5891,-30.59485 56.1806,-55.627 56.8701,-55.627 0.6894,
|
362
362
|
0 79.8637,78.60862 175.9427,174.68583 l 174.6892,174.6858 174.6892,
|
@@ -375,19 +375,20 @@ data-styled.g140[id="sc-amkrK"]{content:"icZuVc,"}/*!sc*/
|
|
375
375
|
-231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688,
|
376
376
|
-104.0616 -231.873,-231.248 z
|
377
377
|
" fill="currentColor"></path></g></svg></div></div><div class="sc-kizEQm eWToXe api-content"><div class="sc-eCApnc fxZJZV"><div class="sc-iCoGMd KWWXd"><div class="sc-hKFxyN egQuEZ api-info"><h1 class="sc-fujyAs sc-fcmMJX cTueGk ikafbi">Mihari API<!-- --> <span>(<!-- -->1.0<!-- -->)</span></h1><p>Download OpenAPI specification<!-- -->:<a download="swagger.json" target="_blank" class="sc-GvhzO ksfJAW">Download</a></p><div class="sc-iBzEeX sc-cOifOu dFWqin bHzJuy"></div><div class="sc-iBzEeX sc-cOifOu dFWqin bHzJuy" data-role="redoc-summary"></div><div class="sc-iBzEeX sc-cOifOu dFWqin bHzJuy" data-role="redoc-description"></div></div></div></div><div id="tag/alerts" data-section-id="tag/alerts" class="sc-eCApnc fxZJZV"><div class="sc-iCoGMd KWWXd"><div class="sc-hKFxyN egQuEZ"><h1 class="sc-fujyAs cTueGk"><a class="sc-crzoAE iUxAWq" href="#tag/alerts" aria-label="tag/alerts"></a>alerts</h1></div></div></div><div id="tag/alerts/paths/~1api~1alerts/get" data-section-id="tag/alerts/paths/~1api~1alerts/get" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/alerts/paths/~1api~1alerts/get" aria-label="tag/alerts/paths/~1api~1alerts/get"></a>Get alerts<!-- --> </h2><div><h5 class="sc-iqAclL eONCmm">query<!-- --> Parameters</h5><table class="sc-hHEiqL dYlGyN"><tbody><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="page"><span class="sc-iemWCZ bcnRwz"></span><span>page</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">integer</span></div><div><span class="sc-fbIWvP CMpTe"> <!-- -->Default:<!-- --> </span> <span class="sc-fbIWvP sc-hmbstg CMpTe cfctgs">0</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="artifact"><span class="sc-iemWCZ bcnRwz"></span><span>artifact</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="description"><span class="sc-iemWCZ bcnRwz"></span><span>description</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="source"><span class="sc-iemWCZ bcnRwz"></span><span>source</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="tag"><span class="sc-iemWCZ bcnRwz"></span><span>tag</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="title"><span class="sc-iemWCZ bcnRwz"></span><span>title</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="toAt"><span class="sc-iemWCZ bcnRwz"></span><span>toAt</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="fromAt"><span class="sc-iemWCZ bcnRwz"></span><span>fromAt</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bCvCHz"><svg class="sc-dIsUp jLtOTj" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-jlZJtj jSPrUM">200<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>A list of matched alerts</p>
|
378
|
-
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="get" class="sc-jHcXXw cAOCuf http-verb get">get</span><span class="sc-xGAEC jRjoAh">/api/alerts</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/alerts</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-0" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-1" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-1" aria-labelledby="react-tabs-0"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"alerts"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"id"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"title"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"description"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"source"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"createdAt"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"tags"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"id"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"artifacts"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"id"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"data"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"dataType"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"source"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"currentPage"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"pageSize"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"total"</span>: <span class="token number">0</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/alerts/paths/~1api~1alerts~1{id}/delete" data-section-id="tag/alerts/paths/~1api~1alerts~1{id}/delete" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/alerts/paths/~1api~1alerts~1{id}/delete" aria-label="tag/alerts/paths/~1api~1alerts~1{id}/delete"></a>Delete an alert<!-- --> </h2><div><h5 class="sc-iqAclL eONCmm">path<!-- --> Parameters</h5><table class="sc-hHEiqL dYlGyN"><tbody><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="id"><span class="sc-iemWCZ bcnRwz"></span><span>id</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">integer</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bjdvNh" disabled=""><strong class="sc-jlZJtj jSPrUM">204<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>
|
378
|
+
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="get" class="sc-jHcXXw cAOCuf http-verb get">get</span><span class="sc-xGAEC jRjoAh">/api/alerts</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/alerts</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-0" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-1" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-1" aria-labelledby="react-tabs-0"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"alerts"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"id"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"title"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"description"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"source"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"createdAt"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"tags"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"id"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"artifacts"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"id"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"data"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"dataType"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"source"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"currentPage"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"pageSize"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"total"</span>: <span class="token number">0</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/alerts/paths/~1api~1alerts~1{id}/delete" data-section-id="tag/alerts/paths/~1api~1alerts~1{id}/delete" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/alerts/paths/~1api~1alerts~1{id}/delete" aria-label="tag/alerts/paths/~1api~1alerts~1{id}/delete"></a>Delete an alert<!-- --> </h2><div><h5 class="sc-iqAclL eONCmm">path<!-- --> Parameters</h5><table class="sc-hHEiqL dYlGyN"><tbody><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="id"><span class="sc-iemWCZ bcnRwz"></span><span>id</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">integer</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bjdvNh" disabled=""><strong class="sc-jlZJtj jSPrUM">204<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>An alert is deleted</p>
|
379
379
|
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="delete" class="sc-jHcXXw gemyvL http-verb delete">delete</span><span class="sc-xGAEC jRjoAh">/api/alerts/{id}</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/alerts/{id}</div></div></div></div></div></div></div></div><div id="tag/tags" data-section-id="tag/tags" class="sc-eCApnc fxZJZV"><div class="sc-iCoGMd KWWXd"><div class="sc-hKFxyN egQuEZ"><h1 class="sc-fujyAs cTueGk"><a class="sc-crzoAE iUxAWq" href="#tag/tags" aria-label="tag/tags"></a>tags</h1></div></div></div><div id="tag/tags/paths/~1api~1tags~1/get" data-section-id="tag/tags/paths/~1api~1tags~1/get" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/tags/paths/~1api~1tags~1/get" aria-label="tag/tags/paths/~1api~1tags~1/get"></a>Get tags<!-- --> </h2><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bCvCHz"><svg class="sc-dIsUp jLtOTj" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-jlZJtj jSPrUM">200<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>A list of tags</p>
|
380
|
-
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="get" class="sc-jHcXXw cAOCuf http-verb get">get</span><span class="sc-xGAEC jRjoAh">/api/tags/</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/tags/</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-2" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-3" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-3" aria-labelledby="react-tabs-2"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"id"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/tags/paths/~1api~1tags~1{name}/delete" data-section-id="tag/tags/paths/~1api~1tags~1{name}/delete" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/tags/paths/~1api~1tags~1{name}/delete" aria-label="tag/tags/paths/~1api~1tags~1{name}/delete"></a>Delete a tag<!-- --> </h2><div><h5 class="sc-iqAclL eONCmm">path<!-- --> Parameters</h5><table class="sc-hHEiqL dYlGyN"><tbody><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="name"><span class="sc-iemWCZ bcnRwz"></span><span>name</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bjdvNh" disabled=""><strong class="sc-jlZJtj jSPrUM">204<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>
|
380
|
+
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="get" class="sc-jHcXXw cAOCuf http-verb get">get</span><span class="sc-xGAEC jRjoAh">/api/tags/</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/tags/</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-2" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-3" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-3" aria-labelledby="react-tabs-2"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"id"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/tags/paths/~1api~1tags~1{name}/delete" data-section-id="tag/tags/paths/~1api~1tags~1{name}/delete" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/tags/paths/~1api~1tags~1{name}/delete" aria-label="tag/tags/paths/~1api~1tags~1{name}/delete"></a>Delete a tag<!-- --> </h2><div><h5 class="sc-iqAclL eONCmm">path<!-- --> Parameters</h5><table class="sc-hHEiqL dYlGyN"><tbody><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="name"><span class="sc-iemWCZ bcnRwz"></span><span>name</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bjdvNh" disabled=""><strong class="sc-jlZJtj jSPrUM">204<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>A tag is deleted</p>
|
381
381
|
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="delete" class="sc-jHcXXw gemyvL http-verb delete">delete</span><span class="sc-xGAEC jRjoAh">/api/tags/{name}</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/tags/{name}</div></div></div></div></div></div></div></div><div id="tag/sources" data-section-id="tag/sources" class="sc-eCApnc fxZJZV"><div class="sc-iCoGMd KWWXd"><div class="sc-hKFxyN egQuEZ"><h1 class="sc-fujyAs cTueGk"><a class="sc-crzoAE iUxAWq" href="#tag/sources" aria-label="tag/sources"></a>sources</h1></div></div></div><div id="tag/sources/paths/~1api~1sources/get" data-section-id="tag/sources/paths/~1api~1sources/get" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/sources/paths/~1api~1sources/get" aria-label="tag/sources/paths/~1api~1sources/get"></a>Get sources<!-- --> </h2><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bCvCHz"><svg class="sc-dIsUp jLtOTj" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-jlZJtj jSPrUM">200<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>A list of sources</p>
|
382
382
|
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="get" class="sc-jHcXXw cAOCuf http-verb get">get</span><span class="sc-xGAEC jRjoAh">/api/sources</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/sources</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-4" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-5" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-5" aria-labelledby="react-tabs-4"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><span class="token string">"string"</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/artifacts" data-section-id="tag/artifacts" class="sc-eCApnc fxZJZV"><div class="sc-iCoGMd KWWXd"><div class="sc-hKFxyN egQuEZ"><h1 class="sc-fujyAs cTueGk"><a class="sc-crzoAE iUxAWq" href="#tag/artifacts" aria-label="tag/artifacts"></a>artifacts</h1></div></div></div><div id="tag/artifacts/paths/~1api~1artifacts~1{id}/get" data-section-id="tag/artifacts/paths/~1api~1artifacts~1{id}/get" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/artifacts/paths/~1api~1artifacts~1{id}/get" aria-label="tag/artifacts/paths/~1api~1artifacts~1{id}/get"></a>Get an artifact<!-- --> </h2><div><h5 class="sc-iqAclL eONCmm">path<!-- --> Parameters</h5><table class="sc-hHEiqL dYlGyN"><tbody><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="id"><span class="sc-iemWCZ bcnRwz"></span><span>id</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">integer</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bCvCHz"><svg class="sc-dIsUp jLtOTj" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-jlZJtj jSPrUM">200<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>An artifact</p>
|
383
|
-
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="get" class="sc-jHcXXw cAOCuf http-verb get">get</span><span class="sc-xGAEC jRjoAh">/api/artifacts/{id}</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/artifacts/{id}</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-6" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-7" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-7" aria-labelledby="react-tabs-6"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"id"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"dataType"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"source"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"tags"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"string"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"reverseDnsNames"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"string"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"autonomousSystem"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"asn"</span>: <span class="token number">0</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"geolocation"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"country"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"countryCode"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"whoisRecord"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"domain"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"createdOn"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"updatedOn"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"expiresOn"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"registrar"</span>: <span class="token punctuation">{ }</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"contacts"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token punctuation">{ }</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"dnsRecords"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"resource"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"value"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/artifacts/paths/~1api~1artifacts~1{id}/delete" data-section-id="tag/artifacts/paths/~1api~1artifacts~1{id}/delete" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/artifacts/paths/~1api~1artifacts~1{id}/delete" aria-label="tag/artifacts/paths/~1api~1artifacts~1{id}/delete"></a>Delete an artifact<!-- --> </h2><div><h5 class="sc-iqAclL eONCmm">path<!-- --> Parameters</h5><table class="sc-hHEiqL dYlGyN"><tbody><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="id"><span class="sc-iemWCZ bcnRwz"></span><span>id</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">integer</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bjdvNh" disabled=""><strong class="sc-jlZJtj jSPrUM">204<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>
|
384
|
-
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="delete" class="sc-jHcXXw gemyvL http-verb delete">delete</span><span class="sc-xGAEC jRjoAh">/api/artifacts/{id}</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/artifacts/{id}</div></div></div></div></div></div></div></div><div id="tag/
|
383
|
+
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="get" class="sc-jHcXXw cAOCuf http-verb get">get</span><span class="sc-xGAEC jRjoAh">/api/artifacts/{id}</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/artifacts/{id}</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-6" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-7" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-7" aria-labelledby="react-tabs-6"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"id"</span>: <span class="token number">0</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"dataType"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"source"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"tags"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"string"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"reverseDnsNames"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"string"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"autonomousSystem"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"asn"</span>: <span class="token number">0</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"geolocation"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"country"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"countryCode"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"whoisRecord"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"domain"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"createdOn"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"updatedOn"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"expiresOn"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"registrar"</span>: <span class="token punctuation">{ }</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"contacts"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token punctuation">{ }</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"dnsRecords"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"resource"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"value"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/artifacts/paths/~1api~1artifacts~1{id}/delete" data-section-id="tag/artifacts/paths/~1api~1artifacts~1{id}/delete" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/artifacts/paths/~1api~1artifacts~1{id}/delete" aria-label="tag/artifacts/paths/~1api~1artifacts~1{id}/delete"></a>Delete an artifact<!-- --> </h2><div><h5 class="sc-iqAclL eONCmm">path<!-- --> Parameters</h5><table class="sc-hHEiqL dYlGyN"><tbody><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="id"><span class="sc-iemWCZ bcnRwz"></span><span>id</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">integer</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bjdvNh" disabled=""><strong class="sc-jlZJtj jSPrUM">204<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>An artifact is deleted</p>
|
384
|
+
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="delete" class="sc-jHcXXw gemyvL http-verb delete">delete</span><span class="sc-xGAEC jRjoAh">/api/artifacts/{id}</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/artifacts/{id}</div></div></div></div></div></div></div></div><div id="tag/artifacts/paths/~1api~1artifacts~1{id}~1enrich/get" data-section-id="tag/artifacts/paths/~1api~1artifacts~1{id}~1enrich/get" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/artifacts/paths/~1api~1artifacts~1{id}~1enrich/get" aria-label="tag/artifacts/paths/~1api~1artifacts~1{id}~1enrich/get"></a>Enrich an artifact<!-- --> </h2><div><h5 class="sc-iqAclL eONCmm">path<!-- --> Parameters</h5><table class="sc-hHEiqL dYlGyN"><tbody><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="id"><span class="sc-iemWCZ bcnRwz"></span><span>id</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">integer</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bjdvNh" disabled=""><strong class="sc-jlZJtj jSPrUM">201<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>An artifact is enriched</p>
|
385
|
+
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="get" class="sc-jHcXXw cAOCuf http-verb get">get</span><span class="sc-xGAEC jRjoAh">/api/artifacts/{id}/enrich</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/artifacts/{id}/enrich</div></div></div></div></div></div></div></div><div id="tag/config" data-section-id="tag/config" class="sc-eCApnc fxZJZV"><div class="sc-iCoGMd KWWXd"><div class="sc-hKFxyN egQuEZ"><h1 class="sc-fujyAs cTueGk"><a class="sc-crzoAE iUxAWq" href="#tag/config" aria-label="tag/config"></a>config</h1></div></div></div><div id="tag/config/paths/~1api~1config/get" data-section-id="tag/config/paths/~1api~1config/get" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/config/paths/~1api~1config/get" aria-label="tag/config/paths/~1api~1config/get"></a>Get a config<!-- --> </h2><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bCvCHz"><svg class="sc-dIsUp jLtOTj" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-jlZJtj jSPrUM">200<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>A dictionary of configuration items</p>
|
385
386
|
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="get" class="sc-jHcXXw cAOCuf http-verb get">get</span><span class="sc-xGAEC jRjoAh">/api/config</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/config</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-8" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-9" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-9" aria-labelledby="react-tabs-8"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"property1"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"isConfigured"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"type"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"values"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"key"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"value"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"property2"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"isConfigured"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"type"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"values"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"key"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"value"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/command" data-section-id="tag/command" class="sc-eCApnc fxZJZV"><div class="sc-iCoGMd KWWXd"><div class="sc-hKFxyN egQuEZ"><h1 class="sc-fujyAs cTueGk"><a class="sc-crzoAE iUxAWq" href="#tag/command" aria-label="tag/command"></a>command</h1></div></div></div><div id="tag/command/paths/~1api~1command/post" data-section-id="tag/command/paths/~1api~1command/post" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/command/paths/~1api~1command/post" aria-label="tag/command/paths/~1api~1command/post"></a>Run a command<!-- --> </h2><h5 class="sc-iqAclL eONCmm">Request Body schema: <span class="sc-jcwpoC joKODG">application/json</span></h5><div class="sc-iBzEeX sc-cOifOu dFWqin bHzJuy"></div><table class="sc-hHEiqL dYlGyN"><tbody><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="command"><span class="sc-iemWCZ bcnRwz"></span><span>command</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bCvCHz"><svg class="sc-dIsUp jLtOTj" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-jlZJtj jSPrUM">200<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>A result of a command</p>
|
386
387
|
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="post" class="sc-jHcXXw bXnXQF http-verb post">post</span><span class="sc-xGAEC jRjoAh">/api/command</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/command</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Request samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-10" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-11" tabindex="0">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-11" aria-labelledby="react-tabs-10"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"command"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-12" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-13" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-13" aria-labelledby="react-tabs-12"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"output"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"success"</span>: <span class="token boolean">true</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/analyzers" data-section-id="tag/analyzers" class="sc-eCApnc fxZJZV"><div class="sc-iCoGMd KWWXd"><div class="sc-hKFxyN egQuEZ"><h1 class="sc-fujyAs cTueGk"><a class="sc-crzoAE iUxAWq" href="#tag/analyzers" aria-label="tag/analyzers"></a>analyzers</h1></div></div></div><div id="tag/analyzers/paths/~1api~1analyzer/post" data-section-id="tag/analyzers/paths/~1api~1analyzer/post" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/analyzers/paths/~1api~1analyzer/post" aria-label="tag/analyzers/paths/~1api~1analyzer/post"></a>Run an analyzer<!-- --> </h2><h5 class="sc-iqAclL eONCmm">Request Body schema: <span class="sc-jcwpoC joKODG">application/json</span></h5><div class="sc-iBzEeX sc-cOifOu dFWqin bHzJuy"></div><table class="sc-hHEiqL dYlGyN"><tbody><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="title"><span class="sc-iemWCZ bcnRwz"></span><span>title</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="description"><span class="sc-iemWCZ bcnRwz"></span><span>description</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="source"><span class="sc-iemWCZ bcnRwz"></span><span>source</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="artifacts"><span class="sc-iemWCZ bcnRwz"></span><span>artifacts</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="tags"><span class="sc-iemWCZ bcnRwz"></span><span>tags</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV">Array of </span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">strings</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="ignoreOldArtifacts"><span class="sc-iemWCZ bcnRwz"></span><span>ignoreOldArtifacts</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">boolean</span></div><div><span class="sc-fbIWvP CMpTe"> <!-- -->Default:<!-- --> </span> <span class="sc-fbIWvP sc-hmbstg CMpTe cfctgs">false</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="ignoreThreshold"><span class="sc-iemWCZ bcnRwz"></span><span>ignoreThreshold</span></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">integer</span></div><div><span class="sc-fbIWvP CMpTe"> <!-- -->Default:<!-- --> </span> <span class="sc-fbIWvP sc-hmbstg CMpTe cfctgs">0</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bjdvNh" disabled=""><strong class="sc-jlZJtj jSPrUM">201<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>OK</p>
|
387
388
|
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="post" class="sc-jHcXXw bXnXQF http-verb post">post</span><span class="sc-xGAEC jRjoAh">/api/analyzer</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/analyzer</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Request samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-14" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-15" tabindex="0">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-15" aria-labelledby="react-tabs-14"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"title"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"description"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"source"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"artifacts"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"tags"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"string"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"ignoreOldArtifacts"</span>: <span class="token boolean">false</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"ignoreThreshold"</span>: <span class="token number">0</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/ip-addresses" data-section-id="tag/ip-addresses" class="sc-eCApnc fxZJZV"><div class="sc-iCoGMd KWWXd"><div class="sc-hKFxyN egQuEZ"><h1 class="sc-fujyAs cTueGk"><a class="sc-crzoAE iUxAWq" href="#tag/ip-addresses" aria-label="tag/ip-addresses"></a>ip addresses</h1></div></div></div><div id="tag/ip-addresses/paths/~1api~1ip_addresses~1{ip}/get" data-section-id="tag/ip-addresses/paths/~1api~1ip_addresses~1{ip}/get" class="sc-eCApnc bJnWIW"><div class="sc-iCoGMd sc-irKDMX KWWXd kBgcMI"><div class="sc-hKFxyN egQuEZ"><h2 class="sc-pNWdM euRMgx"><a class="sc-crzoAE iUxAWq" href="#tag/ip-addresses/paths/~1api~1ip_addresses~1{ip}/get" aria-label="tag/ip-addresses/paths/~1api~1ip_addresses~1{ip}/get"></a>Get an IP address information<!-- --> </h2><div><h5 class="sc-iqAclL eONCmm">path<!-- --> Parameters</h5><table class="sc-hHEiqL dYlGyN"><tbody><tr class="last undefined"><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="ip"><span class="sc-iemWCZ bcnRwz"></span><span>ip</span><div class="sc-TtZnY sc-jHNicF hUSnpT bsGeIE"> required </div></td><td class="sc-bkbkJK gWxDzL"><div><div><span class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV"></span><span class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC">string</span></div> <div><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-dTSzeu efuQZt">Responses</h3><div><button class="sc-jXcxbT bCvCHz"><svg class="sc-dIsUp jLtOTj" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-jlZJtj jSPrUM">200<!-- --> </strong><span class="sc-Arkif dXjyFC"><p>An IP address information</p>
|
388
389
|
</span></button></div></div></div><div class="sc-jSFjdj sc-gKAaRy hsSsLr gcushC"><div class="sc-kYPZxB jdCbTS"><button class="sc-dWBRfb jnEbBv"><span type="get" class="sc-jHcXXw cAOCuf http-verb get">get</span><span class="sc-xGAEC jRjoAh">/api/ip_addresses/{ip}</span><svg class="sc-dIsUp gGvkZD" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-bQCEYZ gBwOdz"><div class="sc-fXgAZx fKFAhr"><div class="sc-iBzEeX sc-cOifOu dFWqin cJyzuM"></div><div tabindex="0" role="button"><div class="sc-EZqKI gjiGnZ"><span></span>/api/ip_addresses/{ip}</div></div></div></div></div><div><h3 class="sc-kEqXSa iXmHCl"> <!-- -->Response samples<!-- --> </h3><div class="sc-carFqZ evYMTo" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-16" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-17" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-17" aria-labelledby="react-tabs-16"><div><div class="sc-hhIiOg lhdonw"><span class="sc-oeezt bmwRob">Content type</span><div class="sc-eJocfa jzRrfm">application/json</div></div><div class="sc-gGLxEB hINeXe"><div class="sc-iNiQyp cVHUjN"><div class="sc-efHYUO eQQUSD"><button><div class="sc-khIgEk llGFDD">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-iBzEeX dFWqin sc-jffHpj fqzhkP"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"ip"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"country"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"city"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"postal"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"region"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"timezone"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"hostname"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"loc"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"org"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div></div><div class="sc-cKRKFl gBTuHc"></div></div></div>
|
389
390
|
<script>
|
390
|
-
const __redoc_state = {"menu":{"activeItemIdx":-1},"spec":{"data":{"info":{"title":"Mihari API","version":"1.0"},"openapi":"3.0.0","paths":{"/api/alerts":{"get":{"summary":"Get alerts","tags":["alerts"],"parameters":[{"in":"query","name":"page","schema":{"type":"integer","default":0},"required":false},{"in":"query","name":"artifact","schema":{"type":"string"},"required":false},{"in":"query","name":"description","schema":{"type":"string"},"required":false},{"in":"query","name":"source","schema":{"type":"string"},"required":false},{"in":"query","name":"tag","schema":{"type":"string"},"required":false},{"in":"query","name":"title","schema":{"type":"string"},"required":false},{"in":"query","name":"toAt","schema":{"type":"string"},"required":false},{"in":"query","name":"fromAt","schema":{"type":"string"},"required":false}],"responses":{"200":{"description":"A list of matched alerts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertSearchResults"}}}}}}},"/api/alerts/{id}":{"delete":{"summary":"Delete an alert","tags":["alerts"],"parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"responses":{"204":{"description":"
|
391
|
+
const __redoc_state = {"menu":{"activeItemIdx":-1},"spec":{"data":{"info":{"title":"Mihari API","version":"1.0"},"openapi":"3.0.0","paths":{"/api/alerts":{"get":{"summary":"Get alerts","tags":["alerts"],"parameters":[{"in":"query","name":"page","schema":{"type":"integer","default":0},"required":false},{"in":"query","name":"artifact","schema":{"type":"string"},"required":false},{"in":"query","name":"description","schema":{"type":"string"},"required":false},{"in":"query","name":"source","schema":{"type":"string"},"required":false},{"in":"query","name":"tag","schema":{"type":"string"},"required":false},{"in":"query","name":"title","schema":{"type":"string"},"required":false},{"in":"query","name":"toAt","schema":{"type":"string"},"required":false},{"in":"query","name":"fromAt","schema":{"type":"string"},"required":false}],"responses":{"200":{"description":"A list of matched alerts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertSearchResults"}}}}}}},"/api/alerts/{id}":{"delete":{"summary":"Delete an alert","tags":["alerts"],"parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"responses":{"204":{"description":"An alert is deleted"}}}},"/api/tags/":{"get":{"summary":"Get tags","tags":["tags"],"responses":{"200":{"description":"A list of tags","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tags"}}}}}}},"/api/tags/{name}":{"delete":{"summary":"Delete a tag","tags":["tags"],"parameters":[{"in":"path","name":"name","schema":{"type":"string"},"required":true}],"responses":{"204":{"description":"A tag is deleted"}}}},"/api/sources":{"get":{"summary":"Get sources","tags":["sources"],"responses":{"200":{"description":"A list of sources","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sources"}}}}}}},"/api/artifacts/{id}":{"get":{"summary":"Get an artifact","tags":["artifacts"],"parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"responses":{"200":{"description":"An artifact","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactWithRelations"}}}}}},"delete":{"summary":"Delete an artifact","tags":["artifacts"],"parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"responses":{"204":{"description":"An artifact is deleted"}}}},"/api/artifacts/{id}/enrich":{"get":{"summary":"Enrich an artifact","tags":["artifacts"],"parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"responses":{"201":{"description":"An artifact is enriched"}}}},"/api/config":{"get":{"summary":"Get a config","tags":["config"],"responses":{"200":{"description":"A dictionary of configuration items","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Config"}}}}}}},"/api/command":{"post":{"summary":"Run a command","tags":["command"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandRequest"}}}},"responses":{"200":{"description":"A result of a command","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandResult"}}}}}}},"/api/analyzer":{"post":{"summary":"Run an analyzer","tags":["analyzers"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzerRequest"}}}},"responses":{"201":{"description":"OK"}}}},"/api/ip_addresses/{ip}":{"get":{"summary":"Get an IP address information","tags":["ip addresses"],"parameters":[{"in":"path","name":"ip","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"An IP address information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IPInfo"}}}}}}}},"components":{"schemas":{"Tag":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}}},"Tags":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Tag"}]}},"Sources":{"type":"array","items":{"allOf":[{"type":"string"}]}},"DnsRecord":{"type":"object","properties":{"resource":{"type":"string"},"value":{"type":"string"}}},"WhoisRecord":{"type":"object","properties":{"domain":{"type":"string"},"createdOn":{"type":"string","nullable":true},"updatedOn":{"type":"string","nullable":true},"expiresOn":{"type":"string","nullable":true},"registrar":{"type":"object","nullable":true},"contacts":{"type":"array","items":{"type":"object"}}}},"Geolocation":{"type":"object","properties":{"country":{"type":"string"},"countryCode":{"type":"string","nullable":true}}},"AutonomousSystem":{"type":"object","properties":{"asn":{"type":"integer"}}},"Artifact":{"type":"object","properties":{"id":{"type":"integer"},"data":{"type":"string"},"dataType":{"type":"string"},"source":{"type":"string","nullable":true}}},"ArtifactWithRelations":{"allOf":[{"$ref":"#/components/schemas/Artifact"},{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"}},"reverseDnsNames":{"type":"array","items":{"type":"string"},"nullable":true},"autonomousSystem":{"$ref":"#/components/schemas/AutonomousSystem","nullable":true},"geolocation":{"$ref":"#/components/schemas/Geolocation","nullable":true},"whoisRecord":{"$ref":"#/components/schemas/WhoisRecord","nullable":true},"dnsRecords":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/DnsRecord"}]},"nullable":true}}}]},"Alert":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"description":{"type":"string"},"source":{"type":"string"},"createdAt":{"type":"string"},"tags":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Tag"}]}},"artifacts":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Artifact"}]}}}},"AlertSearchResults":{"type":"object","properties":{"alerts":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Alert"}]}},"currentPage":{"type":"integer"},"pageSize":{"type":"integer"},"total":{"type":"integer"}}},"ConfigItemValue":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}},"ConfigItem":{"type":"object","properties":{"isConfigured":{"type":"boolean"},"type":{"type":"string"},"values":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/ConfigItemValue"}]}}}},"Config":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ConfigItem"}},"CommandRequest":{"type":"object","properties":{"command":{"type":"string"}}},"CommandResult":{"type":"object","properties":{"output":{"type":"string"},"success":{"type":"boolean"}}},"AnalyzerRequest":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"source":{"type":"string"},"artifacts":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"ignoreOldArtifacts":{"type":"boolean","default":false},"ignoreThreshold":{"type":"integer","default":0}},"required":["title","description","source","artifacts"]},"IPInfo":{"type":"object","properties":{"ip":{"type":"string"},"country":{"type":"string"},"city":{"type":"string"},"postal":{"type":"string"},"region":{"type":"string"},"timezone":{"type":"string"},"hostname":{"type":"string"},"loc":{"type":"string"},"org":{"type":"string"}}}}}}},"searchIndex":{"store":["tag/alerts","tag/alerts/paths/~1api~1alerts/get","tag/alerts/paths/~1api~1alerts~1{id}/delete","tag/tags","tag/tags/paths/~1api~1tags~1/get","tag/tags/paths/~1api~1tags~1{name}/delete","tag/sources","tag/sources/paths/~1api~1sources/get","tag/artifacts","tag/artifacts/paths/~1api~1artifacts~1{id}/get","tag/artifacts/paths/~1api~1artifacts~1{id}/delete","tag/artifacts/paths/~1api~1artifacts~1{id}~1enrich/get","tag/config","tag/config/paths/~1api~1config/get","tag/command","tag/command/paths/~1api~1command/post","tag/analyzers","tag/analyzers/paths/~1api~1analyzer/post","tag/ip-addresses","tag/ip-addresses/paths/~1api~1ip_addresses~1{ip}/get"],"index":{"version":"2.3.9","fields":["title","description"],"fieldVectors":[["title/0",[0,2.052]],["description/0",[]],["title/1",[0,2.052]],["description/1",[]],["title/2",[0,1.551,1,1.551]],["description/2",[]],["title/3",[2,2.052]],["description/3",[]],["title/4",[2,2.052]],["description/4",[]],["title/5",[1,1.551,2,1.551]],["description/5",[]],["title/6",[3,2.438]],["description/6",[]],["title/7",[3,2.438]],["description/7",[]],["title/8",[4,1.764]],["description/8",[]],["title/9",[4,1.764]],["description/9",[]],["title/10",[1,1.551,4,1.334]],["description/10",[]],["title/11",[4,1.334,5,2.285]],["description/11",[]],["title/12",[6,2.438]],["description/12",[]],["title/13",[6,2.438]],["description/13",[]],["title/14",[7,2.438]],["description/14",[]],["title/15",[7,1.842,8,1.842]],["description/15",[]],["title/16",[9,2.438]],["description/16",[]],["title/17",[8,1.842,9,1.842]],["description/17",[]],["title/18",[10,1.842,11,1.842]],["description/18",[]],["title/19",[10,1.481,11,1.481,12,1.836]],["description/19",[]]],"invertedIndex":[["address",{"_index":11,"title":{"18":{},"19":{}},"description":{}}],["alert",{"_index":0,"title":{"0":{},"1":{},"2":{}},"description":{}}],["analyz",{"_index":9,"title":{"16":{},"17":{}},"description":{}}],["artifact",{"_index":4,"title":{"8":{},"9":{},"10":{},"11":{}},"description":{}}],["command",{"_index":7,"title":{"14":{},"15":{}},"description":{}}],["config",{"_index":6,"title":{"12":{},"13":{}},"description":{}}],["delet",{"_index":1,"title":{"2":{},"5":{},"10":{}},"description":{}}],["enrich",{"_index":5,"title":{"11":{}},"description":{}}],["inform",{"_index":12,"title":{"19":{}},"description":{}}],["ip",{"_index":10,"title":{"18":{},"19":{}},"description":{}}],["run",{"_index":8,"title":{"15":{},"17":{}},"description":{}}],["sourc",{"_index":3,"title":{"6":{},"7":{}},"description":{}}],["tag",{"_index":2,"title":{"3":{},"4":{},"5":{}},"description":{}}]],"pipeline":[]}},"options":{}};
|
391
392
|
|
392
393
|
var container = document.getElementById('redoc');
|
393
394
|
Redoc.hydrate(__redoc_state, container);
|