Commit graph

2202 commits

Author SHA1 Message Date
Alex Goodman
294e267e47
rename analyzers to catalogers; fix generic cataloger path dispatcher 2020-06-15 10:52:55 -04:00
Alfredo Deza
812934c964
Merge pull request #57 from anchore/issue-33
Initial take on distro detection
2020-06-12 15:58:36 -04:00
Alfredo Deza
e460c031b6 distro: add tests and fixtures for identification
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-06-12 15:57:51 -04:00
Alfredo Deza
889fa52b7d lib: update signature to *Distro
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-06-12 10:49:14 -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
Alfredo Deza
dba5f0b197 initial take on distro identification
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-06-12 10:49:14 -04:00
Alfredo Deza
56c2318ea1 add support for distro detection
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-06-12 10:49:14 -04:00
Alfredo Deza
f1851556a8 distro: add a Name stringer
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-06-12 10:49:14 -04:00
Alex Goodman
64a9125895
Merge pull request #53 from anchore/add-python-wheel-egg-analyzers
Add python wheel and egg analyzer support
2020-06-05 09:59:27 -04:00
Alex Goodman
a0ccfe220b
add python wheel and egg analyzer support 2020-06-05 08:47:17 -04:00
Alex Goodman
83e96e8880
generalize common analyzer elements 2020-06-04 17:49:52 -04:00
Alex Goodman
e88669c536
Merge pull request #52 from anchore/add-gem-analyzer
Add gem analyzer
2020-06-04 14:43:52 -04:00
Alex Goodman
f33720eaa1
add gem analyzer 2020-06-04 14:42:59 -04:00
Alex Goodman
033c91a233
Merge pull request #35 from anchore/use-filetree-reader
Utilize filetree reader
2020-06-04 14:36:40 -04:00
Alex Goodman
b6122a413b
add distro version tests 2020-06-02 20:48:15 -04:00
Alex Goodman
cc724bff26
use filetree reader instead of filetree 2020-06-02 08:52:26 -04:00
Alex Goodman
f0b8aaacda
Merge pull request #34 from anchore/focus-dkpg-metadata
Add dpkg source field to metadata
2020-06-01 17:42:18 -04:00
Alex Goodman
17787f856f
rm unused dkpg metadata, add dpkg source field, add analyzer source name 2020-06-01 15:25:47 -04:00
Alex Goodman
83e486d6ca
Merge pull request #29 from anchore/add-os-types
Start of distro identification support
2020-06-01 10:47:31 -04:00
Alex Goodman
45fbd05cf9
add first distro support 2020-06-01 10:46:06 -04:00
Alex Goodman
1f272c2bda
Merge pull request #27 from anchore/add-package-id
Add package id
2020-06-01 08:55:22 -04:00
Alex Goodman
a0e48468c2
with package id 2020-05-29 16:06:31 -04:00
Alex Goodman
dcba50eaa8
Merge pull request #25 from anchore/add-logging-and-app-config
Add logging and app configuration
2020-05-26 09:20:12 -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
9676f99b86
Merge pull request #24 from anchore/add-first-presenter
Add JSON presenter
2020-05-21 10:20:16 -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
28cc9b3dc1
Merge pull request #22 from anchore/dpkg-analyzer
add dpkg analyzer
2020-05-19 16:49:16 -04:00
Alfredo Deza
6fb3a876a8 tests: replace Entry with DpkgMetadata name
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 15:44:36 -04:00
Alfredo Deza
ada11973b2 use the new DpkgMetadata struct in the parser
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 15:44:36 -04:00
Alfredo Deza
888cee3336 replace dummy analyzer for the new dpkg one
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 15:44:36 -04:00
Alfredo Deza
61139007ca create the dpkg analyzer
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 15:44:36 -04:00
Alfredo Deza
5bc17310b6 update dependencies
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 09:07:34 -04:00
Alfredo Deza
fa08a8fe6f create a package to place analyzer metadata
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 09:06:02 -04:00
Alex Goodman
d56d157e90 create single dpkg bufio reader 2020-05-18 14:14:50 -04:00
Alfredo Deza
09cf5b9862 update go.mod and go.sum
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-18 14:14:50 -04:00
Alfredo Deza
e9373eac96 initial implementation of dpkg parser
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-18 14:14:50 -04:00
Alex Goodman
45a3f6354f
Merge pull request #20 from anchore/add-analysis-driver-logic
Add analysis coordination
2020-05-18 13:16:50 -04:00
Alex Goodman
1342cc5b06
add analysis coordination (with dummy analyzer) 2020-05-18 11:59:33 -04:00
Alex Goodman
4cbed05358
sync linting options with stereoscope 2020-05-18 09:46:48 -04:00
Alex Goodman
44d081040f
Merge pull request #18 from anchore/add-analyzer-base
Add analyzer infrastructure
2020-05-14 10:10:25 -04:00
Alex Goodman
3c0ef63dee
Merge pull request #16 from anchore/add-scope
Add image selection scoping
2020-05-14 10:10:14 -04:00
Alex Goodman
cb6555491c
add analyzer interface/controller and supporting package/catalog 2020-05-13 10:13:48 -04:00
Alex Goodman
11b2b1ab45
add scope feature + lint fixes 2020-05-12 20:43:46 -04:00