OPENDAP / libdap4

A new version of libdap that contains both DAP2 and DAP4 support
GNU Lesser General Public License v2.1
13 stars 14 forks source link

Fixing changes to ETag. Made test code more flexible. #212

Closed ndp-opendap closed 1 year ago

gitguardian[bot] commented 1 year ago

⚠️ GitGuardian has uncovered 6 secrets 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 secrets in your pull request
| GitGuardian id | Secret | Commit | Filename | | | -------------- | ------------------------- | ---------------- | --------------- | -------------------- | | [500354](https://dashboard.gitguardian.com/incidents/500354?occurrence=74509852) | Basic Auth String | de0c42c9325e1409f43429b36d96281d6638c848 | unit-tests/HTTPConnectTest.cc | [View secret](https://github.com/OPENDAP/libdap4/commit/de0c42c9325e1409f43429b36d96281d6638c848#diff-64605534d714de330613ce3398609067207a8730c4b8e137d8f45dd1773f1127L126) | | [500354](https://dashboard.gitguardian.com/incidents/500354?occurrence=74521611) | Basic Auth String | c7921dc2a1edac02b3cac3a6608ad37cf0be5aad | .gitallowed | [View secret](https://github.com/OPENDAP/libdap4/commit/c7921dc2a1edac02b3cac3a6608ad37cf0be5aad#diff-58f84f1ca7c1d73093ee12b7c3c67032877b926e66d3f909ed7eb6b0537886ecR1) | | [500354](https://dashboard.gitguardian.com/incidents/500354?occurrence=74524913) | Basic Auth String | dc3e6166baa19b2c0f3252b76af313d87f04828e | .gitallowed | [View secret](https://github.com/OPENDAP/libdap4/commit/dc3e6166baa19b2c0f3252b76af313d87f04828e#diff-58f84f1ca7c1d73093ee12b7c3c67032877b926e66d3f909ed7eb6b0537886ecL1) | | [500354](https://dashboard.gitguardian.com/incidents/500354?occurrence=74524914) | Basic Auth String | dc3e6166baa19b2c0f3252b76af313d87f04828e | unit-tests/HTTPConnectTest.cc | [View secret](https://github.com/OPENDAP/libdap4/commit/dc3e6166baa19b2c0f3252b76af313d87f04828e#diff-64605534d714de330613ce3398609067207a8730c4b8e137d8f45dd1773f1127R139) | | [500354](https://dashboard.gitguardian.com/incidents/500354?occurrence=74524915) | Basic Auth String | dc3e6166baa19b2c0f3252b76af313d87f04828e | unit-tests/HTTPConnectTest.cc | [View secret](https://github.com/OPENDAP/libdap4/commit/dc3e6166baa19b2c0f3252b76af313d87f04828e#diff-64605534d714de330613ce3398609067207a8730c4b8e137d8f45dd1773f1127L133) | | [500354](https://dashboard.gitguardian.com/incidents/500354?occurrence=74525878) | Basic Auth String | e3cfc34fe499c7e23868541d9b9493d7defc23d6 | unit-tests/HTTPConnectTest.cc | [View secret](https://github.com/OPENDAP/libdap4/commit/e3cfc34fe499c7e23868541d9b9493d7defc23d6#diff-64605534d714de330613ce3398609067207a8730c4b8e137d8f45dd1773f1127L139) |
🛠 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 secrets safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate these secrets](https://docs.gitguardian.com/secrets-detection/detectors/generics/basic_auth_string#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 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 - following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/internal-repositories-monitoring/integrations/git_hooks/pre_commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.

🦉 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.

Our GitHub checks need improvements? Share your feedbacks!

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
19.9% 19.9% Duplication