POST /data_classification/qid_records
Creates a new QID record.
Creates a new QID record.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
fields |
header |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
Parameter | Data Type | MIME Type | Description | Sample |
---|---|---|---|---|
data |
Object |
application/json |
Required - A QID record containing the following fields:
|
{ "log_source_type_id": 199, "name": "spp_portscan: Portscan Detected", "description": "spp_portscan: Portscan Detected", "severity": 4, "low_level_category_id":1008 } |
HTTP Response Code | Unique Code | Description |
---|---|---|
201 |
The new QID record was created. |
|
422 |
1005 |
Invalid parameter value provided for the new QID record. |
500 |
1020 |
An error occurred during the attempt to create a new QID record. |
Response Description
The newly created QID record containing the following fields:
- id - Number - The ID of the QID record.
- qid - Number - The QID of the QID record.
- name - String - The name of the QID record.
- description - String - The description of the QID record.
- severity - Number - The severity of the QID record.
- low_level_category_id - Number - The low level category ID of the QID record.
- log_source_type_id - Number - A placeholder with null value to ensure data structure consistency among endpoints.
- uuid - String - The uuid of the QID record.
Response Sample
{
"id": 63998,
"qid": 2500001,
"name": "spp_portscan: Portscan Detected",
"description": "spp_portscan: Portscan Detected",
"severity": 4,
"low_level_category_id": 1008,
"log_source_type_id": null
}