You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our pentest report, we include color for policy regarding custom fields. For example, a critical impact will have the red color syntax, a low impact will be green and so on. All of those information are in a table, that I already created and is working fine. For the criticality, we'll fill the table box with the associated color (red for critical, green for low, ...). Is there a way to colorize the policy reading what's in a table box ? And so, is there a way to fill a table box ?
I'm thinking about something like this : {@impact == 'Critical'| convertHTML : 'redPolicy'} || {@impact == 'Low'| convertHTML : 'greenPolicy'}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Thanks for this awesome project !
In our pentest report, we include color for policy regarding custom fields. For example, a critical impact will have the red color syntax, a low impact will be green and so on. All of those information are in a table, that I already created and is working fine. For the criticality, we'll fill the table box with the associated color (red for critical, green for low, ...). Is there a way to colorize the policy reading what's in a table box ? And so, is there a way to fill a table box ?
I'm thinking about something like this :
{@impact == 'Critical'| convertHTML : 'redPolicy'} || {@impact == 'Low'| convertHTML : 'greenPolicy'}
Here is my full line (in a table):
This will only apply a red color to the policy, but I would like it to be green, orange or so regarding the value of
impact
I tried to search a bit on this but can't find any related topics.
Thank you all !
Beta Was this translation helpful? Give feedback.
All reactions