Skip to content

OSB-59: load demo data to opensearch during initialization of package#75

Open
sniedzielski wants to merge 8 commits intodevelopfrom
feature/OSB-59
Open

OSB-59: load demo data to opensearch during initialization of package#75
sniedzielski wants to merge 8 commits intodevelopfrom
feature/OSB-59

Conversation

@sniedzielski
Copy link
Copy Markdown
Contributor

@sniedzielski sniedzielski commented Jun 26, 2025

TICKET: https://openimis.atlassian.net/browse/OSB-59

PR introduces additional 'intermediate' container responsible for loading opensearch demo settings/examples.

@gitguardian
Copy link
Copy Markdown

gitguardian Bot commented Jun 26, 2025

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
14324252 Triggered Generic Password 049488d .env.openSearch.example View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@sniedzielski sniedzielski marked this pull request as ready for review July 1, 2025 13:51
@sniedzielski sniedzielski requested a review from delcroip July 1, 2025 13:51
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jul 1, 2025


cd /openimis-be/openIMIS

exec python3 manage.py upload_opensearch_dashboards --host-domain http://backend:8080 --imis-password "${OPENIMIS_ADMIN_PASS}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why port 8080 ? Also I thought that the pass was not mandatory anymore,:
why not pushing it directly to openSearch, you have OS credentials available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants