Alex Goodman
cb0278f3bc
hoist up package relationship discovery to analysis stage
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-11-10 11:05:01 -05:00
Alex Goodman
52adfcbd44
stabilize package ID relative to encode-decode format cycles
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-11-09 16:53:16 -05:00
Alex Goodman and Christopher Angelo Phillips
bb0f35bac4
Introduce a single SBOM document ( #606 )
...
* [wip] single sbom doc
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix more tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix linting
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update cli tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove scope in import path
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* swap SPDX tag-value formatter to single sbom document
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* bust CLI cache
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update fixture to byte diff
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* byte for byte
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* bust the cache
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* who needs cache
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* add jar for testing
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* no more bit flips
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* update apk with the delta for image and directory cases
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* restore cache workflow
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
Co-authored-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-11-05 10:05:49 -04:00
Alex Goodman
560b05c2c9
Introduce new format pattern + port json processing ( #550 )
...
* add new format pattern
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add syftjson format
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add internal formats helper
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add SBOM encode/decode to lib API
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove json presenter + update presenter tests to use common utils
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove presenter format enum type + add formats shim in presenter helper
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add MustCPE helper for tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update usage of format enum
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add test fixtures for encode/decode tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix integration test
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* migrate format detection to use reader
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* address review comments
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-20 21:36:34 +00:00
Alex Goodman
9189ed68df
Add query by MIME type to source.FileResolver ( #529 )
...
* add query by MIME type to source.FileResolver
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* pull in stereoscope MIME type feature
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-05 20:50:53 -04:00
Alex Goodman
1b23a94015
Add option to output SBOM report to a file ( #530 )
...
* add output to file option
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* log errors on close of the report destination
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove file option from persistent args
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update file option comments and logging
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* allow for multiple UI fallback options
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update UI select signatures + tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-05 14:47:24 -04:00
Keith Zantow
93b4bf9379
Add option to enable http registry connections ( #482 )
...
Signed-off-by: Keith Zantow <kzantow@gmail.com >
2021-08-17 12:52:51 -04:00
Dan Luhring
80e23bdb50
Add config option for import timeout ( #421 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2021-05-25 15:01:02 -04:00
Alex Goodman
c363b2b532
Add ability to pull images directly from a registry ( #378 )
...
* add registry image source
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* use explicit source for fetching image + add scheme and registry tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* adjust test variable name and add credential helper function
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-04-13 13:30:57 +00:00
Alex Goodman
51b13f8221
rename Contents to FileContents in app config and documentation
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-04-12 17:34:54 -04:00
Alex Goodman
d451a5ad30
update the json schema and tests with file contents section
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-04-12 17:33:20 -04:00
Alex Goodman
c1551a03c5
add file contents cataloger
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-04-12 17:30:57 -04:00
Alex Goodman
46fffe5c6f
update json schema + presenter snapshots with file classification section
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-04-12 17:11:40 -04:00
Alex Goodman
080057b217
add file classifications to power-user json presenter
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-04-12 17:08:50 -04:00
Alex Goodman
ba3407a767
add dpkg conffile update to json schema + json test snapshots
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-04-09 08:37:28 -04:00
Alex Goodman
9ec09add67
Add secrets search capability ( #367 )
...
* add initial secrets cataloger
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update ETUI elements with new catalogers (file metadata, digests, and secrets)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update secrets cataloger to read full contents into memory for searching
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* quick prototype of parallelization secret regex search
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* quick prototype with single aggregated regex
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* quick prototype for secret search line-by-line
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* quick prototype hybrid secrets search
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add secrets cataloger with line strategy
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* adjust verbiage towards SearchResults instead of Secrets + add tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update json schema with secrets cataloger results
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* address PR comments
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update readme with secrets config options
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* ensure file catalogers call AllLocations once
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-04-01 21:34:15 +00:00
Alex Goodman
cd925e5664
account for repoDigests data in power-user json testing
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-03-30 08:46:42 -04:00
Alex Goodman
db35186c7d
allow file metadata digests to be optional + add link destination
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-03-29 12:07:42 -04:00
Alex Goodman
40199096e9
stabilize json file metadata presenter order
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-03-23 11:00:36 -04:00
Alex Goodman
f180d1c537
improve config parsing + fix command deprecation warning
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-03-22 10:58:09 -04:00
Alex Goodman
ff4ed40d50
migrate syft/presenter to internal/presenter
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-03-22 10:52:33 -04:00