From 29e337c9ed69d7e5f4739ccce721465c9f3c5acc Mon Sep 17 00:00:00 2001 From: geek Date: Wed, 8 Nov 2017 16:19:21 +0900 Subject: [PATCH] infra_service, infra_os, meta_infra_vendor, meta_vendor_crawler edit --- src/main/resources/local/init.sql | 463 +++++++++++++++++++----------- 1 file changed, 291 insertions(+), 172 deletions(-) diff --git a/src/main/resources/local/init.sql b/src/main/resources/local/init.sql index 4fd7927..2112ba1 100644 --- a/src/main/resources/local/init.sql +++ b/src/main/resources/local/init.sql @@ -22,132 +22,181 @@ INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( 7,'2017-06-25 17:31:42.906','OS_SERVICE'); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 1,'2017-07-27 15:26:52.985','APPLE',1); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 2,'2017-07-27 15:26:52.985','MICROSOFT',1); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 3,'2017-07-27 15:26:52.985','ASUS',1); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 4,'2017-07-27 15:26:52.985','HP',1); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 5,'2017-07-27 15:26:52.985','DELL',1); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 6,'2017-07-27 15:26:52.985','LENOVO',1); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 7,'2017-07-27 15:26:52.985','ACER',1); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 8,'2017-07-27 15:26:52.985','SAMSUNG',1); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 9,'2017-07-27 15:26:52.985','LG',1); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 10,'2017-07-27 15:26:52.985','CISCO',1); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 11,'2017-07-27 15:26:52.985','Windows',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 12,'2017-07-27 15:26:52.985','Linux',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 13,'2017-07-27 15:26:52.985','Mac OS',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 14,'2017-07-27 15:26:52.985','Ubuntu',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 15,'2017-07-27 15:26:52.985','Cent OS',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 16,'2017-07-27 15:26:52.985','Fedora',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 17,'2017-07-27 15:26:52.985','Red Hat',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 18,'2017-07-27 15:26:52.985','Debian',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 19,'2017-07-27 15:26:52.985','SUSE',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 20,'2017-07-27 15:26:52.985','Core OS',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 21,'2017-07-27 15:26:52.985','Amazon Linux',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 22,'2017-07-27 15:26:52.985','Kubernetes',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 23,'2017-07-27 15:26:52.985','Docker',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 24,'2017-07-27 15:26:52.985','iOS',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 25,'2017-07-27 15:26:52.985','Android',2); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 26,'2017-07-27 15:26:52.985','Windows',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 27,'2017-07-27 15:26:52.985','Mac OS',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 28,'2017-07-27 15:26:52.985','Ubuntu',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 29,'2017-07-27 15:26:52.985','Cent OS',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 30,'2017-07-27 15:26:52.985','Fedora',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 31,'2017-07-27 15:26:52.985','Red Hat',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 32,'2017-07-27 15:26:52.985','Debian',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 33,'2017-07-27 15:26:52.985','SUSE',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 34,'2017-07-27 15:26:52.985','Core OS',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 35,'2017-07-27 15:26:52.985','Amazon Linux',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 36,'2017-07-27 15:26:52.985','Kubernetes',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 37,'2017-07-27 15:26:52.985','Docker',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 38,'2017-07-27 15:26:52.985','iOS',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 39,'2017-07-27 15:26:52.985','Android',3); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 40,'2017-07-27 15:26:52.985','ACTIVEDIRECTORY',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 41,'2017-07-27 15:26:52.985','CASSANDRA',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 42,'2017-07-27 15:26:52.985','DHCP',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 43,'2017-07-27 15:26:52.985','DNS',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 44,'2017-07-27 15:26:52.985','FTP',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 45,'2017-07-27 15:26:52.985','HTTP',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 46,'2017-07-27 15:26:52.985','IMAP',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 47,'2017-07-27 15:26:52.985','LDAP',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 48,'2017-07-27 15:26:52.985','MONGODB',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 49,'2017-07-27 15:26:52.985','MSSQL',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 50,'2017-07-27 15:26:52.985','MYSQL',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 51,'2017-07-27 15:26:52.985','NETBIOS',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 52,'2017-07-27 15:26:52.985','ORACLE',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 53,'2017-07-27 15:26:52.985','POP',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 54,'2017-07-27 15:26:52.985','POSTGRESQL',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 55,'2017-07-27 15:26:52.985','REDIS',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 56,'2017-07-27 15:26:52.985','RMI',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 57,'2017-07-27 15:26:52.985','SMB',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 58,'2017-07-27 15:26:52.985','SMTP',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 59,'2017-07-27 15:26:52.985','SNMP',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 60,'2017-07-27 15:26:52.985','SSH',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 61,'2017-07-27 15:26:52.985','TELNET',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 62,'2017-07-27 15:26:52.985','WMI',7); +-- INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( +-- 63,'2017-07-27 15:26:52.985','UNKNOWN',7); + INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -1,'2017-07-27 15:26:52.985','APPLE',1); +1,'2017-07-27 15:26:52.985','ACTIVEDIRECTORY',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -2,'2017-07-27 15:26:52.985','MICROSOFT',1); +2,'2017-07-27 15:26:52.985','CASSANDRA',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -3,'2017-07-27 15:26:52.985','ASUS',1); +3,'2017-07-27 15:26:52.985','DHCP',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -4,'2017-07-27 15:26:52.985','HP',1); +4,'2017-07-27 15:26:52.985','DNS',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -5,'2017-07-27 15:26:52.985','DELL',1); +5,'2017-07-27 15:26:52.985','FTP',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -6,'2017-07-27 15:26:52.985','LENOVO',1); +6,'2017-07-27 15:26:52.985','HTTP',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -7,'2017-07-27 15:26:52.985','ACER',1); +7,'2017-07-27 15:26:52.985','IMAP',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -8,'2017-07-27 15:26:52.985','SAMSUNG',1); +8,'2017-07-27 15:26:52.985','LDAP',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -9,'2017-07-27 15:26:52.985','LG',1); +9,'2017-07-27 15:26:52.985','MONGODB',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -10,'2017-07-27 15:26:52.985','CISCO',1); +10,'2017-07-27 15:26:52.985','MSSQL',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -11,'2017-07-27 15:26:52.985','Windows',2); +11,'2017-07-27 15:26:52.985','MYSQL',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -12,'2017-07-27 15:26:52.985','Linux',2); +12,'2017-07-27 15:26:52.985','NETBIOS',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -13,'2017-07-27 15:26:52.985','Mac OS',2); +13,'2017-07-27 15:26:52.985','ORACLE',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -14,'2017-07-27 15:26:52.985','Ubuntu',2); +14,'2017-07-27 15:26:52.985','POP',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -15,'2017-07-27 15:26:52.985','Cent OS',2); +15,'2017-07-27 15:26:52.985','POSTGRESQL',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -16,'2017-07-27 15:26:52.985','Fedora',2); +16,'2017-07-27 15:26:52.985','REDIS',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -17,'2017-07-27 15:26:52.985','Red Hat',2); +17,'2017-07-27 15:26:52.985','RMI',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -18,'2017-07-27 15:26:52.985','Debian',2); +18,'2017-07-27 15:26:52.985','SMB',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -19,'2017-07-27 15:26:52.985','SUSE',2); +19,'2017-07-27 15:26:52.985','SMTP',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -20,'2017-07-27 15:26:52.985','Core OS',2); +20,'2017-07-27 15:26:52.985','SNMP',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -21,'2017-07-27 15:26:52.985','Amazon Linux',2); +21,'2017-07-27 15:26:52.985','SSH',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -22,'2017-07-27 15:26:52.985','Kubernetes',2); +22,'2017-07-27 15:26:52.985','TELNET',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -23,'2017-07-27 15:26:52.985','Docker',2); +23,'2017-07-27 15:26:52.985','WMI',7); INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -24,'2017-07-27 15:26:52.985','iOS',2); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -25,'2017-07-27 15:26:52.985','Android',2); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -26,'2017-07-27 15:26:52.985','Windows',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -27,'2017-07-27 15:26:52.985','Mac OS',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -28,'2017-07-27 15:26:52.985','Ubuntu',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -29,'2017-07-27 15:26:52.985','Cent OS',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -30,'2017-07-27 15:26:52.985','Fedora',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -31,'2017-07-27 15:26:52.985','Red Hat',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -32,'2017-07-27 15:26:52.985','Debian',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -33,'2017-07-27 15:26:52.985','SUSE',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -34,'2017-07-27 15:26:52.985','Core OS',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -35,'2017-07-27 15:26:52.985','Amazon Linux',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -36,'2017-07-27 15:26:52.985','Kubernetes',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -37,'2017-07-27 15:26:52.985','Docker',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -38,'2017-07-27 15:26:52.985','iOS',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -39,'2017-07-27 15:26:52.985','Android',3); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -40,'2017-07-27 15:26:52.985','ACTIVEDIRECTORY',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -41,'2017-07-27 15:26:52.985','CASSANDRA',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -42,'2017-07-27 15:26:52.985','DHCP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -43,'2017-07-27 15:26:52.985','DNS',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -44,'2017-07-27 15:26:52.985','FTP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -45,'2017-07-27 15:26:52.985','HTTP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -46,'2017-07-27 15:26:52.985','IMAP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -47,'2017-07-27 15:26:52.985','LDAP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -48,'2017-07-27 15:26:52.985','MONGODB',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -49,'2017-07-27 15:26:52.985','MSSQL',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -50,'2017-07-27 15:26:52.985','MYSQL',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -51,'2017-07-27 15:26:52.985','NETBIOS',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -52,'2017-07-27 15:26:52.985','ORACLE',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -53,'2017-07-27 15:26:52.985','POP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -54,'2017-07-27 15:26:52.985','POSTGRESQL',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -55,'2017-07-27 15:26:52.985','REDIS',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -56,'2017-07-27 15:26:52.985','RMI',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -57,'2017-07-27 15:26:52.985','SMB',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -58,'2017-07-27 15:26:52.985','SMTP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -59,'2017-07-27 15:26:52.985','SNMP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -60,'2017-07-27 15:26:52.985','SSH',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -61,'2017-07-27 15:26:52.985','TELNET',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -62,'2017-07-27 15:26:52.985','WMI',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,type_id) VALUES ( -63,'2017-07-27 15:26:52.985','UNKNOWN',7); +24,'2017-07-27 15:26:52.985','UNKNOWN',7); INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( 1,'2017-06-30 12:56:08.791','ACTIVEDIRECTORY','ACTIVEDIRECTORY_CRAWLER'); @@ -1078,81 +1127,145 @@ INSERT INTO meta_sensor_display_mapping (id,display_item_id,item_key_id) VALUES INSERT INTO meta_sensor_display_mapping (id,display_item_id,item_key_id) VALUES ( '50','25','146'); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -1,'2017-07-27 15:29:48.634',23,26); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -2,'2017-07-27 15:29:48.634',20,26); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -3,'2017-07-27 15:29:48.634',20,28); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -4,'2017-07-27 15:29:48.634',20,29); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -5,'2017-07-27 15:29:48.634',20,30); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -6,'2017-07-27 15:29:48.634',20,31); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -7,'2017-07-27 15:29:48.634',20,32); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -8,'2017-07-27 15:29:48.634',1,40); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -9,'2017-07-27 15:29:48.634',2,41); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -10,'2017-07-27 15:29:48.634',3,42); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -11,'2017-07-27 15:29:48.634',4,43); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -12,'2017-07-27 15:29:48.634',5,44); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -13,'2017-07-27 15:29:48.634',6,45); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -14,'2017-07-27 15:29:48.634',7,46); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -15,'2017-07-27 15:29:48.634',8,47); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -16,'2017-07-27 15:29:48.634',9,48); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -17,'2017-07-27 15:29:48.634',10,49); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -18,'2017-07-27 15:29:48.634',11,50); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -19,'2017-07-27 15:29:48.634',12,51); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -20,'2017-07-27 15:29:48.634',13,52); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -21,'2017-07-27 15:29:48.634',14,53); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -22,'2017-07-27 15:29:48.634',15,54); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -23,'2017-07-27 15:29:48.634',16,55); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -24,'2017-07-27 15:29:48.634',17,56); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -25,'2017-07-27 15:29:48.634',18,57); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -26,'2017-07-27 15:29:48.634',19,58); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -27,'2017-07-27 15:29:48.634',20,59); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -28,'2017-07-27 15:29:48.634',21,60); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -29,'2017-07-27 15:29:48.634',22,61); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -30,'2017-07-27 15:29:48.634',23,62); -INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -31,'2017-07-27 15:29:48.634',24,63); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 1,'2017-07-27 15:29:48.634',23,26); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 2,'2017-07-27 15:29:48.634',20,26); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 3,'2017-07-27 15:29:48.634',20,28); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 4,'2017-07-27 15:29:48.634',20,29); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 5,'2017-07-27 15:29:48.634',20,30); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 6,'2017-07-27 15:29:48.634',20,31); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 7,'2017-07-27 15:29:48.634',20,32); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 8,'2017-07-27 15:29:48.634',1,40); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 9,'2017-07-27 15:29:48.634',2,41); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 10,'2017-07-27 15:29:48.634',3,42); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 11,'2017-07-27 15:29:48.634',4,43); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 12,'2017-07-27 15:29:48.634',5,44); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 13,'2017-07-27 15:29:48.634',6,45); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 14,'2017-07-27 15:29:48.634',7,46); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 15,'2017-07-27 15:29:48.634',8,47); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 16,'2017-07-27 15:29:48.634',9,48); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 17,'2017-07-27 15:29:48.634',10,49); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 18,'2017-07-27 15:29:48.634',11,50); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 19,'2017-07-27 15:29:48.634',12,51); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 20,'2017-07-27 15:29:48.634',13,52); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 21,'2017-07-27 15:29:48.634',14,53); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 22,'2017-07-27 15:29:48.634',15,54); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 23,'2017-07-27 15:29:48.634',16,55); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 24,'2017-07-27 15:29:48.634',17,56); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 25,'2017-07-27 15:29:48.634',18,57); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 26,'2017-07-27 15:29:48.634',19,58); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 27,'2017-07-27 15:29:48.634',20,59); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 28,'2017-07-27 15:29:48.634',21,60); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 29,'2017-07-27 15:29:48.634',22,61); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 30,'2017-07-27 15:29:48.634',23,62); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 31,'2017-07-27 15:29:48.634',24,63); +-- +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 32,'2017-07-27 15:29:48.634',25,26); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 33,'2017-07-27 15:29:48.634',25,28); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 34,'2017-07-27 15:29:48.634',25,29); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 35,'2017-07-27 15:29:48.634',25,30); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 36,'2017-07-27 15:29:48.634',25,31); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 37,'2017-07-27 15:29:48.634',25,32); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 32,'2017-07-27 15:29:48.634',25,26); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 33,'2017-07-27 15:29:48.634',25,28); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 34,'2017-07-27 15:29:48.634',25,29); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 35,'2017-07-27 15:29:48.634',25,30); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 36,'2017-07-27 15:29:48.634',25,31); +-- INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +-- 37,'2017-07-27 15:29:48.634',25,32); INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -32,'2017-07-27 15:29:48.634',25,26); +1,'2017-07-27 15:29:48.634',1,1); INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -33,'2017-07-27 15:29:48.634',25,28); +2,'2017-07-27 15:29:48.634',2,2); INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -34,'2017-07-27 15:29:48.634',25,29); +3,'2017-07-27 15:29:48.634',3,3); INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -35,'2017-07-27 15:29:48.634',25,30); +4,'2017-07-27 15:29:48.634',4,4); INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -36,'2017-07-27 15:29:48.634',25,31); +5,'2017-07-27 15:29:48.634',5,5); INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( -37,'2017-07-27 15:29:48.634',25,32); +6,'2017-07-27 15:29:48.634',6,6); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +7,'2017-07-27 15:29:48.634',7,7); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +8,'2017-07-27 15:29:48.634',8,8); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +9,'2017-07-27 15:29:48.634',9,9); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +10,'2017-07-27 15:29:48.634',10,10); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +11,'2017-07-27 15:29:48.634',11,11); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +12,'2017-07-27 15:29:48.634',12,12); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +13,'2017-07-27 15:29:48.634',13,13); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +14,'2017-07-27 15:29:48.634',14,14); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +15,'2017-07-27 15:29:48.634',15,15); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +16,'2017-07-27 15:29:48.634',16,16); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +17,'2017-07-27 15:29:48.634',17,17); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +18,'2017-07-27 15:29:48.634',18,18); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +19,'2017-07-27 15:29:48.634',19,19); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +20,'2017-07-27 15:29:48.634',20,20); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +21,'2017-07-27 15:29:48.634',21,21); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +22,'2017-07-27 15:29:48.634',22,22); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +23,'2017-07-27 15:29:48.634',23,23); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +24,'2017-07-27 15:29:48.634',24,24); +INSERT INTO public.meta_vendor_crawler (id,create_date,crawler_id,vendor_id) VALUES ( +25,'2017-07-27 15:29:48.634',25,20); + INSERT INTO public.meta_history_type (id,create_date,"name") VALUES ( 1,'2017-08-23 13:28:26.966','Member'); @@ -1232,14 +1345,20 @@ INSERT INTO public.infra (infra_type,create_date,type_id,probe_id,target_id) VAL INSERT INTO public.infra_machine (meta,id) VALUES ( 'i am a infra machine',1); +-- INSERT INTO public.infra_os (meta,id,machine_id,vendor_id) VALUES ( +-- '',2,1,26); + INSERT INTO public.infra_os (meta,id,machine_id,vendor_id) VALUES ( -'',2,1,26); +'',2,1,24); INSERT INTO public.infra_host (ip,mac,id,os_id) VALUES ( 3232235980,8796753988883,3,2); +-- INSERT INTO public.infra_service (port,port_type,tls_type,id,host_id,vendor_id) VALUES ( +-- 80,'TCP',false,4,3,45); + INSERT INTO public.infra_service (port,port_type,tls_type,id,host_id,vendor_id) VALUES ( -80,'TCP',false,4,3,45); +80,'TCP',false,4,3,24); INSERT INTO public.infra_os_application ("name",id,os_id) VALUES ( 'Apache',5,2);