Skip to content

Commit f99906f

Browse files
committed
chore: add sbom
1 parent 2fced42 commit f99906f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/managers/bundler.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub fn get_task_command_map() -> HashMap<String, String> {
2323
task_command_map.insert("clean".to_string(), "bundle clean".to_string());
2424
task_command_map.insert("outdated".to_string(), "bundle outdated".to_string());
2525
task_command_map.insert("update".to_string(), "bundle update".to_string());
26+
task_command_map.insert("sbom".to_string(), "cyclonedx-ruby -o application.cdx.json -p .".to_string());
2627
task_command_map
2728
}
2829

src/managers/composer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ pub fn get_task_command_map() -> HashMap<String, String> {
4444
task_command_map.insert("clean".to_string(), "composer clear-cache".to_string());
4545
task_command_map.insert("outdated".to_string(), "composer outdated".to_string());
4646
task_command_map.insert("update".to_string(), "composer update".to_string());
47+
task_command_map.insert("sbom".to_string(), "composer CycloneDX:make-sbom --output-format=json --output-file=application.cdx.json".to_string());
4748
task_command_map
4849
}
4950

0 commit comments

Comments
 (0)