From 743ee1bf1a375fc06ef6f75bfeedbf9ce948388a Mon Sep 17 00:00:00 2001 From: Subhobrata Dey Date: Tue, 30 Jul 2024 23:38:41 +0000 Subject: [PATCH] update security workflow ci Signed-off-by: Subhobrata Dey --- .github/workflows/security-test-workflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/security-test-workflow.yml b/.github/workflows/security-test-workflow.yml index a096f26a0..5ca093c4e 100644 --- a/.github/workflows/security-test-workflow.yml +++ b/.github/workflows/security-test-workflow.yml @@ -59,6 +59,7 @@ jobs: if docker pull opensearchstaging/opensearch:$docker_version then echo "FROM opensearchstaging/opensearch:$docker_version" >> Dockerfile + echo "RUN if [ -d /usr/share/opensearch/plugins/opensearch-security-analytics ]; then /usr/share/opensearch/bin/opensearch-plugin remove opensearch-security-analytics; fi" >> Dockerfile echo "RUN if [ -d /usr/share/opensearch/plugins/opensearch-alerting ]; then /usr/share/opensearch/bin/opensearch-plugin remove opensearch-alerting; fi" >> Dockerfile echo "ADD alerting/build/distributions/$plugin /tmp/" >> Dockerfile echo "RUN /usr/share/opensearch/bin/opensearch-plugin install --batch file:/tmp/$plugin" >> Dockerfile