Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical Category added #1392

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Critical Category added #1392

wants to merge 7 commits into from

Conversation

arjun-akto
Copy link
Contributor

  1. Added New Risk Category
  2. Need to integrate new category with color coding for "CRITICAL"
  3. test code

apps/dashboard/src/main/java/com/akto/utils/Utils.java Outdated Show resolved Hide resolved
@@ -348,6 +348,7 @@ const transform = {

getColor(key){
switch(key.toUpperCase()){
case "CRITICAL" : return "very critical";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no such color in polaris

{
data: retH,
color: "var(--p-color-bg-critical-strong)",
name: "CRITICAL"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make it retCr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants