From dfb51cc96261d0c818153a59d0dd20f93db5327a Mon Sep 17 00:00:00 2001 From: itay Date: Tue, 12 Feb 2019 16:26:29 +0200 Subject: [PATCH] Add AWS troubleshooting message --- .../ui/src/components/pages/RunMonkeyPage.js | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage.js b/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage.js index aefa19921..8ddb860d2 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage.js @@ -326,16 +326,25 @@ class RunMonkeyPageComponent extends AuthComponent { Update AWS details { this.state.awsUpdateClicked ? : null } - { - this.state.awsUpdateFailed ? -
Authentication failed. Bad credentials.
- : - null - } + { + this.state.awsUpdateFailed ? +
+

Authentication failed.

+

+ + In order to remotely run commands on AWS EC2 instances, please make sure you have + the prerequisites and if the + instances don't show up, check the + AWS troubleshooting guide. +

+
+ : + null + }