| 1 |
## in-toto match-products |
| 2 |
|
| 3 |
Check if local artifacts match products in passed link |
| 4 |
|
| 5 |
``` |
| 6 |
in-toto match-products [flags] |
| 7 |
``` |
| 8 |
|
| 9 |
### Options |
| 10 |
|
| 11 |
``` |
| 12 |
-e, --exclude stringArray gitignore-style patterns to exclude artifacts from matching |
| 13 |
-h, --help help for match-products |
| 14 |
-l, --link string Path to link metadata file |
| 15 |
--lstrip-paths stringArray Path prefixes used to left-strip artifact paths before storing |
| 16 |
them to the resulting link metadata. If multiple prefixes |
| 17 |
are specified, only a single prefix can match the path of |
| 18 |
any artifact and that is then left-stripped. All prefixes |
| 19 |
are checked to ensure none of them are a left substring |
| 20 |
of another. |
| 21 |
-p, --path stringArray file or directory paths to local artifacts, default is CWD (default [.]) |
| 22 |
``` |
| 23 |
|
| 24 |
### SEE ALSO |
| 25 |
|
| 26 |
* [in-toto](in-toto.md) - Framework to secure integrity of software supply chains |
| 27 |
|