2020-11-24 19:45:03 +01:00
|
|
|
CREATE TABLE "iocs" (
|
|
|
|
"id" INTEGER UNIQUE,
|
|
|
|
"value" TEXT NOT NULL,
|
|
|
|
"type" TEXT NOT NULL,
|
|
|
|
"tlp" TEXT NOT NULL,
|
|
|
|
"tag" TEXT NOT NULL,
|
|
|
|
"source" TEXT NOT NULL,
|
|
|
|
"added_on" NUMERIC NOT NULL,
|
|
|
|
PRIMARY KEY("id" AUTOINCREMENT)
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE "whitelist" (
|
|
|
|
"id" INTEGER UNIQUE,
|
|
|
|
"element" TEXT NOT NULL UNIQUE,
|
|
|
|
"type" TEXT NOT NULL,
|
|
|
|
"source" TEXT NOT NULL,
|
|
|
|
"added_on" INTEGER NOT NULL,
|
|
|
|
PRIMARY KEY("id" AUTOINCREMENT)
|
|
|
|
);
|
2021-05-10 16:08:58 +02:00
|
|
|
|
2021-06-08 20:11:51 +02:00
|
|
|
CREATE TABLE "misp" (
|
2021-05-10 16:08:58 +02:00
|
|
|
"id" INTEGER UNIQUE,
|
|
|
|
"name" TEXT,
|
|
|
|
"url" TEXT NOT NULL,
|
|
|
|
"apikey" TEXT NOT NULL,
|
|
|
|
"verifycert" INTEGER NOT NULL DEFAULT 0,
|
|
|
|
"added_on" NUMERIC NOT NULL,
|
2021-06-10 18:37:40 +02:00
|
|
|
"last_sync" NUMERIC NOT NULL DEFAULT 0,
|
2021-05-10 16:08:58 +02:00
|
|
|
PRIMARY KEY("id" AUTOINCREMENT)
|
|
|
|
);
|