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
While we're doing the refactor, it would be useful to update the severity field to be its own model (instead of just an IntegerField).
The new Severity model would contain:
name (str)
value (int)
color (hexidecimal color value)
Out of the box, the system will define some basic severity levels (low, medium, high, critical, etc...). These should be installed as fixtures as part of the application initialization.
Views
Severity Management
A single view will exist that allows for severities to be listed, created, and archived. For creating a new severity, a button will open a modal which contains the 3 required fields (name, value, color). Upon submitting the values in the modal, the user should be redirected back to the severity management dashboard. Clicking on the archive button for a severity should prompt the user with a confirmation dialog. Upon accepting the archive prompt, the modal is closed and the DIV with the severity is removed as a result of the HTMX call.
Finding Severity Formatting
The existing finding tab within the scan result page has a column for severity. This column should be updated to show the priority name, value, and use the specified color.
The text was updated successfully, but these errors were encountered:
While we're doing the refactor, it would be useful to update the severity field to be its own model (instead of just an
IntegerField
).The new
Severity
model would contain:name (str)
value (int)
color (hexidecimal color value)
Out of the box, the system will define some basic severity levels (low, medium, high, critical, etc...). These should be installed as fixtures as part of the application initialization.
Views
Severity Management
A single view will exist that allows for severities to be listed, created, and archived. For creating a new severity, a button will open a modal which contains the 3 required fields (name, value, color). Upon submitting the values in the modal, the user should be redirected back to the severity management dashboard. Clicking on the archive button for a severity should prompt the user with a confirmation dialog. Upon accepting the archive prompt, the modal is closed and the DIV with the severity is removed as a result of the HTMX call.
Finding Severity Formatting
The existing finding tab within the scan result page has a column for severity. This column should be updated to show the priority name, value, and use the specified color.
The text was updated successfully, but these errors were encountered: