• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

facebookincubator / TTPForge / 16733824354
66%
main: 67%

Build:
Build:
LAST BUILD BRANCH: export-D89671295
DEFAULT BRANCH: main
Ran 04 Aug 2025 08:45PM UTC
Jobs 1
Files 66
Run time 173min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Aug 2025 08:44PM UTC coverage: 66.366%. First build
16733824354

Pull #549

github

facebook-github-bot
Adding parse-yaml functionality for sandcastle job

Summary:
### TTPForge Enhancement: Parse-YAML Functionality for Sandcastle Job

This diff introduces a new command `parse-yaml` to the TTPForge tool. The command accepts TTP reference as an argument and reads & tries to parse them using the `parseutils`. In case of any failure it returns an error. In this diff we also create a bash file that is called by the sandcastle job with all the affected file names. The bash files calls parse-yaml functionality for the TTPs in a for loop. This enables the sandcastle job to check & ensure that all the affected TTPs have correct structure.

#### New Files Added

* `fbcode/security/redteam/purple_team/ttpforge/cmd/parseyaml.go`: Implements the parse-YAML functionality.
* `fbcode/security/redteam/purple_team/ttpforge/cmd/parseyaml_test.go`: Contains unit tests for the parse-YAML feature.
* `fbcode/security/redteam/purple_team/ttpforge/parse-diff-ttps-test.sh`: Script called by sandcastle job that runs the parse-YAML functionality for all TTPs given to it.

These changes collectively enhance the functionality of TTPForge by adding a command to parse YAML files and making it more versatile for Sandcastle jobs.

Reviewed By: ivnik

Differential Revision: D79202811
Pull Request #549: Adding parse-yaml functionality for sandcastle job

26 of 32 new or added lines in 2 files covered. (81.25%)

2431 of 3663 relevant lines covered (66.37%)

16.32 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
80.65
cmd/parseyaml.go
Jobs
ID Job ID Ran Files Coverage
1 16733824354.1 04 Aug 2025 08:45PM UTC 66
66.37
GitHub Action Run
Source Files on build 16733824354
  • Tree
  • List 66
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #549
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc