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
Copy file name to clipboardexpand all lines: README.md
+73-28
Original file line number
Diff line number
Diff line change
@@ -26,57 +26,74 @@
26
26
```sh
27
27
go install github.com/interlynk-io/sbomgr@latest
28
28
```
29
+
29
30
other installations [options](#installation)
30
31
32
+
# SBOM Platform - Free Tier
33
+
34
+
Our SBOM Automation Platform has a new free tier that provides a comprehensive solution to manage SBOMs (Software Bill of Materials) effortlessly. From centralized SBOM storage, built-in SBOM editor, continuous vulnerability mapping and assessment, and support for organizational policies, all while ensuring compliance and enhancing software supply chain security using integrated SBOM quality scores. The free tier is ideal for small teams. [Sign up](https://app.interlynk.io/)
This section explains the flags relevant to the packages search feature.
164
188
The packages search takes only a single argument, either a file or a directory. There are man flags which can be specified to control its behaviour.
165
189
166
-
#### *Match Criteria*
190
+
#### _Match Criteria_
191
+
167
192
---
193
+
168
194
- `-N` or `--name` used for package/component name search.
169
195
- `-C` or `--cpe` used for package/component cpe search.
170
196
- `-P` or `--purl` used for pacakge/component purl search.
171
197
- `-H` or `--checksum` used for package/component checksum value search.
172
198
173
199
all of these match criteria are exclusive to each other.
174
200
175
-
#### *Patter Matching*
176
-
---------
201
+
#### _Patter Matching_
202
+
203
+
---
204
+
177
205
- `-E` or `--extended-regexp` flag can be used to indicate if the match criteria is a regular expression. Syntax supported is https://github.com/google/re2/wiki/Syntax.
178
206
179
-
#### *Matching Control*
180
-
-----
207
+
#### _Matching Control_
208
+
209
+
---
210
+
181
211
- `-i` or `--ignore-case`case insensitive matching.
182
212
183
-
#### *Output Control*
184
-
----
213
+
#### _Output Control_
214
+
215
+
---
216
+
185
217
- `-l` or `--license` this includes the license of the package/component in the output.
186
218
- `-q` or `--quiet` this suppresses all output of the tool, the return value of the tool is 0 indicating success, if it finds the search criteria.
187
219
- `--no-filename` removes the filename from the output.
@@ -191,32 +223,40 @@ all of these match criteria are exclusive to each other.
191
223
- `filen` - filepath
192
224
- `tooln` - tool with which sbom was generated, only prints the first one
193
225
- `toolv` - tool version
194
-
- `docn`- sbom document name
195
-
- `docv`- sbom document version
196
-
- `cpe`- package cpe, only prints the first one, indicates how many cpe's exists.
197
-
- `purl` - package purl
198
-
- `pkgn` - package name
199
-
- `pkgv` - package version
200
-
- `pkgl` - package licenses
226
+
- `docn` - sbom document name
227
+
- `docv` - sbom document version
228
+
- `cpe` - package cpe, only prints the first one, indicates how many cpe's exists.
229
+
- `purl` - package purl
230
+
- `pkgn` - package name
231
+
- `pkgv` - package version
232
+
- `pkgl` - package licenses
201
233
- `specn` - spec of the sbom document, spdx or cdx.
202
-
- `chkn` - checksum name
203
-
- `chkv` - checksum value
204
-
- `repo` - repository url
234
+
- `chkn` - checksum name
235
+
- `chkv` - checksum value
236
+
- `repo` - repository url
237
+
- `direct` - package is a direct dependency
238
+
239
+
#### _Stats Control_
240
+
241
+
---
205
242
206
-
#### *Stats Control*
207
-
----
208
243
- `-c` or `--count` suppresses the normal output and print matching counts of sbom filenames and packages.
209
244
210
-
#### *Directory Control*
211
-
----
245
+
#### _Directory Control_
246
+
247
+
---
248
+
212
249
- `-r` or `--recurse` when set, recursively scans all sub directories.
213
250
214
-
#### *Spec Control*
215
-
----
251
+
#### _Spec Control_
252
+
253
+
---
254
+
216
255
- `--spdx` searches only files which are SPDX.
217
256
- `--cdx` searches only files which are CycloneDX.
218
257
219
258
# Future work
259
+
220
260
- Search using files.
221
261
- Search using tool metadata.
222
262
- Search using CVE-ID.
@@ -225,6 +265,7 @@ all of these match criteria are exclusive to each other.
225
265
- Provide a list of malicious packages
226
266
227
267
# SBOM Samples
268
+
228
269
- A sample set of SBOM is present in the [samples](https://github.com/interlynk-io/sbomgr/tree/main/samples) directory above.
229
270
- [SBOM Benchmark](https://www.sbombenchmark.dev) is a repository of SBOM and quality score for most popular containers and repositories
230
271
- [SBOM Explorer](https://github.com/interlynk-io/sbomex) is a command line utility to search and pull SBOMs
0 commit comments