How do I override my Panther detection's default severity?
How do I use Python code to override my rule's default severity?
You can override your Detection's default severity, as defined in the metadata, using the severity() method in the Python code. This will take precedence over your default severity. Here's an example rule for reference.