From 225de6b5ea7f0b12499649f8573bdb2d92d714cc Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Wed, 26 Jun 2019 19:33:42 +0200 Subject: [PATCH 1/2] MR forgotten change --- pandora_console/extras/mr/29.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_console/extras/mr/29.sql b/pandora_console/extras/mr/29.sql index e036c9d2eb..2bc8b9a8c9 100644 --- a/pandora_console/extras/mr/29.sql +++ b/pandora_console/extras/mr/29.sql @@ -23,5 +23,6 @@ UPDATE `tagente` ta INNER JOIN `tagente` taa on ta.`id_parent` = taa.`id_agente` UPDATE `tagente` SET `nombre` = md5(concat((SELECT `username` FROM `tcredential_store` WHERE `identifier` = "imported_aws_account" LIMIT 1), `nombre`)) WHERE `nombre` IN ("Aws", "us-east-1", "us-east-2", "us-west-1", "us-west-2", "ca-central-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-west-3", "ap-northeast-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-south-1", "sa-east-1"); +UPDATE `trecon_task` SET `auth_strings` = "imported_aws_account" WHERE `type` IN (2,6,7); COMMIT; From 470e399f508d251ed6d63695e09609fc598e3164 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Wed, 26 Jun 2019 19:34:34 +0200 Subject: [PATCH 2/2] Fixed url edit task in RDS --- pandora_console/godmode/wizards/DiscoveryTaskList.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php index 1a16967f60..e018ec3d30 100644 --- a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php +++ b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php @@ -725,7 +725,7 @@ class DiscoveryTaskList extends Wizard return 'wiz=cloud&mode=amazonws&ki='.$task['auth_strings'].'&page=1'; case DISCOVERY_CLOUD_AWS_RDS: - return 'wiz=cloud&mode=amazonws&sub=rds&page=0'; + return 'wiz=cloud&mode=amazonws&ki='.$task['auth_strings'].'&sub=rds&page=0'; default: if ($task['description'] == 'console_task') {