mihari 3.7.1 → 3.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -374,7 +374,7 @@ data-styled.g140[id="sc-amkrK"]{content:"icZuVc,"}/*!sc*/
374
374
  55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864
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
- " 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>
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><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><tr><td class="sc-hBMUJo sc-fFSPTT fABPTr eQzShU" kind="field" title="asn"><span class="sc-iemWCZ bcnRwz"></span><span>asn</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><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="dnsRecord"><span class="sc-iemWCZ bcnRwz"></span><span>dnsRecord</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="reverseDnsName"><span class="sc-iemWCZ bcnRwz"></span><span>reverseDnsName</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
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">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"description"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"source"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"createdAt"</span>: <span class="token string">&quot;string&quot;</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">&quot;string&quot;</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">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"dataType"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"source"</span>: <span class="token string">&quot;string&quot;</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
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">&quot;string&quot;</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>
@@ -388,7 +388,7 @@ data-styled.g140[id="sc-amkrK"]{content:"icZuVc,"}/*!sc*/
388
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">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"description"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"source"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"artifacts"</span>: <span class="token string">&quot;string&quot;</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">&quot;string&quot;</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>
389
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">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"country"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"city"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"postal"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"region"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"timezone"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"hostname"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"loc"</span>: <span class="token string">&quot;string&quot;</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"org"</span>: <span class="token string">&quot;string&quot;</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>
390
390
  <script>
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
+ 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},{"in":"query","name":"asn","schema":{"type":"integer"},"required":false},{"in":"query","name":"dnsRecord","schema":{"type":"string"},"required":false},{"in":"query","name":"reverseDnsName","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":{}};
392
392
 
393
393
  var container = document.getElementById('redoc');
394
394
  Redoc.hydrate(__redoc_state, container);