QUESTION

When crafting a detection which uses theĀ severity()function, how can I test that the function outputs the correct severity each time?

ANSWER

If you test your detections in the Panther Console as described here, any detection which uses theĀ severity()function will have the generated severity displayed, as in the picture below.

Note that currently it's not possible to display generated severities for detections tested using the Panther Analysis Tool.