Download OpenAPI specification:Download
Create an alert
ruleId required | string |
artifacts required | Array of strings |
source | string |
{- "ruleId": "string",
- "artifacts": [
- "string"
], - "source": "string"
}
{- "id": 0,
- "ruleId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "artifacts": [
- {
- "id": 0,
- "data": "string",
- "dataType": "string",
- "source": "string",
- "query": "string",
- "metadata": { },
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "tags": [
- {
- "id": 0,
- "name": "string"
}
]
}
List/search alerts
q | string Default: "" |
page | integer <int32> Default: 1 |
limit | integer <int32> Default: 10 |
[- {
- "total": 0,
- "currentPage": 0,
- "pageSize": 0,
- "results": [
- {
- "id": 0,
- "ruleId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "artifacts": [
- {
- "id": 0,
- "data": "string",
- "dataType": "string",
- "source": "string",
- "query": "string",
- "metadata": { },
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "tags": [
- {
- "id": 0,
- "name": "string"
}
]
}
]
}
]
{- "id": 0,
- "ruleId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "artifacts": [
- {
- "id": 0,
- "data": "string",
- "dataType": "string",
- "source": "string",
- "query": "string",
- "metadata": { },
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "tags": [
- {
- "id": 0,
- "name": "string"
}
]
}
{- "id": 0,
- "data": "string",
- "dataType": "string",
- "source": "string",
- "query": "string",
- "metadata": { },
- "createdAt": "2019-08-24T14:15:22Z",
- "tags": [
- {
- "id": 0,
- "name": "string"
}
], - "autonomousSystem": {
- "asn": 0
}, - "geolocation": {
- "country": "string",
- "countryCode": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "whoisRecord": {
- "domain": "string",
- "createdOn": "2019-08-24",
- "updatedOn": "2019-08-24",
- "expiresOn": "2019-08-24",
- "registrar": { },
- "contacts": [
- { }
], - "createdAt": "2019-08-24T14:15:22Z"
}, - "reverseDnsNames": [
- {
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "dnsRecords": [
- {
- "resource": "string",
- "value": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "cpes": [
- {
- "cpe": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "ports": [
- {
- "port": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}
List/search artifacts
q | string Default: "" |
page | integer <int32> Default: 1 |
limit | integer <int32> Default: 10 |
[- {
- "total": 0,
- "currentPage": 0,
- "pageSize": 0,
- "results": [
- {
- "id": 0,
- "data": "string",
- "dataType": "string",
- "source": "string",
- "query": "string",
- "metadata": { },
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}
]
Update 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"
}
]
}
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"
}
]
}
List/search rules
q | string Default: "" |
page | integer <int32> Default: 1 |
limit | integer <int32> Default: 10 |
[- {
- "total": 0,
- "currentPage": 0,
- "pageSize": 0,
- "results": [
- {
- "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"
}
]
}
]
}
]