Repository navigation
Conversation
Signed-off-by: bidi <bidi@apidemia.com>
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 15736006 | Triggered | Bearer Token | 7713e62 | docs/book/v6/extra/header.md | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. 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 for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit 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.
Those are not real secrets, just examples to showcase the |
There was a problem hiding this comment.
Since we use Mezzio\Middleware\ErrorResponseGenerator in src/ErrorHandlerFactory.php, why would mezzio/mezzio move to suggest?
There was a problem hiding this comment.
it uses Mezzio\Middleware\ErrorResponseGenerator but only in name, so the package doesn't ened to be installed. the fallback is the ErrorResponseGenerator from Stratigility
in a real application (DK API), mezzio/mezzio is often required, so it's installed there
Signed-off-by: bidi <bidi@apidemia.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 6.0 #73 +/- ##
============================================
- Coverage 98.42% 98.19% -0.23%
- Complexity 117 124 +7
============================================
Files 20 20
Lines 317 333 +16
============================================
+ Hits 312 327 +15
- Misses 5 6 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
psr/http-server-handlerwas added because the code usesRequestHandlerInterfacedotkernel/dot-logis only required when using the shipped log configErrorResponseGeneratoris used automatically when registered in the container