GeoNode / documentation

GeoNode Documentation
https://docs.geonode.org/
Other
14 stars 73 forks source link

Add ubuntuGIS repository to system #235

Closed jkariscodes closed 2 years ago

jkariscodes commented 2 years ago

Adding UbuntuGIS repository to system packages before running the other commands specifically enabling user to install correct GDAL versions e.g. via sudo apt install -y python3-gdal=3.3.2+dfsg-2~focal2 gdal-bin=3.3.2+dfsg-2~focal2 libgdal-dev=3.3.2+dfsg-2~focal2 etc.

Otherwise without adding UbuntuGIS repo the case appears as shown below in a clean Ubuntu 20.04 LTS server. image In addition to which when one searches using apt-cache show gets available version is 3.0.4 image

gitguardian[bot] commented 2 years ago

⚠️ GitGuardian has uncovered 10 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 | | | -------------- | ------------------------- | ---------------- | --------------- | -------------------- | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Base64 Basic Authentication | 3d04a304221f91ce2726eb60ecb9745e32f99f11 | admin/mgmt_commands/index.rst | [View secret](https://github.com/GeoNode/documentation/commit/3d04a304221f91ce2726eb60ecb9745e32f99f11#diff-208b07e100fa976147cd526c2ef04f95L2101) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Base64 Basic Authentication | 3d04a304221f91ce2726eb60ecb9745e32f99f11 | admin/mgmt_commands/index.rst | [View secret](https://github.com/GeoNode/documentation/commit/3d04a304221f91ce2726eb60ecb9745e32f99f11#diff-208b07e100fa976147cd526c2ef04f95L2120) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Base64 Basic Authentication | 3d04a304221f91ce2726eb60ecb9745e32f99f11 | admin/mgmt_commands/index.rst | [View secret](https://github.com/GeoNode/documentation/commit/3d04a304221f91ce2726eb60ecb9745e32f99f11#diff-208b07e100fa976147cd526c2ef04f95L2129) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Base64 Basic Authentication | 3d04a304221f91ce2726eb60ecb9745e32f99f11 | admin/mgmt_commands/index.rst | [View secret](https://github.com/GeoNode/documentation/commit/3d04a304221f91ce2726eb60ecb9745e32f99f11#diff-208b07e100fa976147cd526c2ef04f95L2137) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Base64 Basic Authentication | 3d04a304221f91ce2726eb60ecb9745e32f99f11 | admin/mgmt_commands/index.rst | [View secret](https://github.com/GeoNode/documentation/commit/3d04a304221f91ce2726eb60ecb9745e32f99f11#diff-208b07e100fa976147cd526c2ef04f95L2182) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Base64 Basic Authentication | 3d04a304221f91ce2726eb60ecb9745e32f99f11 | admin/mgmt_commands/index.rst | [View secret](https://github.com/GeoNode/documentation/commit/3d04a304221f91ce2726eb60ecb9745e32f99f11#diff-208b07e100fa976147cd526c2ef04f95L2214) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Base64 Basic Authentication | 3d04a304221f91ce2726eb60ecb9745e32f99f11 | admin/mgmt_commands/index.rst | [View secret](https://github.com/GeoNode/documentation/commit/3d04a304221f91ce2726eb60ecb9745e32f99f11#diff-208b07e100fa976147cd526c2ef04f95L2225) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Base64 Basic Authentication | 3d04a304221f91ce2726eb60ecb9745e32f99f11 | admin/mgmt_commands/index.rst | [View secret](https://github.com/GeoNode/documentation/commit/3d04a304221f91ce2726eb60ecb9745e32f99f11#diff-208b07e100fa976147cd526c2ef04f95L2259) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Django Secret Key | 3d04a304221f91ce2726eb60ecb9745e32f99f11 | install/advanced/core/index.rst | [View secret](https://github.com/GeoNode/documentation/commit/3d04a304221f91ce2726eb60ecb9745e32f99f11#diff-e59499c486837b30526c50c0777516cfR876) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Django Secret Key | 3d04a304221f91ce2726eb60ecb9745e32f99f11 | install/advanced/core/index.rst | [View secret](https://github.com/GeoNode/documentation/commit/3d04a304221f91ce2726eb60ecb9745e32f99f11#diff-e59499c486837b30526c50c0777516cfL773) |
🛠 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/base64_basic_auth#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!