securesauce / precli

Precaution CLI - command line static application security testing tool
https://precli.readthedocs.io/
Other
13 stars 3 forks source link

Fix collison in rule wildcards #420

Closed ericwb closed 4 months ago

ericwb commented 4 months ago

It's possible for different rules define a wildcard that has the same key. As a result, this collison would overwrite the other.

This change fixes the collison by appending the wildcard value to the other.