santa
santa copied to clipboard
Update SNTPolicyProcessor to use a map
trafficstars
This PR refactors SNTPolicyProcessor to use a flat_hash_map instead of the switch statement.
This is being done for two reasons:
- To make it easier to add rules in the future or change the states
- In preparation for more advanced rules e.g. something to solve #1200