-
Notifications
You must be signed in to change notification settings - Fork 83
CG Demo: enabling/disabling certain functionality #556
base: develop
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for frontend-sb canceled.
|
Added a 'before_request' hook to check if the destination endpoint is present in the whitelisted APIs. If yes allow the request to pass through, else return a message indicating the endpoint is unaccessable in demo version.
Fixed request context bug in register_hooks fucntion. Added REACT_APP_IS_DEMO environment variable in docker-compose.
|
GitGuardian id | Secret | Commit | Filename | |
---|---|---|---|---|
- | Generic High Entropy Secret | 9b7fe08 | .env | View secret |
2745890 | Generic High Entropy Secret | 1bc2609 | .env | View secret |
2745890 | Generic High Entropy Secret | c1baf44 | .env | View secret |
2745890 | Generic High Entropy Secret | e3c234c | .env | 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.
Our GitHub checks need improvements? Share your feedbacks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bhargavsk1077 left some comments for the backend code.
@bhargavsk1077 @ChartistDev We can pick these changes tomorrow. Let's target to get this branch merged in the next few days. |
Disallowed: - Edit config - anonymous reporting and alert report time Allowed: - Alerts dashboard - Task monitor - Listing endpoints: - The checkboxes in the filter for KPI and alert screen were broken because of this
Multi-level/nested was unnecessary and gave an error in debug mode: https://stackoverflow.com/questions/66190958/python-flask-framework-assertionerror-a-setup-function-was-called-after-the-fi
No description provided.