Skip to content

Commit

Permalink
Changes for OpenSearch end-to-end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Apr 3, 2024
1 parent b1fa665 commit 819c1e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/jenkins/greendale/output_opensearch.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
case=analyze_and_output
output_file=studentpc1.csv
output_format=opensearch
output_options=--opensearch_mappings=plaso/data/opensearch.mappings
output_options=--opensearch_mappings=plaso/data/opensearch.mappings --opensearch_user=admin --opensearch_password=F0rT3st@nly
source=studentpc1.plaso
4 changes: 2 additions & 2 deletions config/jenkins/run_end_to_end_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ COMMAND="./tests/end-to-end.py --config /config/${CONFIGURATION_NAME}.ini --refe

if test ${CONFIGURATION_NAME} = "output_opensearch";
then
DOCKER_NETWORK="--network container:opensearch"
DOCKER_NETWORK="--network container:opensearch";

elif test ${CONFIGURATION_NAME} = "studentpc1-redis";
then
DOCKER_NETWORK="--network container:redis"
DOCKER_NETWORK="--network container:redis";
fi

docker run --name=plaso ${DOCKER_NETWORK} -v "${CONFIGURATION_DIRECTORY}:/config:z" -v "${RESULTS_DIRECTORY}:/home/test/plaso/plaso-out:z" -v "${SOURCES_DIRECTORY}:/sources:z" log2timeline/plaso /bin/bash -c "${COMMAND}"

0 comments on commit 819c1e7

Please sign in to comment.