dsi-icl / optimise

OptimiseMS
https://optimise.dsi.ic.ac.uk
MIT License
1 stars 1 forks source link

feat(nx-cloud): setup nx workspace #2257

Closed fguitton closed 3 months ago

fguitton commented 3 months ago

feat(nx-cloud): setup nx cloud workspace

This commit set up Nx Cloud for your Nx workspace enabling distributed caching and GitHub integration for fast CI and improved Developer Experience.

You can access your Nx Cloud workspace by going to https://cloud.nx.app/orgs/648179eff914c5000d94fd81/workspaces/66a171d57ce15f632ab89518

Note: This commit attempts to maintain formatting of the nx.json, however you may need to correct formatting by running an nx format command and committing the changes.

gitguardian[bot] commented 3 months ago

⚠️ GitGuardian has uncovered 2 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 | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [11554316](https://dashboard.gitguardian.com/workspace/25407/incidents/11554316?occurrence=161364747) | Triggered | Nx Cloud Token | 21dc18ec820470aaf7003ca7c2fdc57eebdc9570 | nx.json | [View secret](https://github.com/dsi-icl/optimise/commit/21dc18ec820470aaf7003ca7c2fdc57eebdc9570#diff-15552e50b1b7c05b05b7ffe08ee47b5ed62b8d2039229c58972a42fd22a7381cL59) | | [13159187](https://dashboard.gitguardian.com/workspace/25407/incidents/13159187?occurrence=161364748) | Triggered | Nx Cloud Token | 21dc18ec820470aaf7003ca7c2fdc57eebdc9570 | nx.json | [View secret](https://github.com/dsi-icl/optimise/commit/21dc18ec820470aaf7003ca7c2fdc57eebdc9570#diff-15552e50b1b7c05b05b7ffe08ee47b5ed62b8d2039229c58972a42fd22a7381cR59) |
🛠 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/secrets-detection-engine/detectors/specifics/nx_cloud_token#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/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.