From 10d9e2ed47c8691c7142c1ca9e2517e0bdb9f0b5 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Fri, 15 Dec 2023 13:28:38 -0500 Subject: [PATCH] Updates admin password to be a strong password Signed-off-by: Darshit Chanpura --- .github/workflows/cypress-test-oidc-e2e.yml | 2 +- .github/workflows/cypress-test-saml-e2e.yml | 2 +- cypress.config.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress-test-oidc-e2e.yml b/.github/workflows/cypress-test-oidc-e2e.yml index f78de653a..e93744965 100644 --- a/.github/workflows/cypress-test-oidc-e2e.yml +++ b/.github/workflows/cypress-test-oidc-e2e.yml @@ -183,7 +183,7 @@ jobs: # Verify that the server is operational - name: Check OpenSearch Running on Linux if: ${{ runner.os != 'Windows'}} - run: curl https://localhost:9200/_cat/plugins -u 'admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD}}' -k -v + run: curl https://localhost:9200/_cat/plugins -u 'admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }}' -k -v shell: bash - if: always() diff --git a/.github/workflows/cypress-test-saml-e2e.yml b/.github/workflows/cypress-test-saml-e2e.yml index 94433e53b..7920167bd 100644 --- a/.github/workflows/cypress-test-saml-e2e.yml +++ b/.github/workflows/cypress-test-saml-e2e.yml @@ -146,7 +146,7 @@ jobs: # Verify that the server is operational - name: Check OpenSearch Running on Linux if: ${{ runner.os != 'Windows'}} - run: curl https://localhost:9200/_cat/plugins -u 'admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD}}' -k -v + run: curl https://localhost:9200/_cat/plugins -u 'admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }}' -k -v shell: bash - if: always() diff --git a/cypress.config.js b/cypress.config.js index 56d619ab5..e5a86728b 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -30,6 +30,6 @@ module.exports = defineConfig({ env: { openSearchUrl: 'https://localhost:9200', adminUserName: 'admin', - adminPassword: 'admin', + adminPassword: 'myStrongPassword123!', }, });