Mihari API (1.0)

Download OpenAPI specification:Download

alerts

Get alerts

query Parameters
page
integer
Default: 0
artifact
string
description
string
source
string
tag
string
title
string
toAt
string
fromAt
string

Responses

Response samples

Content type
application/json
{
  • "alerts": [
    ],
  • "currentPage": 0,
  • "pageSize": 0,
  • "total": 0
}

Delete an alert

path Parameters
id
required
integer

Responses

tags

Get tags

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Delete a tag

path Parameters
name
required
string

Responses

sources

Get sources

Responses

Response samples

Content type
application/json
[
  • "string"
]

artifacts

Delete an artifact

path Parameters
id
required
integer

Responses

config

Get a config

Responses

Response samples

Content type
application/json
{
  • "property1": {
    },
  • "property2": {
    }
}

command

Run a command

Request Body schema: application/json
command
string

Responses

Request samples

Content type
application/json
{
  • "command": "string"
}

Response samples

Content type
application/json
{
  • "output": "string",
  • "success": true
}

analyzer

Run an analyzer

Request Body schema: application/json
title
required
string
description
required
string
source
required
string
artifacts
required
string
tags
Array of strings
ignoreOldArtifacts
boolean
Default: false
ignoreThreshold
integer
Default: 0

Responses

Request samples

Content type
application/json
{
  • "title": "string",
  • "description": "string",
  • "source": "string",
  • "artifacts": "string",
  • "tags": [
    ],
  • "ignoreOldArtifacts": false,
  • "ignoreThreshold": 0
}