Skip to main content
Panther Knowledge Base

Can I omit unused fields from my detection unit test?

QUESTION

Detection unit tests contain the entire sample event. Can I omit unused fields from my detection unit test?

ANSWER

There is no issue with omitting unused fields from your detection's unit test. However, if you need to utilize additional event fields in the future, you will need to add them to your unit test so it passes the test. We recommend that you communicate this process with your team when omitting unused fields.

 

  • Was this article helpful?