Merged PR 253: Make observations use software health state visible instead of actual.

We already merged this change into dev, I just replicated it for b5.

Related work items: #2161, #2174
This commit is contained in:
Marek Wolan
2024-01-10 13:53:05 +00:00
2 changed files with 6 additions and 3 deletions

View File

@@ -145,8 +145,8 @@ class Software(SimComponent):
state = super().describe_state()
state.update(
{
"health_state": self.health_state_actual.value,
"health_state_red_view": self.health_state_visible.value,
"health_state_actual": self.health_state_actual.value,
"health_state_visible": self.health_state_visible.value,
"criticality": self.criticality.value,
"patching_count": self.patching_count,
"scanning_count": self.scanning_count,