You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add logic to ttpforge test that will enforce stricter standards on new TTPs to make TTP authors fully provide required metadata - it should throw an error if the following fields are empty:
The platforms list under requirements (TTPs must specify supported platforms)
The top-level tests: field (TTPs must have test cases)
Description field (TTPs must provide basic contextual information)
We can then make CI/CD for the TTP repos run this command against all .yaml stuff.
Basic Example
This TTP would pass the new validation
name: Awesome TTP
description: |
Info about the TTP
requirements:
platforms:
- os: linux
tests:
- name a_valid_test_case
Drawbacks
Can't enforce this against existing TTP portfolio until they are all updated
Unresolved questions
No response
The text was updated successfully, but these errors were encountered:
Implementation PR
No response
Reference Issues
No response
Summary
Add logic to
ttpforge test
that will enforce stricter standards on new TTPs to make TTP authors fully provide required metadata - it should throw an error if the following fields are empty:platforms
list underrequirements
(TTPs must specify supported platforms)tests:
field (TTPs must have test cases)We can then make CI/CD for the TTP repos run this command against all
.yaml
stuff.Basic Example
This TTP would pass the new validation
Drawbacks
Can't enforce this against existing TTP portfolio until they are all updated
Unresolved questions
No response
The text was updated successfully, but these errors were encountered: