From c9519c19db53f9588fde1e9c9869214b7b536d53 Mon Sep 17 00:00:00 2001 From: vgilc Date: Mon, 28 May 2012 09:22:56 +0000 Subject: [PATCH] 2012-05-28 Vanessa Gil * extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Update 'tconfig' fields. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ .../pandoradb_migrate_4.0.x_to_4.1.mysql.sql | 14 ++++++++++++++ .../pandoradb_migrate_4.0.x_to_4.1.oracle.sql | 14 ++++++++++++++ .../pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql | 14 ++++++++++++++ 4 files changed, 48 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 419ae94302..7cbd798810 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2012-05-28 Vanessa Gil + + * extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql + extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql + extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Update 'tconfig' fields. + 2012-05-27 Junichi Satoh * general/pandora_help.php: Fixed i18n translation does not work diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql index cbfe73a704..7c2753144f 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql @@ -231,3 +231,17 @@ ALTER TABLE `tusuario` ADD COLUMN `login_blocked` tinyint(1) DEFAULT 0; -- ----------------------------------------------------- INSERT INTO `talert_commands` (`name`, `command`, `description`, `internal`) VALUES ('Validate Event','Internal type','This alert validate the events matched with a module given the agent name (_field1_) and module name (_field2_)', 1); + +-- ----------------------------------------------------- +-- Table `tconfig` +-- ----------------------------------------------------- + +INSERT INTO `tconfig` (`token`, `value`) VALUES +('enable_pass_policy', 0), +('pass_size', 4), +('pass_needs_numbers', 0), +('pass_needs_symbols', 0), +('pass_expire', 0), +('first_login', 0), +('mins_fail_pass', 5), +('number_attempts', 5); diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql index c88ad605e2..d216026d3c 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql @@ -234,3 +234,17 @@ alter table tusuario add (login_blocked NUMBER(5,0) default 0 NOT NULL); -- ----------------------------------------------------- INSERT INTO talert_commands (name, command, description, internal) VALUES ('Validate Event','Internal type','This alert validate the events matched with a module given the agent name (_field1_) and module name (_field2_)', 1); + +-- ----------------------------------------------------- +-- Table `tconfig` +-- ----------------------------------------------------- + +INSERT INTO tconfig (token, value) VALUES +('enable_pass_policy', 0), +('pass_size', 4), +('pass_needs_numbers', 0), +('pass_needs_symbols', 0), +('pass_expire', 0), +('first_login', 0), +('mins_fail_pass', 5), +('number_attempts', 5); diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql index 4f6bba1e0f..220caaf0f6 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql @@ -223,3 +223,17 @@ ALTER TABLE "tusuario" ADD COLUMN "login_blocked" SMALLINT NOT NULL default 0; -- ----------------------------------------------------- INSERT INTO "talert_commands" ("name", "command", "description", "internal") VALUES ('Validate Event','Internal type','This alert validate the events matched with a module given the agent name (_field1_) and module name (_field2_)', 1); + +-- ----------------------------------------------------- +-- Table `tconfig` +-- ----------------------------------------------------- + +INSERT INTO "tconfig" ("token", "value") VALUES +('enable_pass_policy', 0), +('pass_size', 4), +('pass_needs_numbers', 0), +('pass_needs_symbols', 0), +('pass_expire', 0), +('first_login', 0), +('mins_fail_pass', 5), +('number_attempts', 5);