Open Ameston opened 3 days ago
It’s not possible to create a risk in any state other than Triage. This keeps state management for notifications simple.
We can modify the CLI to make this clear, or alternatively, we can issue an update request after the create request to set the status.
we can issue an update request after the create request to set the status.
Roger! Yeah, currently, the CLI lists all of the available states. My workaround was going to just issue a follow-up request, so I think the latter is the ideal solution.
cc @Ayushi-12
Bug Description The following command creates a new risk in the
triage informational
state instead ofopen informational
on the latest version of the CLI.Steps to Reproduce
praetorian --account "REDACTED" chariot add risk --key '#asset#REDACTED#REDACTED' --status 'OI' hello-world
Expected Behavior Open a new risk in the
open informational
state.