facebookincubator / TTPForge

The TTPForge is a Cybersecurity Framework for developing, automating, and executing attacker Tactics, Techniques, and Procedures (TTPs).
MIT License
344 stars 34 forks source link

Validate CD Step at Run instead of Validate #519

Closed RoboticPrism closed 1 week ago

RoboticPrism commented 2 weeks ago

Summary: Because TTPForge runs validations on TTP load, and we validate our target directory in the Validate action, the CD step will validate the existence of its target directory at TTP load. This means that if you create your target directory as part of your TTP, your CD step will fail because the directory does not exist yet.

By moving the check to the run step, we will now hold off on validating the directory's existence until the CD step is run, allowing previous steps to create the target directory.

Differential Revision: D65831540

facebook-github-bot commented 2 weeks ago

This pull request was exported from Phabricator. Differential Revision: D65831540

facebook-github-bot commented 1 week ago

This pull request was exported from Phabricator. Differential Revision: D65831540

facebook-github-bot commented 1 week ago

This pull request has been merged in facebookincubator/TTPForge@102c30c853895dd06e7d104403bcf1eb344eded3.