Merge branch 'ent-12449-fallo-sql-al-editar-agentes' into 'develop'
fix error sql edit agents to conected metaconsole pandora_enterprise#12449 See merge request artica/pandorafms!6659
This commit is contained in:
commit
5316b32b71
|
@ -318,6 +318,7 @@ ALTER TABLE `tservice` ADD COLUMN `enable_horizontal_tree` TINYINT NOT NULL DEFA
|
|||
INSERT IGNORE INTO `tmodule_inventory` (`id_os`, `name`, `description`, `interpreter`, `data_format`, `code`, `block_mode`,`script_mode`) VALUES (1,'Vulnerabilities','Plugin for security scan','','Package;Version;CVE','',0,2);
|
||||
|
||||
ALTER TABLE `tagente` ADD COLUMN `vul_scan_enabled` TINYINT NOT NULL DEFAULT 2;
|
||||
ALTER TABLE `tmetaconsole_agent` ADD COLUMN `vul_scan_enabled` TINYINT NOT NULL DEFAULT 2;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `tpandora_cve` (
|
||||
`cve_id` VARCHAR(20),
|
||||
|
|
|
@ -3553,6 +3553,7 @@ CREATE TABLE IF NOT EXISTS `tmetaconsole_agent` (
|
|||
`satellite_server` INT NOT NULL DEFAULT 0,
|
||||
`fixed_ip` TINYINT NOT NULL DEFAULT 0,
|
||||
`disabled_by_downtime` TINYINT NOT NULL DEFAULT 0,
|
||||
`vul_scan_enabled` TINYINT NOT NULL DEFAULT 2,
|
||||
PRIMARY KEY (`id_agente`),
|
||||
KEY `nombre` (`nombre`(255)),
|
||||
KEY `direccion` (`direccion`),
|
||||
|
|
Loading…
Reference in New Issue