Download OpenAPI specification:Download
Create an alert
ruleId required | string |
artifacts required | Array of strings |
{- "ruleId": "string",
- "artifacts": [
- "string"
]
}
{- "id": "string",
- "ruleId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "artifacts": [
- {
- "id": "string",
- "data": "string",
- "dataType": "string",
- "source": "string",
- "tags": [
- "string"
]
}
], - "tags": [
- {
- "id": 0,
- "name": "string"
}
]
}
Search alerts
page | integer <int32> Default: 1 |
limit | integer <int32> Default: 10 |
artifact | string |
rule_id | string |
tag | string |
fromAt | string <date-time> |
toAt | string <date-time> |
[- {
- "alerts": [
- {
- "id": "string",
- "ruleId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "artifacts": [
- {
- "id": "string",
- "data": "string",
- "dataType": "string",
- "source": "string",
- "tags": [
- "string"
]
}
], - "tags": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "total": 0,
- "currentPage": 0,
- "pageSize": 0
}
]
{- "id": "string",
- "data": "string",
- "dataType": "string",
- "source": "string",
- "tags": [
- "string"
], - "metadata": { },
- "autonomousSystem": {
- "asn": 0
}, - "geolocation": {
- "country": "string",
- "countryCode": "string"
}, - "whoisRecord": {
- "domain": "string",
- "createdOn": "2019-08-24",
- "updatedOn": "2019-08-24",
- "expiresOn": "2019-08-24",
- "registrar": { },
- "contacts": [
- { }
]
}, - "reverseDnsNames": [
- {
- "name": "string"
}
], - "dnsRecords": [
- {
- "resource": "string",
- "value": "string"
}
], - "cpes": [
- {
- "cpe": "string"
}
], - "ports": [
- {
- "port": 0
}
]
}
Update a rule
id required | string |
yaml required | string |
{- "id": "string",
- "yaml": "string"
}
{- "id": "string",
- "title": "string",
- "description": "string",
- "yaml": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": 0,
- "name": "string"
}
]
}
Create a rule
yaml required | string |
{- "yaml": "string"
}
{- "id": "string",
- "title": "string",
- "description": "string",
- "yaml": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": 0,
- "name": "string"
}
]
}
Search rules
page | integer <int32> Default: 1 |
limit | integer <int32> Default: 10 |
title | string |
description | string |
tag | string |
fromAt | string <date-time> |
toAt | string <date-time> |
[- {
- "rules": [
- {
- "id": "string",
- "title": "string",
- "description": "string",
- "yaml": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "total": 0,
- "currentPage": 0,
- "pageSize": 0
}
]