mirror of https://github.com/MISP/MISP
fix: [db_schema] updated
parent
fcbc595a76
commit
b504efc67b
196
db_schema.json
196
db_schema.json
|
@ -1035,17 +1035,6 @@
|
|||
"column_default": null,
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "comment",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "text",
|
||||
"character_maximum_length": "65535",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8mb4_unicode_ci",
|
||||
"column_type": "text",
|
||||
"column_default": null,
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "from_json",
|
||||
"is_nullable": "YES",
|
||||
|
@ -1056,6 +1045,17 @@
|
|||
"column_type": "tinyint(1)",
|
||||
"column_default": "0",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "comment",
|
||||
"is_nullable": "YES",
|
||||
"data_type": "text",
|
||||
"character_maximum_length": "65535",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8mb4_unicode_ci",
|
||||
"column_type": "text",
|
||||
"column_default": null,
|
||||
"extra": ""
|
||||
}
|
||||
],
|
||||
"dashboards": [
|
||||
|
@ -2471,17 +2471,6 @@
|
|||
"column_default": "0",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "local_only",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "tinyint",
|
||||
"character_maximum_length": null,
|
||||
"numeric_precision": "3",
|
||||
"collation_name": null,
|
||||
"column_type": "tinyint(1)",
|
||||
"column_default": "0",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "kill_chain_order",
|
||||
"is_nullable": "YES",
|
||||
|
@ -3720,7 +3709,7 @@
|
|||
},
|
||||
{
|
||||
"column_name": "comment",
|
||||
"is_nullable": "YES",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "text",
|
||||
"character_maximum_length": "65535",
|
||||
"numeric_precision": null,
|
||||
|
@ -4220,7 +4209,7 @@
|
|||
"numeric_precision": null,
|
||||
"collation_name": "utf8_bin",
|
||||
"column_type": "varchar(255)",
|
||||
"column_default": null,
|
||||
"column_default": "",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
|
@ -4247,46 +4236,46 @@
|
|||
},
|
||||
{
|
||||
"column_name": "description",
|
||||
"is_nullable": "YES",
|
||||
"data_type": "text",
|
||||
"character_maximum_length": "65535",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "varchar",
|
||||
"character_maximum_length": "255",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8_unicode_ci",
|
||||
"column_type": "text",
|
||||
"column_default": null,
|
||||
"collation_name": "utf8_bin",
|
||||
"column_type": "varchar(255)",
|
||||
"column_default": "",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "type",
|
||||
"is_nullable": "YES",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "varchar",
|
||||
"character_maximum_length": "255",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8_unicode_ci",
|
||||
"collation_name": "utf8_bin",
|
||||
"column_type": "varchar(255)",
|
||||
"column_default": null,
|
||||
"column_default": "",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "nationality",
|
||||
"is_nullable": "YES",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "varchar",
|
||||
"character_maximum_length": "255",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8_unicode_ci",
|
||||
"collation_name": "utf8_bin",
|
||||
"column_type": "varchar(255)",
|
||||
"column_default": null,
|
||||
"column_default": "",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "sector",
|
||||
"is_nullable": "YES",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "varchar",
|
||||
"character_maximum_length": "255",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8_unicode_ci",
|
||||
"collation_name": "utf8_bin",
|
||||
"column_type": "varchar(255)",
|
||||
"column_default": null,
|
||||
"column_default": "",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
|
@ -4403,7 +4392,7 @@
|
|||
},
|
||||
{
|
||||
"column_name": "comment",
|
||||
"is_nullable": "NO",
|
||||
"is_nullable": "YES",
|
||||
"data_type": "text",
|
||||
"character_maximum_length": "65535",
|
||||
"numeric_precision": null,
|
||||
|
@ -5046,6 +5035,17 @@
|
|||
"column_type": "tinyint(1)",
|
||||
"column_default": "0",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "perm_warninglist",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "tinyint",
|
||||
"character_maximum_length": null,
|
||||
"numeric_precision": "3",
|
||||
"collation_name": null,
|
||||
"column_type": "tinyint(1)",
|
||||
"column_default": "0",
|
||||
"extra": ""
|
||||
}
|
||||
],
|
||||
"servers": [
|
||||
|
@ -5460,7 +5460,7 @@
|
|||
},
|
||||
{
|
||||
"column_name": "comment",
|
||||
"is_nullable": "YES",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "text",
|
||||
"character_maximum_length": "65535",
|
||||
"numeric_precision": null,
|
||||
|
@ -5901,7 +5901,7 @@
|
|||
"numeric_precision": "10",
|
||||
"collation_name": null,
|
||||
"column_type": "int(11)",
|
||||
"column_default": "NULL",
|
||||
"column_default": null,
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
|
@ -5912,7 +5912,7 @@
|
|||
"numeric_precision": null,
|
||||
"collation_name": "utf8mb4_unicode_ci",
|
||||
"column_type": "text",
|
||||
"column_default": "NULL",
|
||||
"column_default": null,
|
||||
"extra": ""
|
||||
}
|
||||
],
|
||||
|
@ -6061,7 +6061,7 @@
|
|||
"numeric_precision": null,
|
||||
"collation_name": "utf8mb4_general_ci",
|
||||
"column_type": "varchar(255)",
|
||||
"column_default": "http:\/\/localhost",
|
||||
"column_default": "http://localhost",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
|
@ -6256,30 +6256,6 @@
|
|||
"extra": ""
|
||||
}
|
||||
],
|
||||
"system_settings": [
|
||||
{
|
||||
"column_name": "setting",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "varchar",
|
||||
"character_maximum_length": "255",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8mb4_unicode_ci",
|
||||
"column_type": "varchar(255)",
|
||||
"column_default": null,
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "value",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "blob",
|
||||
"character_maximum_length": "65535",
|
||||
"numeric_precision": null,
|
||||
"collation_name": null,
|
||||
"column_type": "blob",
|
||||
"column_default": null,
|
||||
"extra": ""
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
{
|
||||
"column_name": "id",
|
||||
|
@ -6391,17 +6367,6 @@
|
|||
"column_default": "0",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "local_only",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "tinyint",
|
||||
"character_maximum_length": null,
|
||||
"numeric_precision": "3",
|
||||
"collation_name": null,
|
||||
"column_type": "tinyint(1)",
|
||||
"column_default": "0",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "local_only",
|
||||
"is_nullable": "NO",
|
||||
|
@ -6577,10 +6542,10 @@
|
|||
"column_name": "process_id",
|
||||
"is_nullable": "YES",
|
||||
"data_type": "varchar",
|
||||
"character_maximum_length": "36",
|
||||
"character_maximum_length": "32",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "latin1_swedish_ci",
|
||||
"column_type": "varchar(36)",
|
||||
"column_type": "varchar(32)",
|
||||
"column_default": null,
|
||||
"extra": ""
|
||||
},
|
||||
|
@ -7767,17 +7732,6 @@
|
|||
"column_default": "string",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "category",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "varchar",
|
||||
"character_maximum_length": "20",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8_general_ci",
|
||||
"column_type": "varchar(20)",
|
||||
"column_default": "false_positive",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "description",
|
||||
"is_nullable": "NO",
|
||||
|
@ -7821,6 +7775,17 @@
|
|||
"column_type": "tinyint(1)",
|
||||
"column_default": "1",
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "category",
|
||||
"is_nullable": "NO",
|
||||
"data_type": "varchar",
|
||||
"character_maximum_length": "20",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8_general_ci",
|
||||
"column_type": "varchar(20)",
|
||||
"column_default": "false_positive",
|
||||
"extra": ""
|
||||
}
|
||||
],
|
||||
"warninglist_entries": [
|
||||
|
@ -7846,17 +7811,6 @@
|
|||
"column_default": null,
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "comment",
|
||||
"is_nullable": "YES",
|
||||
"data_type": "text",
|
||||
"character_maximum_length": "65535",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8_unicode_ci",
|
||||
"column_type": "text",
|
||||
"column_default": null,
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "warninglist_id",
|
||||
"is_nullable": "NO",
|
||||
|
@ -7867,6 +7821,17 @@
|
|||
"column_type": "int(11)",
|
||||
"column_default": null,
|
||||
"extra": ""
|
||||
},
|
||||
{
|
||||
"column_name": "comment",
|
||||
"is_nullable": "YES",
|
||||
"data_type": "text",
|
||||
"character_maximum_length": "65535",
|
||||
"numeric_precision": null,
|
||||
"collation_name": "utf8_general_ci",
|
||||
"column_type": "text",
|
||||
"column_default": null,
|
||||
"extra": ""
|
||||
}
|
||||
],
|
||||
"warninglist_types": [
|
||||
|
@ -8053,8 +8018,8 @@
|
|||
},
|
||||
"galaxies": {
|
||||
"id": true,
|
||||
"name": false,
|
||||
"uuid": true,
|
||||
"name": false,
|
||||
"type": false,
|
||||
"namespace": false
|
||||
},
|
||||
|
@ -8133,12 +8098,12 @@
|
|||
},
|
||||
"objects": {
|
||||
"id": true,
|
||||
"uuid": true,
|
||||
"name": false,
|
||||
"template_uuid": false,
|
||||
"template_version": false,
|
||||
"meta-category": false,
|
||||
"event_id": false,
|
||||
"uuid": true,
|
||||
"timestamp": false,
|
||||
"distribution": false,
|
||||
"sharing_group_id": false,
|
||||
|
@ -8171,8 +8136,8 @@
|
|||
},
|
||||
"organisations": {
|
||||
"id": true,
|
||||
"uuid": true,
|
||||
"name": true
|
||||
"name": true,
|
||||
"uuid": true
|
||||
},
|
||||
"org_blocklists": {
|
||||
"id": true,
|
||||
|
@ -8265,16 +8230,13 @@
|
|||
},
|
||||
"sightings": {
|
||||
"id": true,
|
||||
"uuid": true,
|
||||
"attribute_id": false,
|
||||
"event_id": false,
|
||||
"org_id": false,
|
||||
"uuid": true,
|
||||
"source": false,
|
||||
"type": false
|
||||
},
|
||||
"system_settings": {
|
||||
"setting": true
|
||||
},
|
||||
"tags": {
|
||||
"id": true,
|
||||
"name": true,
|
||||
|
@ -8340,14 +8302,14 @@
|
|||
"users": {
|
||||
"id": true,
|
||||
"email": true,
|
||||
"sub": true,
|
||||
"org_id": false,
|
||||
"server_id": false,
|
||||
"sub": true
|
||||
"server_id": false
|
||||
},
|
||||
"user_settings": {
|
||||
"id": true,
|
||||
"setting": false,
|
||||
"user_id": false
|
||||
"user_id": false,
|
||||
"setting": false
|
||||
},
|
||||
"warninglists": {
|
||||
"id": true
|
||||
|
@ -8360,5 +8322,5 @@
|
|||
"id": true
|
||||
}
|
||||
},
|
||||
"db_version": "80"
|
||||
}
|
||||
"db_version": "81"
|
||||
}
|
Loading…
Reference in New Issue