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
GitHub Code Scanning, Azure DevOps, and most IDE extensions ingest SARIF directly. See [CI integration](CI_INTEGRATION.md) for upload recipes.
80
80
81
-
## SBOM output: `-o`
81
+
## Additional output: `-o`
82
82
83
-
Independent of `--format`. You can write any number of SBOM artifacts alongside the reporting output:
83
+
Independent of `--format`. You can write review reports and SBOM artifacts alongside the primary output:
84
84
85
85
```bash
86
86
bomly scan --format json \
87
+
-o markdown=summary.md \
88
+
-o sarif=bomly.sarif \
87
89
-o spdx=sbom.spdx.json \
88
90
-o cyclonedx=sbom.cdx.json
89
91
```
@@ -92,10 +94,12 @@ Supported targets:
92
94
93
95
|`-o` value | Format |
94
96
| --- | --- |
97
+
|`markdown`| GitHub-flavored Markdown report |
98
+
|`sarif`| SARIF 2.1.0 report; requires `--audit`|
95
99
|`spdx`| SPDX 2.3 JSON |
96
100
|`cyclonedx`| CycloneDX 1.6 JSON |
97
101
98
-
See [SBOM formats](SBOM.md) for the comparison and writing rules.
102
+
`spdx` and `cyclonedx` are supported by `scan`. `markdown` and `sarif` are supported by report-producing commands. See [SBOM formats](SBOM.md) for the SBOM comparison and writing rules.
99
103
100
104
## Combining outputs
101
105
@@ -110,10 +114,12 @@ Example:
110
114
111
115
```bash
112
116
bomly scan --enrich --audit --fail-on high \
113
-
--format sarif \
117
+
--format json \
118
+
-o markdown=summary.md \
119
+
-o sarif=bomly.sarif \
114
120
-o spdx=sbom.spdx.json \
115
121
-o cyclonedx=sbom.cdx.json \
116
-
> bomly.sarif
122
+
> bomly.json
117
123
```
118
124
119
125
Detector and matcher work runs once. All outputs derive from the same in-memory graph.
0 commit comments