Skip to content

Commit

Permalink
🐛 Add application risk filter of "Unassessed"
Browse files Browse the repository at this point in the history
Resolves: https://issues.redhat.com/browse/MTA-2816

Application risk options are one of:
  - High (red)
  - Medium (yellow)
  - Low (green)
  - Unknown (unknown)
  - Unassessed (unassessed)

Added the __Unassessed__ option to the risk filter
list on the application table to have a complete
set of risk filters.

Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 committed Jul 29, 2024
1 parent 4e76d8e commit 1d832b9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ export const ApplicationsTable: React.FC = () => {
{ value: "yellow", label: "Medium" },
{ value: "red", label: "High" },
{ value: "unknown", label: "Unknown" },
{ value: "unassessed", label: "Unassessed" },
],
getItemValue: (item) => item.risk ?? "",
},
Expand Down
34 changes: 34 additions & 0 deletions hack/import-questionnaire/assign-risk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Assign Risk
description: |
Questionnaire that allows the use to select a risk level directly
sections:
- order: 1
name: Assign The RISK
questions:
- order: 1
text: What should be the Risk level of the application?
answers:
- order: 1
text: Unknown
risk: unknown
- order: 2
text: Green / Low
risk: green
- order: 3
text: Yellow / Medium
risk: yellow
- order: 4
text: Red / High
risk: red

thresholds:
red: 1
yellow: 30
unknown: 15

riskMessages:
red: Application requires deep changes in architecture or lifecycle
yellow: Application is Cloud friendly but requires some minor changes
green: Application is Cloud Native
unknown: More information about the application is required

0 comments on commit 1d832b9

Please sign in to comment.