testable-eu / sast-tp-framework

TP-Framework: Testability Pattern Framework for SAST
https://owasp.org/www-project-testability-patterns-for-web-applications/
Apache License 2.0
11 stars 3 forks source link

[Patterns] Simplify pattern file structure #40

Open compaluca opened 1 year ago

compaluca commented 1 year ago

Follow up on issue https://github.com/testable-eu/sast-testability-patterns/issues/15.

Folder names and files in for pattern instances do not need to keep the pattern name. For instance, rather than 102_collection_taint_propagation/2_instance_102_collection_taint_propagation we could use 102_collection_taint_propagation/002

In addition consider using padding for filename. While it is possible to use ls -v, consider pading all numbers, i.e., 6 to 006, etc.