Update openid-caep-1_0.md#329
Conversation
Add an 'unmanaged' option to current_status in device compliance change event.
| > | ||
| > * `compliant` | ||
| > * `not-compliant` | ||
| > * `unmanaged`: The device is no longer being managed, and additional compliance change events may not be sent for this device. The device’s compliance state is unknown |
There was a problem hiding this comment.
I believe using "unmanaged" here might be confusing, and also from a flow/transitioning perspective can potentially lead to dead end scenarios if the previous status is "unknown".
I'd suggest normalizing into the same value (either "unknown" or "unmanaged") for both previous and current status.
There was a problem hiding this comment.
@martingalloar previous_status and current_status are not symmetrical. I added unknown to previous_status because it is possible that the transmitter doesn't have information on the previous status to send. For current_status, unknown is not very useful to send as it is not clear what a receiver will do with such a status.
There was a problem hiding this comment.
Since the previous_status is required how about using "unmanaged" as the initial "null" value.
With this we might not need the "unknown" value anymore IMHO.
So a device could transition from (initially) unmanaged -> not-compliant -> compliant -> unmanaged (again once removed / retired).
There was a problem hiding this comment.
@thomasdarimont The problem is not the transition of the device status (which is communicate using current_status field but the fact that the previous state is currently required and the transmitter doesn't necessarily know what was the previous_state. So a transmitter may send a current_status=compliant and a a month later, the device become unmanaged and the transmitter want to send a current_status=unmanaged signal but at that point, the transmitter may not know what was the previous_state.
Add an 'unmanaged' option to current_status in device compliance change event.