Alex Goodman
569a598df7
minimize pointer usage & order return types consistently
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-11-17 12:37:13 -05:00
Alex Goodman
f46de19c6b
migrate scope option to image metadata (from source)
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-11-17 12:37:12 -05:00
Alex Goodman
91baabe5a1
add image metadata as catalogFromJSON return
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-11-17 12:37:12 -05:00
Alex Goodman
6f7a4fd3e4
move source metadata upstream and fix tests
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-11-17 12:37:12 -05:00
Alex Goodman
aa0d444fd4
fix tests to use location instead of file.Reference
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-11-17 12:37:12 -05:00
Alex Goodman
9668341a14
rename scope to source
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-11-17 12:37:11 -05:00
Alex Goodman
495fb0a45f
add sbom document import lib helper function
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-11-17 12:36:51 -05:00
Alfredo Deza
6ae3b47959
tests: update all tests to pass the IDLike value
...
Signed-off-by: Alfredo Deza <adeza@anchore.com >
2020-11-10 12:40:50 -05:00
Alex Goodman
2e5ff4a995
add top_level.txt processing to python package cataloger
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-10-22 12:39:03 -04:00
Alex Goodman
1414d1fbc3
add test coverage for python pacakge cataloger and update catalog interface
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-10-22 09:51:29 -04:00
Alex Goodman
0ce8701e73
split python package catalogers by image vs directory
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-10-21 11:48:26 -04:00
Toure Dunnon
27c62e34f2
Add support for package.json #200
...
Signed-off-by: Toure Dunnon <toure.dunnon@anchore.com >
2020-10-16 11:28:54 -04:00
Alex Goodman
5d0909f31e
add regression test to cover issue #212
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-10-14 07:22:19 -04:00
Alex Goodman
335a6b022f
add acceptance test to cover gem cataloger + fix gem cataloger parent dir ( #207 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-10-08 13:13:31 -04:00
Alex Goodman
10b44f5311
split catalogers into two sets, one for images another for directory scans
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-10-08 10:23:24 -04:00
Alex Goodman
3d91a66536
Add OCI support + use URI schemes for user image input ( #178 )
...
* add oci support + update image schemes
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update docs to reflect OCI image sources + URI scheme change
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update to oci-dir
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* bump upstream stereoscope pin
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-09-25 10:24:24 -04:00
Sam Dacanay
11334b632e
Expand matching of requirements.txt file to include any prefixes or suffixes ( #168 )
...
* Expand matching of requirements.txt file to include any prefixes or suffixes
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
* Add some test cases to integration test (ensure syft can pick up multiple requirements files)
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
* Run lint-fix
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
2020-09-08 10:23:37 -07:00
Alex Goodman
8a4886ec0e
Add package URL support to the CycloneDX presenter ( #164 )
...
* add package URL support to the CycloneDX presenter
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* wrap license tags with licenses
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-30 21:40:19 -04:00
Alex Goodman
eda0f8c774
add bom descriptor schema + test against xml schemas in pipeline ( #163 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-27 19:12:45 -04:00
Alfredo Deza
861806f1dd
test: add setup.py integration cases
...
Signed-off-by: Alfredo Deza <adeza@anchore.com >
2020-08-17 16:00:49 -04:00
Alex Goodman
2d452bf59e
Add inline-comparison as acceptance test ( #130 )
...
* add inline-compare as acceptance test
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add additional RPM metadata
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add comments and doc strings to the compare-* make targets
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-10 10:33:44 -04:00
Dan Luhring
70e673204c
Add poetry cataloger ( #121 )
...
* Minor cleanup
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Update pkg Type definition to string
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Implement poetry.lock parsing
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Address CI issues
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
* Integrate Alex's changes
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2020-08-04 18:22:43 -04:00
Alex Goodman
e2a874a277
finalize json output & add schema ( #118 )
2020-08-04 16:05:53 -04:00
Alfredo Deza
caecce9b41
tests: update integration tests to include yarn packages
...
Signed-off-by: Alfredo Deza <adeza@anchore.com >
2020-07-28 15:35:45 -04:00
Alex Goodman
9ec5da24dd
fix py globs to include partial matches ( #101 )
2020-07-24 08:22:56 -04:00
Alex Goodman
a4016d35ce
rename to syft
2020-07-23 20:54:04 -04:00
Alex Goodman
2132700198
add apk/alpine support ( #98 )
2020-07-23 20:35:57 -04:00
Alex Goodman and Alfredo Deza
ba4f63099d
Add release process ( #89 )
...
* add check for app update; fix ETUI error handling
* validate user args
* add goreleaser support
* replace cgo dependencies (go-rpm) with go equivalents
* add acceptance tests against build snapshot
* add brew tap + acceptance test pipeline
* add mac acceptance tests
* fix compare makefile
* fix mac acceptance tests
* add release pipeline with wait checks
* add token to release step
* rm dir presenters int test
* enforce dpkg to be non interactive
Co-authored-by: Alfredo Deza <adeza@anchore.com >
* pin brew formulae
* pin skopeo to formulae url
* only run acceptance tests
Co-authored-by: Alfredo Deza <adeza@anchore.com >
2020-07-23 10:52:44 -04:00