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
c892c3609e
improve doc comments
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
2020-11-17 12:37:13 -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
9668341a14
rename scope to source
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
2020-11-17 12:37:11 -05:00
Dan Luhring
4861f69d7c
Fix spelling in logger setup
...
Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
2020-11-14 11:35:55 -05:00
Alex Goodman
e6b71486b0
modify version command to match grype ( #196 )
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
2020-10-06 13:13:52 -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
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
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
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
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
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
Alex Goodman
dc8dfc8457
fix panic on top-level log ( #125 )
2020-08-06 08:29:52 -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
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
Alex Goodman
78515da285
replace zap logger with logrus ( #116 )
2020-08-01 11:56:38 -04:00
Alex Goodman
271ba35c85
Export UI handlers for reuse in other tools ( #113 )
...
* export UI handlers for reuse in other tools
* bump jotframe to fix cursor issues at frame close
2020-07-30 15:16:58 -04:00
Alex Goodman
32071b0bf1
add default table presenter
2020-07-23 21:48:12 -04:00
Alex Goodman
a4016d35ce
rename to syft
2020-07-23 20:54:04 -04:00
Alex Goodman
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
Alex Goodman
7ebb9f4e0b
Add check for app update ( #88 )
...
* add check for app update; fix ETUI error handling
* validate user args
2020-07-21 12:02:03 -04:00
Alex Goodman
9e285fd0e2
use common entry point for integration tests; refactor cmd pkg ( #86 )
2020-07-17 15:16:33 -04:00
Alfredo Deza
a6e1866cdb
cmd: do not default for images, handle it specifically
...
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-15 09:59:40 -04:00
Alfredo Deza
6cbf6d3409
cmd: do not pass img around, use scope
...
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-15 07:53:27 -04:00
Alfredo Deza
74f339e043
cmd: replace Printf with a logging statement
...
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-07 10:40:55 -04:00
Alfredo Deza
feef7e28dc
cmd: add note about panic when img is nil
...
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 15:12:48 -04:00
Alfredo Deza
4d31655908
allow root command to catalog a directory
...
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-01 07:35:01 -04:00
Alex Goodman
926b5f2a50
add and use event bus for UI progress
2020-06-25 10:39:11 -04:00
Alfredo Deza
0a1f99503f
cli: default to the new text presenter
...
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-06-22 11:09:00 -04:00
Alex Goodman
294e267e47
rename analyzers to catalogers; fix generic cataloger path dispatcher
2020-06-15 10:52:55 -04:00
Alfredo Deza
75375d0b58
cmd: IdentifyDistro returns a distro object which can be nil
...
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-06-12 10:49:14 -04:00
Alex Goodman
b6122a413b
add distro version tests
2020-06-02 20:48:15 -04:00
Alex Goodman
45fbd05cf9
add first distro support
2020-06-01 10:46:06 -04:00
Alex Goodman
a0e48468c2
with package id
2020-05-29 16:06:31 -04:00
Alex Goodman
bd09327d40
expose real zap logger to main package
2020-05-26 08:21:49 -04:00
Alex Goodman
1b9effeb49
remove WithFields; add stereoscope logging
2020-05-23 19:22:52 -04:00
Alex Goodman
51c972ad33
add exit on cli bind fails + copy update
2020-05-22 15:25:49 -04:00
Alex Goodman
ae6feed8fc
add named logger + color formatting
2020-05-22 11:30:45 -04:00
Alex Goodman
09c7ca8f8f
replace panics with logging
2020-05-21 16:53:17 -04:00
Alex Goodman
b7c7c5556d
add logging fields
2020-05-21 15:54:54 -04:00
Alex Goodman
3e71315195
add app config and logging interface
2020-05-21 15:25:59 -04:00
Alex Goodman
2471663d27
sync/fmt linting tasks with stereoscope
2020-05-21 09:37:20 -04:00
Alex Goodman
17b4b26fbb
update sterescope + add json presenter
2020-05-20 18:29:06 -04:00
Alex Goodman
1342cc5b06
add analysis coordination (with dummy analyzer)
2020-05-18 11:59:33 -04:00
Alex Goodman
11b2b1ab45
add scope feature + lint fixes
2020-05-12 20:43:46 -04:00
Alex Goodman
1e5c7bb5c7
initial project structure
2020-05-12 10:45:18 -04:00