Merge branch 'ent-10185-filtros-personalizados-para-el-visor-de-datos-de-logs' into 'develop'
Ent 10185 filtros personalizados para el visor de datos de logs See merge request artica/pandorafms!5754
This commit is contained in:
commit
2c4e1c0261
|
@ -14,6 +14,30 @@ CREATE TABLE IF NOT EXISTS `tsesion_filter` (
|
|||
PRIMARY KEY (`id_filter`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `tsesion_filter_log_viewer` (
|
||||
`id_filter` INT NOT NULL AUTO_INCREMENT,
|
||||
`id_name` TEXT NULL,
|
||||
`id_group_filter` TEXT NULL,
|
||||
`id_search_mode` INT NULL,
|
||||
`order` VARCHAR(45) NULL,
|
||||
`search` VARCHAR(255) NULL,
|
||||
`group_id` INT NULL,
|
||||
`date_range` TINYINT NULL,
|
||||
`start_date_defined` VARCHAR(45) NULL,
|
||||
`start_date_time` VARCHAR(45) NULL,
|
||||
`start_date_date` VARCHAR(45) NULL,
|
||||
`start_date_date_range` VARCHAR(45) NULL,
|
||||
`start_date_time_range` VARCHAR(45) NULL,
|
||||
`end_date_date_range` VARCHAR(45) NULL,
|
||||
`end_date_time_range` VARCHAR(45) NULL,
|
||||
`agent` VARCHAR(255) NULL,
|
||||
`source` VARCHAR(255) NULL,
|
||||
`display_mode` INT NULL,
|
||||
`capture_model` INT NULL,
|
||||
`graph_type` INT NULL,
|
||||
PRIMARY KEY (`id_filter`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||
|
||||
ALTER TABLE `talert_template_module_actions` ADD COLUMN `recovered` TINYINT NOT NULL DEFAULT 0;
|
||||
|
||||
COMMIT;
|
||||
|
|
|
@ -6934,14 +6934,15 @@ function html_print_go_top()
|
|||
return $output;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Render a code picker fragment with default Pandora styles.
|
||||
*
|
||||
* @param string $id,
|
||||
* @param string $content Content.
|
||||
* @param string $classes Classes for code picker.
|
||||
* @param boolean $single_line If true, code picker will be displayed as a single line of code.
|
||||
* @param boolean $return Return output if set to true.
|
||||
* @param string $content Content.
|
||||
* @param string $classes Classes for code picker.
|
||||
* @param boolean $single_line If true, code picker will be displayed as a single line of code.
|
||||
* @param boolean $return Return output if set to true.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
|
|
@ -4290,3 +4290,30 @@ CREATE TABLE IF NOT EXISTS `tfavmenu_user` (
|
|||
`label` VARCHAR(255) NOT NULL,
|
||||
`section` VARCHAR(255) NOT NULL,
|
||||
PRIMARY KEY (`id`));
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tsesion_filter_log_viewer`
|
||||
-- ---------------------------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS `tsesion_filter_log_viewer` (
|
||||
`id_filter` INT NOT NULL AUTO_INCREMENT,
|
||||
`id_name` TEXT NULL,
|
||||
`id_group_filter` TEXT NULL,
|
||||
`id_search_mode` INT NULL,
|
||||
`order` VARCHAR(45) NULL,
|
||||
`search` VARCHAR(255) NULL,
|
||||
`group_id` INT NULL,
|
||||
`date_range` TINYINT NULL,
|
||||
`start_date_defined` VARCHAR(45) NULL,
|
||||
`start_date_time` VARCHAR(45) NULL,
|
||||
`start_date_date` VARCHAR(45) NULL,
|
||||
`start_date_date_range` VARCHAR(45) NULL,
|
||||
`start_date_time_range` VARCHAR(45) NULL,
|
||||
`end_date_date_range` VARCHAR(45) NULL,
|
||||
`end_date_time_range` VARCHAR(45) NULL,
|
||||
`agent` VARCHAR(255) NULL,
|
||||
`source` VARCHAR(255) NULL,
|
||||
`display_mode` INT NULL,
|
||||
`capture_model` INT NULL,
|
||||
`graph_type` INT NULL,
|
||||
PRIMARY KEY (`id_filter`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||
|
|
Loading…
Reference in New Issue