Alex Goodman
4c20a74d2f
Replace packages command with scan ( #2446 )
...
* replace packages command with scan
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com >
* add tests for packages alias
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com >
* update comments with referenes to the packages command
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com >
* rename valiadte args function
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com >
---------
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com >
2024-01-04 16:56:57 +00:00
Christopher Angelo Phillips and guoguangwu
f07581f504
Pr 1825 ( #1865 )
...
chore: code cleanup
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com >
---------
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com >
Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com >
Co-authored-by: guoguangwu <guoguangwu@magic-shield.com >
2023-06-05 17:01:00 +00:00
Christopher Angelo Phillips
c8b8b1ca11
docs: update schema name to 2.3 ( #1416 )
2022-12-20 02:57:19 +00:00
Christopher Angelo Phillips
0f1e8fca14
bug: spdx checksum empty array; allow syft to generate SHA1 for spdx-tag-value documents ( #1404 )
2022-12-20 00:10:35 +00:00
Keith Zantow
b20310eaf8
Add gosimports ( #1205 )
2022-09-14 13:38:18 -04:00
Alex Goodman
fb0857ff93
Add support for indexing root filesystem ( #442 )
...
* change directory resolver to ignore system runtime paths + drive by index
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add event/etui support for filesystem indexing (for dir resolver)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add warnings for path indexing problems
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add directory resolver index tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* improve testing around directory resolver
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* renamed p var to path when not conflicting with import
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* pull docker image in CLI dir scan timeout test
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* ensure file not exist errors do not stop directory resolver indexing
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-06-29 22:06:47 +00:00
Alex Goodman
706322f826
Add SPDX support ( #445 )
...
* add initial spdx support
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* expose FileOwner and use in SPDX presenter
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add initial json support for SPDX
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add remaining package fields
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add spdx license list generation + tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* keep fileOwner unexported from pkg
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* restore cli test util
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add external refs to spdx tag-value format
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add golang support to CPE generation
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* use tag-value format as default "spdx" format flavor
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add tests around spdx presenters + refactor presenter tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add bouncer exception for spdx tools-golang repo
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove spdx model questions
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-06-25 16:30:41 -04:00