italia / Satosa-Saml2Spid

SATOSA SAML-to-SAML proxy with Spid compliances
Apache License 2.0
42 stars 25 forks source link

New docker image, dockerfile and cie integration #55

Closed MdreW closed 1 year ago

MdreW commented 1 year ago

New docker image configurable with environments and NGINX as frontend

gitguardian[bot] commented 1 year ago

⚠️ GitGuardian has uncovered 15 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) | Username Password | 2b9eea40bbb32988393c0463ced51c09fc3c1e3b | Satosa-Saml2Spid-Docker/compose/docker-compose.yml | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/2b9eea40bbb32988393c0463ced51c09fc3c1e3b#diff-865ef900e2e1b213cd7f50d50adad2d8L27) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Generic High Entropy Secret | 2b9eea40bbb32988393c0463ced51c09fc3c1e3b | Satosa-Saml2Spid-Docker/compose/init-mongo.js | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/2b9eea40bbb32988393c0463ced51c09fc3c1e3b#diff-bac5d50173bb944994af04bd9279cbe8L28) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Generic High Entropy Secret | 2b9eea40bbb32988393c0463ced51c09fc3c1e3b | Satosa-Saml2Spid-Docker/compose/init-mongo.js | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/2b9eea40bbb32988393c0463ced51c09fc3c1e3b#diff-bac5d50173bb944994af04bd9279cbe8L28) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Username Password | 3c0ca444e83873e63bc08997d2f97904fce5b033 | Satosa-Saml2Spid-Docker/compose/docker-compose.yml | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/3c0ca444e83873e63bc08997d2f97904fce5b033#diff-865ef900e2e1b213cd7f50d50adad2d8L27) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Generic High Entropy Secret | 3c0ca444e83873e63bc08997d2f97904fce5b033 | Satosa-Saml2Spid-Docker/compose/init-mongo.js | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/3c0ca444e83873e63bc08997d2f97904fce5b033#diff-bac5d50173bb944994af04bd9279cbe8L28) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Generic High Entropy Secret | 3c0ca444e83873e63bc08997d2f97904fce5b033 | Satosa-Saml2Spid-Docker/compose/init-mongo.js | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/3c0ca444e83873e63bc08997d2f97904fce5b033#diff-bac5d50173bb944994af04bd9279cbe8L28) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Username Password | 156adacefef8f8eabc29d4e97556a149b48875b9 | Satosa-Saml2Spid-Docker/compose/docker-compose.yml | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/156adacefef8f8eabc29d4e97556a149b48875b9#diff-865ef900e2e1b213cd7f50d50adad2d8R27) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Username Password | 4c81f656c54caaad928f58ac5e7993c105271739 | Satosa-Saml2Spid-Docker/compose/docker-compose.yml | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/4c81f656c54caaad928f58ac5e7993c105271739#diff-865ef900e2e1b213cd7f50d50adad2d8R27) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Generic Private Key | 584aa08d76bf65a8f46bd1cbb12b376c46c73bcd | compose-Satosa-Saml2Spid/nginx/certs/proxy_local.key | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/584aa08d76bf65a8f46bd1cbb12b376c46c73bcd#diff-c170310857800db66e10f6eae63000edL1) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Username Password | 47caa9b1a4378266c984878a9b7b4cb44abb8473 | compose-Satosa-Saml2Spid/docker-compose.yml | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/47caa9b1a4378266c984878a9b7b4cb44abb8473#diff-37f724f24361088df7952a527d24936fR27) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Username Password | 46ad8b1e65216d88d74788dad5bf250050acf2d1 | compose-Satosa-Saml2Spid/docker-compose.yml | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/46ad8b1e65216d88d74788dad5bf250050acf2d1#diff-37f724f24361088df7952a527d24936fR31) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Username Password | 68af8b9c65b57d5bf2309259be0a5aa4a915708e | compose-Satosa-Saml2Spid/docker-compose.yml | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/68af8b9c65b57d5bf2309259be0a5aa4a915708e#diff-37f724f24361088df7952a527d24936fR27) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Generic High Entropy Secret | 52bbaa5623320f3f651b79ae444b04466341c436 | compose-Satosa-Saml2Spid/init-mongo.sh | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/52bbaa5623320f3f651b79ae444b04466341c436#diff-1362221179ba09a9eda13f47ba572734R28) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Generic High Entropy Secret | 52bbaa5623320f3f651b79ae444b04466341c436 | compose-Satosa-Saml2Spid/init-mongo.sh | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/52bbaa5623320f3f651b79ae444b04466341c436#diff-1362221179ba09a9eda13f47ba572734R28) | | [-](https://dashboard.gitguardian.com/incidents/secrets) | Generic Password | 2345768a35e08103c446acff081fa9ca23c5dbef | compose-Satosa-Saml2Spid/docker-compose.yml | [View secret](https://github.com/italia/Satosa-Saml2Spid/commit/2345768a35e08103c446acff081fa9ca23c5dbef#diff-37f724f24361088df7952a527d24936fR27) |
🛠 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/username_password#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://https://docs.gitguardian.com/ggshield-docs/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!

peppelinux commented 1 year ago

Nella descrizione di questa pull request è necessario elencare le modifiche e le funzionalità da questa introdotte

peppelinux commented 1 year ago

Hey guys, I'm writing in english because we have some collegues of the R&S world that's interested in this project, so let's speak english :-)

I have enabled the GH container deployment for each new release.