Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion framework/python/src/common/risk_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,11 @@ def _generate_risk_banner(self):
<h3>{'high' if self.risk == 'High' else 'limited'} Risk</h3>
</div>
<div class="risk-banner-description">
The device assessed with a high security risk profile due to its dedicated functionality, lack of sensitive data storage, and closed network operation.
{
'The device has been assessed to be high risk due to the nature of the answers provided about the device functionality.'
if self.risk == 'High' else
'The device has been assessed to be limited risk due to the nature of the answers provided about the device functionality.'
}
</div>
</div>
'''
Expand Down