We have sudo cscli alerts delete
and sudo cscli alerts flush
What the difference?
Documentation is plain rubbish.
cscli alerts delete
will soft delete the alert in the database. cscli alerts flush
will find the alerts with a soft delete agaisnt them and remove them. You shouldn’t need to manually flush as there is a setting with the config that will run this on a regular basis.