Sam Dacanay
1866949eff
Merge pull request #175 from anchore/fix-json-keys
...
Change kebab case to camelCase in json keys throughout app
2020-09-18 09:19:37 -07:00
Samuel Dacanay
0567206b38
Change kebab case to camelCase in json keys throughout app
...
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
2020-09-18 08:55:17 -07:00
Alex Goodman and Alfredo Deza
f3076c3905
Add docs around the main execution path ( #172 )
...
* add docs around the main execution path of syft
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* Update syft/lib.go
Co-authored-by: Alfredo Deza <adeza@anchore.com >
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* Update syft/lib.go
Co-authored-by: Alfredo Deza <adeza@anchore.com >
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* wrap line
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
Co-authored-by: Alfredo Deza <adeza@anchore.com >
2020-09-17 06:02:51 -04:00
Samuel Dacanay
b467964044
port over shell completion w/ cobra from grype, find/replace, etc.
...
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
2020-09-15 09:07:17 -07:00
Praveen Mylavarapu
e26627d8b6
remove accessing tag when not available ( #174 )
...
Signed-off-by: praveenmylavarapu <saipraveenmylavarapu@gmail.com >
2020-09-15 07:55:08 -04:00
Sam Dacanay
80ee18d20b
Merge pull request #171 from anchore/version-output-json
...
Add support for JSON version output
2020-09-14 13:51:59 -07:00
Samuel Dacanay
ef64a6f206
Add support for JSON version output
...
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
Make json version output always verbose, cleanup struct tag
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
Use camel case for json
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
2020-09-14 13:48:27 -07:00
Sam Dacanay
22dfcb2d0b
Merge pull request #170 from anchore/add-distro-mappings-arch-and-opensuseleap
...
Add support for Arch (which doesnt return a version) and Open Suse Leap
2020-09-14 09:02:28 -07:00
Samuel Dacanay
329b080a37
Add support for Arch (which doesnt return a version) and Open Suse Leap
...
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
remove bad-version test fixture (no longer relevant since it is now an expected case) and add cases for arch and opensuse-leap
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
Reduce nesting, simplify empty version logic
Signed-off-by: Samuel Dacanay <sam.dacanay@anchore.com >
2020-09-13 13:50:56 -07: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
df7c83c9b0
use xml encoder ( #165 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-31 08:06:56 -04: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
Alex Goodman
d85d0ac418
add changelog generation ( #162 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-27 08:10:56 -04:00
Alex Goodman
63661da377
Fix acceptance tests ( #158 )
...
* ensure acceptance tests fail when results are piped
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix spelling in inline-compare python script
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-24 21:28:07 -04:00
Alex Goodman
f892289e7c
Add CycloneDX presenter ( #157 )
...
* add CycloneDX presenter + BOM Descriptor extension
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add docstrings to cyclonedx presenter
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-24 20:43:29 -04:00
Alex Goodman
6b65cb6d7d
add release process docs ( #153 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-24 14:38:31 -04:00
Alfredo Deza
ae1d99b5a1
Merge pull request #150 from anchore/issue-59
...
Add a `setup.py` cataloger
2020-08-17 17:23:13 -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
Alfredo Deza
9c4024d6fa
cataloger: add setup.py support for Python
...
Signed-off-by: Alfredo Deza <adeza@anchore.com >
2020-08-17 16:00:49 -04:00
Alfredo Deza
27c207bbca
pkg: add a new type to identify setup.py packages
...
Signed-off-by: Alfredo Deza <adeza@anchore.com >
2020-08-17 10:12:27 -04:00
Alex Goodman
afce14388b
replace in-repo asset
2020-08-14 13:58:45 -04:00
Alex Goodman
95517d131a
Improve overall documentation ( #148 )
...
* improve overall documentation
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix tests to use scope.Resolver over scope
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-13 16:34:32 -04:00
Dan Luhring
47a0454084
Update dependencies ( #147 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2020-08-13 12:12:05 -04:00
Alex Goodman
f17feeb6ed
Add demo gif + slack channel links ( #145 )
...
* add demo gif
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add slack channels to issue template selection
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* github is picky about the issue template file extension
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-12 14:57:22 -04:00
Alex Goodman
51b9c73c31
Add documentation around catalogers, UI elements, and the event bus ( #143 )
...
* add basic documentation for catalogers (with refactoring for simplification)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add docs for catalog parsers, UI, and event bus
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update bus phrasing
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-12 11:04:39 -04:00
Alex Goodman
5042d371cf
migrate to anchore/go-rpmdb ( #144 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-11 15:32:51 -04:00
Alex Goodman
90bd68e44c
Disable prerelease version update check ( #140 )
...
* disable prerelease version update check
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* use prerelease flag as source of truth for user notifications
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-11 09:54:04 -04:00
Alfredo Deza
691e26d3a3
Merge pull request #142 from anchore/args-fix
...
cmd: allow no args passed, don't error
2020-08-11 08:29:28 -04:00
Alfredo Deza
3bcae045cd
cmd: allow no args passed, don't error
...
Signed-off-by: Alfredo Deza <adeza@anchore.com >
2020-08-11 08:01:19 -04:00
Ross Turk
d7695aeae1
Add beta warning and todos ( #136 )
...
* Add future ideas + beta warning to README
Signed-off-by: Ross Turk <ross@rossturk.com >
* Update link
Signed-off-by: Ross Turk <ross@rossturk.com >
2020-08-11 07:07:55 -04:00
Dan Luhring
73ec35f513
Update installation method ( #139 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2020-08-10 19:29:19 -04:00
Alex Goodman
676544b6ab
use token on release
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
v0.1.0-beta.4
2020-08-10 18:28:43 -04:00
Alex Goodman
647c806ee4
Add install script + brew tap ( #138 )
...
* add install script
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add brew tap
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* rm install warning
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* force non-prereleases
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-10 17:15:00 -04:00
Dan Luhring
89dc415e49
Add badges ( #137 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2020-08-10 16:46:12 -04:00
Alex Goodman
ac9141e2ad
add issue template ( #135 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-10 14:47:32 -04:00
Alfredo Deza
21aa32c599
Merge pull request #134 from anchore/issue-69
...
docs: add contributing guidelines
2020-08-10 14:46:54 -04:00
Alfredo Deza
2adbe75002
docs: add contributing guidelines
...
Signed-off-by: Alfredo Deza <adeza@anchore.com >
2020-08-10 14:15:07 -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 >
v0.1.0-beta.3
2020-08-10 10:33:44 -04:00
Dan Luhring
4c7784da62
Add shell completion script ( #131 )
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com >
2020-08-10 09:31:02 -04:00
Ross Turk
86d3336280
Add macos quarantine to readme ( #129 )
...
* Add note about macOS quarantine
Signed-off-by: Ross Turk <ross@rossturk.com >
* Fix project name
Signed-off-by: Ross Turk <ross@rossturk.com >
2020-08-07 16:47:36 -04:00
Alex Goodman
a3a3e3848f
replace master with main ( #128 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-07 13:27:11 -04:00
Alex Goodman
fa5d2b5d98
fix readme installation notice
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-07 11:42:58 -04:00
Alex Goodman
817ce61036
Add detailed location info to json artifact ( #127 )
...
* add detailed location info to json artifact
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* decompose json presenter
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2020-08-07 10:05:16 -04:00
Alex Goodman
dc8dfc8457
fix panic on top-level log ( #125 )
2020-08-06 08:29:52 -04:00
Alex Goodman
f855a38a01
pull all commits on checkout for release to build changelog ( #126 )
2020-08-06 08:28:01 -04:00
Alex Goodman
bfc5dd87af
replace fetching->loading and reading->parsing in UI ( #124 )
2020-08-06 08:19:03 -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
Alex Goodman and Alfredo Deza
2560266e38
Initial README ( #120 )
...
* initial readme + logging and output fixes to support descriptions
* minor tweaks to README descriptions
* simplify phrasing
Co-authored-by: Alfredo Deza <adeza@anchore.com >
* add comment for example gif
Co-authored-by: Alfredo Deza <adeza@anchore.com >
* spelling fix
Co-authored-by: Alfredo Deza <adeza@anchore.com >
* update phrasing
Co-authored-by: Alfredo Deza <adeza@anchore.com >
* simplify TODO note
Co-authored-by: Alfredo Deza <adeza@anchore.com >
* grammar fix
Co-authored-by: Alfredo Deza <adeza@anchore.com >
* phrase fix
Co-authored-by: Alfredo Deza <adeza@anchore.com >
* rm readme bash block indicators
* clarify config examples are default values
* rm value
Co-authored-by: Alfredo Deza <adeza@anchore.com >
Co-authored-by: Alfredo Deza <adeza@anchore.com >
2020-08-04 15:22:34 -04:00