diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 35894cff2a..15b37bbb36 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2010-08-19 Sergio Martin + + * pandoradb.sql + extra/pandoradb_migrate_v3.1_to_v3.2.sql: added a database field on + agente_modulo to unlink the modules from policies + + * images/unlinkpolicy.png + images/linkpolicy.png: Added two icons to linked and unlinked policies + 2010-08-19 Junichi Satoh * godmode/modules/manage_network_components_form_network.php: Changed diff --git a/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql b/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql index 6bad57ff90..3f3652e71c 100644 --- a/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql +++ b/pandora_console/extras/pandoradb_migrate_v3.1_to_v3.2.sql @@ -68,6 +68,7 @@ CREATE TABLE IF NOT EXISTS `tnetwork_map` ( -- ----------------------------------------------------- ALTER TABLE `tagente_modulo` ADD COLUMN `id_policy_module` INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER `nombre`; +ALTER TABLE `tagente_modulo` ADD COLUMN `policy_linked` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0 AFTER `delete_pending`; -- ----------------------------------------------------- -- Table `talert_template_modules` diff --git a/pandora_console/images/linkpolicy.png b/pandora_console/images/linkpolicy.png new file mode 100644 index 0000000000..e04c1f5909 Binary files /dev/null and b/pandora_console/images/linkpolicy.png differ diff --git a/pandora_console/images/unlinkpolicy.png b/pandora_console/images/unlinkpolicy.png new file mode 100644 index 0000000000..6cd54d3102 Binary files /dev/null and b/pandora_console/images/unlinkpolicy.png differ diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 59a03c844e..ccac1ecfa1 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -176,6 +176,7 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` ( `max_critical` double(18,2) default 0, `min_ff_event` int(4) unsigned default '0', `delete_pending` int(1) unsigned default 0, + `policy_linked` tinyint(1) unsigned not null default 0. `custom_string_1` text default '', `custom_string_2` text default '', `custom_string_3` text default '',