Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

CG Demo: enabling/disabling certain functionality #556

Draft
wants to merge 41 commits into
base: develop
Choose a base branch
from

Conversation

ChartistDev
Copy link
Contributor

No description provided.

@netlify
Copy link

netlify bot commented Dec 29, 2021

Deploy Preview for frontend-sb canceled.

Name Link
🔨 Latest commit 13e58dc
🔍 Latest deploy log https://app.netlify.com/sites/frontend-sb/deploys/630c9e01fbfe790009312d87

@ChartistDev ChartistDev added the don't merge PR which doesn't need to be merged right now label Dec 29, 2021
@manassolanki manassolanki added this to the v0.4.0 milestone Jan 4, 2022
@manassolanki manassolanki changed the title Cg demo CG Demo: enabling/disabling certain functionality Jan 5, 2022
@ChartistDev ChartistDev changed the base branch from main to develop January 10, 2022 05:37
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.
@Samyak2 Samyak2 removed this from the v0.4.0 milestone Jan 27, 2022
@gitguardian
Copy link

gitguardian bot commented Feb 23, 2022

⚠️ GitGuardian has uncovered 4 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
- 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
  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 the best practices.
  3. Revoke and rotate these secrets.
  4. 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


🦉 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!

@ChartistDev ChartistDev self-assigned this Mar 24, 2022
Copy link
Contributor

@Samyak2 Samyak2 left a 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.

chaos_genius/app.py Outdated Show resolved Hide resolved
chaos_genius/app.py Outdated Show resolved Hide resolved
chaos_genius/app.py Outdated Show resolved Hide resolved
chaos_genius/app.py Outdated Show resolved Hide resolved
chaos_genius/settings.py Outdated Show resolved Hide resolved
chaos_genius/utils/utils.py Outdated Show resolved Hide resolved
docker-compose.latest.yml Outdated Show resolved Hide resolved
chaos_genius/app.py Outdated Show resolved Hide resolved
@manassolanki
Copy link
Member

@bhargavsk1077 @ChartistDev We can pick these changes tomorrow. Let's target to get this branch merged in the next few days.

@gitpod-io
Copy link

gitpod-io bot commented Jun 14, 2022

@Samyak2 Samyak2 marked this pull request as draft June 28, 2022 03:41
ChartistDev and others added 4 commits July 5, 2022 11:28
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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
don't merge PR which doesn't need to be merged right now 🖥️ frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants