fix: api responses enhancements - #6797
Conversation
# Conflicts: # specs/common/delete-options.yaml
duplicated removed ap spec correction
api-spec fix api-spec fix api-spec fix API Error wrapper API Error wrapper specs fixes
…n ge default deployment template
|
Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n |
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 19465121 | Triggered | Generic High Entropy Secret | 15b2a4f | scripts/sql/34304100_bulk_edit_config.up.sql | View secret |
| 20477209 | Triggered | Generic High Entropy Secret | 40bb962 | tests/api-spec-validation/Makefile | View secret |
| 19602448 | Triggered | Generic High Entropy Secret | 4338a20 | tests/api-spec-validation/Makefile | View secret |
| 19601641 | Triggered | AWS IAM Keys | 67387e6 | tests/api-spec-validation/reports/live-server-validation-report.md | View secret |
| 19578172 | Triggered | Generic High Entropy Secret | b35c605 | tests/api-spec-validation/Makefile | View secret |
| 19601642 | Triggered | GitHub Fine Grained Personal Access Token | 67387e6 | tests/api-spec-validation/reports/live-server-validation-report.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 secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- 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.
|
Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n |
|



Description
Fixes https://github.com/devtron-labs/sprint-tasks/issues/2519
Checklist:
Does this PR introduce a user-facing change?
Summary by Bito
This pull request enhances API responses by improving error messages and handling across various endpoints. Key modifications include more descriptive error messages for invalid parameters and improved logging for better debugging, aiming to provide clearer feedback for users and developers.