flopezag / qa-fiware-tutorials

“As ironic as it seems, the challenge of a tester is to test as little as possible. Test less, but test smarter.” — Federico Toledo
Apache License 2.0
1 stars 2 forks source link

Feature.604 #22

Closed flopezag closed 2 years ago

flopezag commented 2 years ago

Description

Feature, step, and data files corresponding to the tutorial 604

Please resolve previously (in order) the PR #17, #19, #20, and #21 to resolve this one.

gitguardian[bot] commented 2 years ago

⚠️ GitGuardian has uncovered 13 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 | | | -------------- | ------------------------- | ---------------- | --------------- | -------------------- | | [23213219](https://dashboard.gitguardian.com/incidents/2810265?occurrence=23213219) | Generic High Entropy Secret | 98a4dd288dd93fc74ab89a3675f488e5c0ad4d57 | features/data/407.Securing_Access_OpenID_Connect/response407-00-01.json | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/98a4dd288dd93fc74ab89a3675f488e5c0ad4d57#diff-f593ac2187da49fef5e8f5b866b008b65bbc022670bcd92a5a81a10857a3d319R4) | | [23690924](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23690924) | Generic High Entropy Secret | 43bdd1b666876f753209c3f6cf1ab7c14417afdb | features/202.IotAgent_Ultralight.feature | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/43bdd1b666876f753209c3f6cf1ab7c14417afdb#diff-adab453287689b57a4daae26da45905868e6c0e9bdad35f726d85ba91a208501L107) | | [23690925](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23690925) | Generic High Entropy Secret | 43bdd1b666876f753209c3f6cf1ab7c14417afdb | features/202.IotAgent_Ultralight.feature | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/43bdd1b666876f753209c3f6cf1ab7c14417afdb#diff-adab453287689b57a4daae26da45905868e6c0e9bdad35f726d85ba91a208501R160) | | [23690926](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23690926) | Generic High Entropy Secret | 43bdd1b666876f753209c3f6cf1ab7c14417afdb | features/202.IotAgent_Ultralight.feature | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/43bdd1b666876f753209c3f6cf1ab7c14417afdb#diff-adab453287689b57a4daae26da45905868e6c0e9bdad35f726d85ba91a208501L113) | | [23690927](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23690927) | Generic High Entropy Secret | 43bdd1b666876f753209c3f6cf1ab7c14417afdb | features/202.IotAgent_Ultralight.feature | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/43bdd1b666876f753209c3f6cf1ab7c14417afdb#diff-adab453287689b57a4daae26da45905868e6c0e9bdad35f726d85ba91a208501R168) | | [23690928](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23690928) | Generic High Entropy Secret | 43bdd1b666876f753209c3f6cf1ab7c14417afdb | features/data/204.IoT_Agent_Mqtt/request204-02.json | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/43bdd1b666876f753209c3f6cf1ab7c14417afdb#diff-b2f0915cd013697a19b88ad6bc126a2a143b688df3aa0c63573bcb688baba313R4) | | [23690929](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23690929) | Generic High Entropy Secret | 43bdd1b666876f753209c3f6cf1ab7c14417afdb | features/data/205.IoT_Agent_Custom/request205-02.json | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/43bdd1b666876f753209c3f6cf1ab7c14417afdb#diff-780306274b12d38a4a134e93fbb4ffc6bcffd145e995056a14ace9df4090b947R5) | | [23696225](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23696225) | Generic High Entropy Secret | b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8 | features/202.IotAgent_Ultralight.feature | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8#diff-adab453287689b57a4daae26da45905868e6c0e9bdad35f726d85ba91a208501L107) | | [23696226](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23696226) | Generic High Entropy Secret | b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8 | features/202.IotAgent_Ultralight.feature | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8#diff-adab453287689b57a4daae26da45905868e6c0e9bdad35f726d85ba91a208501R160) | | [23696227](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23696227) | Generic High Entropy Secret | b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8 | features/202.IotAgent_Ultralight.feature | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8#diff-adab453287689b57a4daae26da45905868e6c0e9bdad35f726d85ba91a208501L113) | | [23696228](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23696228) | Generic High Entropy Secret | b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8 | features/202.IotAgent_Ultralight.feature | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8#diff-adab453287689b57a4daae26da45905868e6c0e9bdad35f726d85ba91a208501R168) | | [23696229](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23696229) | Generic High Entropy Secret | b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8 | features/data/204.IoT_Agent_Mqtt/request204-02.json | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8#diff-b2f0915cd013697a19b88ad6bc126a2a143b688df3aa0c63573bcb688baba313R4) | | [23696230](https://dashboard.gitguardian.com/incidents/2756248?occurrence=23696230) | Generic High Entropy Secret | b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8 | features/data/205.IoT_Agent_Custom/request205-02.json | [View secret](https://github.com/flopezag/qa-fiware-tutorials/commit/b1868d1e27a1d7cdd4ed39128636f3ddf31a48b8#diff-780306274b12d38a4a134e93fbb4ffc6bcffd145e995056a14ace9df4090b947R5) |
🛠 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/generic_high_entropy_secret#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!

jicarretero commented 2 years ago

lgtm