added infra
This commit is contained in:
parent
fa20746ab1
commit
9325ed2c21
|
@ -400,34 +400,45 @@ INSERT INTO public.api_key (api_key,create_date,domain_id) VALUES (
|
|||
INSERT INTO public.noauth_probe (api_key,create_date,host_name,ip_address,mac_address,temp_probe_key,domain_id,probe_id,status) VALUES (
|
||||
'52abd6fd57e511e7ac52080027658d13','2017-06-26 12:43:46.877','snoop',3232235980,8796753988883,'1cf2555c57d511e79714080027658d13',1,NULL,3);
|
||||
|
||||
INSERT INTO public.infra_machine (id,create_date,meta) VALUES (
|
||||
1,'2017-07-27 19:54:26.677','');
|
||||
INSERT INTO public.infra_machine (create_date,meta) VALUES (
|
||||
'2017-07-27 19:54:26.677','');
|
||||
|
||||
INSERT INTO public.infra_os (id,create_date,meta,machine_id,vendor_id) VALUES (
|
||||
1,'2017-07-27 19:55:47.326','',1,26);
|
||||
INSERT INTO public.infra_os (create_date,meta,machine_id,vendor_id) VALUES (
|
||||
'2017-07-27 19:55:47.326','',1,26);
|
||||
|
||||
INSERT INTO public.infra_host (id,create_date,ip,mac,os_id) VALUES (
|
||||
1,'2017-07-27 19:57:10.607',3232235980,8796753988883,1);
|
||||
INSERT INTO public.infra_host (create_date,ip,mac,os_id) VALUES (
|
||||
'2017-07-27 19:57:10.607',3232235980,8796753988883,1);
|
||||
|
||||
INSERT INTO public.probe (id,authorize_date,cidr,create_date,description,display_name,encryption_key,probe_key,sensor_count,target_count,authorize_member_id,domain_id,host_id,status) VALUES (
|
||||
1,'2017-07-27 20:01:28.513','192.168.1.0/24','2017-07-27 20:01:28.513','snoop probe','test probe','8c51fa9c5bcc11e7980a080027658d13','899fdd145bcc11e7b611080027658d13',0,0,1,1,1,1);
|
||||
INSERT INTO public.infra_service (create_date,port,port_type,tls_type,host_id,vendor_id) VALUES (
|
||||
'2017-07-28 16:36:33.906',80,'TCP',false,1,45);
|
||||
|
||||
INSERT INTO public.target (id,create_date,description,display_name) VALUES (
|
||||
1,'2017-07-27 20:18:09.555','i am target','ghost target');
|
||||
INSERT INTO public.infra_os_application (create_date,name,os_id) VALUES (
|
||||
'2017-07-28 16:54:11.646','Apache',1);
|
||||
|
||||
INSERT INTO public.infra (id,child_id,create_date,probe_id,target_id,type_id) VALUES (
|
||||
1,1,'2017-07-28 11:08:50.803',1,1,1);
|
||||
INSERT INTO public.infra (id,child_id,create_date,probe_id,target_id,type_id) VALUES (
|
||||
2,1,'2017-07-28 11:08:50.832',1,1,3);
|
||||
INSERT INTO public.infra (id,child_id,create_date,probe_id,target_id,type_id) VALUES (
|
||||
3,1,'2017-07-28 11:08:50.841',1,1,2);
|
||||
INSERT INTO public.infra_os_daemon (create_date,name,os_id) VALUES (
|
||||
'2017-07-28 17:00:35.186','Apache',1);
|
||||
|
||||
INSERT INTO public.sensor (id,crawler_input_items,create_date,description,crawler_id,status,target_id) VALUES (
|
||||
1,NULL,'2017-06-26 20:19:07.009','My sensor',1,1,1);
|
||||
INSERT INTO public.sensor (id,crawler_input_items,create_date,description,crawler_id,status,target_id) VALUES (
|
||||
2,NULL,'2017-06-26 20:19:07.074','My sensor',1,1,1);
|
||||
INSERT INTO public.probe (authorize_date,cidr,create_date,description,display_name,encryption_key,probe_key,sensor_count,target_count,authorize_member_id,domain_id,host_id,status) VALUES (
|
||||
'2017-07-27 20:01:28.513','192.168.1.0/24','2017-07-27 20:01:28.513','snoop probe','test probe','8c51fa9c5bcc11e7980a080027658d13','899fdd145bcc11e7b611080027658d13',0,0,1,1,1,1);
|
||||
|
||||
INSERT INTO public.sensor_item (id,create_date,item_id,sensor_id) VALUES (
|
||||
1,'2017-06-26 20:21:16.626',1,1);
|
||||
INSERT INTO public.sensor_item (id,create_date,item_id,sensor_id) VALUES (
|
||||
2,'2017-06-26 20:21:50.988',2,2);
|
||||
INSERT INTO public.target (create_date,description,display_name) VALUES (
|
||||
'2017-07-27 20:18:09.555','i am target','ghost target');
|
||||
|
||||
INSERT INTO public.infra (child_id,create_date,probe_id,target_id,type_id) VALUES (
|
||||
1,'2017-07-28 11:08:50.803',1,1,1);
|
||||
INSERT INTO public.infra (child_id,create_date,probe_id,target_id,type_id) VALUES (
|
||||
1,'2017-07-28 11:08:50.832',1,1,3);
|
||||
INSERT INTO public.infra (child_id,create_date,probe_id,target_id,type_id) VALUES (
|
||||
1,'2017-07-28 11:08:50.841',1,1,2);
|
||||
INSERT INTO public.infra (child_id,create_date,type_id,probe_id,target_id) VALUES (
|
||||
1,'2017-07-28 16:52:30.391',7,1,1);
|
||||
|
||||
INSERT INTO public.sensor (crawler_input_items,create_date,description,crawler_id,status,target_id) VALUES (
|
||||
NULL,'2017-06-26 20:19:07.009','My sensor',1,1,1);
|
||||
INSERT INTO public.sensor (crawler_input_items,create_date,description,crawler_id,status,target_id) VALUES (
|
||||
NULL,'2017-06-26 20:19:07.074','My sensor',1,1,1);
|
||||
|
||||
INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES (
|
||||
'2017-06-26 20:21:16.626',1,1);
|
||||
INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES (
|
||||
'2017-06-26 20:21:50.988',2,2);
|
Loading…
Reference in New Issue
Block a user