Parallels / packer-plugin-parallels

Packer plugin for Parallels Builder
https://www.packer.io/docs/builders/parallels
Mozilla Public License 2.0
14 stars 14 forks source link

adding initial hcp registry changes #82

Open cjlapao opened 1 year ago

cjlapao commented 1 year ago

Adding HCP registry compatibility to the parallels plugin

gitguardian[bot] commented 2 months ago

⚠️ GitGuardian has uncovered 8 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 | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [7081226](https://dashboard.gitguardian.com/workspace/181684/incidents/7081226) | Triggered | Generic Password | a16fc1d463990469cabd9235476667b944390838 | builder/parallels/ipsw/builder.hcl2spec.go | [View secret](https://github.com/Parallels/packer-plugin-parallels/commit/a16fc1d463990469cabd9235476667b944390838#diff-0bfabfecde0d4a4d431422fb58dcd4db3895c7e9435b67eb96297ac013b88049L162) | | [7081226](https://dashboard.gitguardian.com/workspace/181684/incidents/7081226) | Triggered | Generic Password | a16fc1d463990469cabd9235476667b944390838 | builder/parallels/macvm/config.hcl2spec.go | [View secret](https://github.com/Parallels/packer-plugin-parallels/commit/a16fc1d463990469cabd9235476667b944390838#diff-0c0b5952089ec001fc1211492a32c5938cb977c7638db443305b2021b52e0898L133) | | [7081226](https://dashboard.gitguardian.com/workspace/181684/incidents/7081226) | Triggered | Generic Password | a16fc1d463990469cabd9235476667b944390838 | builder/parallels/macvm/config.hcl2spec.go | [View secret](https://github.com/Parallels/packer-plugin-parallels/commit/a16fc1d463990469cabd9235476667b944390838#diff-0c0b5952089ec001fc1211492a32c5938cb977c7638db443305b2021b52e0898L141) | | [7081226](https://dashboard.gitguardian.com/workspace/181684/incidents/7081226) | Triggered | Generic Password | a16fc1d463990469cabd9235476667b944390838 | builder/parallels/ipsw/builder.hcl2spec.go | [View secret](https://github.com/Parallels/packer-plugin-parallels/commit/a16fc1d463990469cabd9235476667b944390838#diff-0bfabfecde0d4a4d431422fb58dcd4db3895c7e9435b67eb96297ac013b88049L178) | | [7081226](https://dashboard.gitguardian.com/workspace/181684/incidents/7081226) | Triggered | Generic Password | a16fc1d463990469cabd9235476667b944390838 | builder/parallels/ipsw/builder.hcl2spec.go | [View secret](https://github.com/Parallels/packer-plugin-parallels/commit/a16fc1d463990469cabd9235476667b944390838#diff-0bfabfecde0d4a4d431422fb58dcd4db3895c7e9435b67eb96297ac013b88049L142) | | [7081226](https://dashboard.gitguardian.com/workspace/181684/incidents/7081226) | Triggered | Generic Password | a16fc1d463990469cabd9235476667b944390838 | builder/parallels/ipsw/builder.hcl2spec.go | [View secret](https://github.com/Parallels/packer-plugin-parallels/commit/a16fc1d463990469cabd9235476667b944390838#diff-0bfabfecde0d4a4d431422fb58dcd4db3895c7e9435b67eb96297ac013b88049L170) | | [7081226](https://dashboard.gitguardian.com/workspace/181684/incidents/7081226) | Triggered | Generic Password | a16fc1d463990469cabd9235476667b944390838 | builder/parallels/macvm/config.hcl2spec.go | [View secret](https://github.com/Parallels/packer-plugin-parallels/commit/a16fc1d463990469cabd9235476667b944390838#diff-0c0b5952089ec001fc1211492a32c5938cb977c7638db443305b2021b52e0898L149) | | [7081226](https://dashboard.gitguardian.com/workspace/181684/incidents/7081226) | Triggered | Generic Password | a16fc1d463990469cabd9235476667b944390838 | builder/parallels/macvm/config.hcl2spec.go | [View secret](https://github.com/Parallels/packer-plugin-parallels/commit/a16fc1d463990469cabd9235476667b944390838#diff-0c0b5952089ec001fc1211492a32c5938cb977c7638db443305b2021b52e0898L113) |
🛠 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/generics/generic_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://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.