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
It will be super cool to convert CI workflows such as .github/workflows and gitlab pipeline files into workflow steps. This would immensely help with troubleshooting as well, since the SBOM would list the OS commands and libraries needed to successfully build applications.
Yes, I plan to enhance parseGitHubWorkflowData. I will add logic to extract workflow steps from .github/workflows/*.yml files.
I am extremely sorry for delay in creating the PR. I am working in this issue.
Implementation Plan:
Parse Workflow Files:
Enhance parseGitHubWorkflowData to read and parse YAML files for jobs, steps, and commands.
Map Data to CycloneDX Schema:
Convert extracted steps into the CycloneDX JSON format for workflow steps.
Support Key Attributes:
Capture attributes such as step name, run commands, and uses references.
Handle Edge Cases:
Include error handling for missing or invalid workflow definitions.
Testing and Validation:
Create unit tests for different workflow file structures.
Ensure the output conforms to the CycloneDX schema.
It will be super cool to convert CI workflows such as .github/workflows and gitlab pipeline files into workflow steps. This would immensely help with troubleshooting as well, since the SBOM would list the OS commands and libraries needed to successfully build applications.
https://cyclonedx.org/docs/1.6/json/#formulation_items_workflows_items_steps
The text was updated successfully, but these errors were encountered: