codacy / codacy-plugins-api

A dependency free api for Codacy Tools
2 stars 15 forks source link

feature: Change categories back to Enumeration and add missing Subcategories FT-8521 #44

Closed prendi closed 4 years ago

prendi commented 4 years ago

This PR changes categories back to Enumeration due to a serialization / deserialization problem with play-json that doesn't support case objects extending sealed traits. Additionally there were some subcategories missing that were also added.

lolgab commented 4 years ago

Where did you find these subcategories? Aren't they too much? It is very hard to find security patterns in the tools, I don't know if we can find them for all these subcategories

prendi commented 4 years ago

These are the existing subcategories, they are defined in codacy-worker and I believe that all of them have at least one pattern (I didn't double check but seems like they do).