Commit Graph
64 Commits
Author SHA1 Message Date
Alex Goodman 3f090f9647 fix java cache key for CI; fix circle docker api version (#79) 2020-07-13 12:11:11 -04:00
Alex Goodman 502e2afd06 fix linting issue 2020-07-10 07:45:13 -04:00
Alex Goodman 15ff94b56b tweak java manifest version processing 2020-07-10 07:41:13 -04:00
Alex Goodman 4c7d9ccef7 simplify unzip; update java error statements 2020-07-09 11:53:52 -04:00
Alex GoodmanandAlfredo Deza 0f8dcf3f17 Update imgbom/cataloger/java/pom_properties.go
Co-authored-by: Alfredo Deza <adeza@anchore.com>
2020-07-09 11:38:02 -04:00
Alex GoodmanandAlfredo Deza c9bfc0aecd Update imgbom/cataloger/java/pom_properties.go
Co-authored-by: Alfredo Deza <adeza@anchore.com>
2020-07-09 11:37:45 -04:00
Alex GoodmanandAlfredo Deza 40f8e3a7de Update imgbom/cataloger/java/java_manifest.go
Co-authored-by: Alfredo Deza <adeza@anchore.com>
2020-07-09 11:31:23 -04:00
Alex Goodman 1f89d26902 reduce java packages to java-archive and jenkins-plugin 2020-07-09 10:46:28 -04:00
Alex Goodman e55db9247e add java cataloger 2020-07-08 16:16:01 -04:00
Alex Goodman 1896831c39 add rpmdb support; enhance integration tests 2020-07-06 12:55:11 -04:00
Alfredo Deza 3548c7b132 tests for scope.go
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 16:09:55 -04:00
Alfredo Deza 3eedb86a1f tests for protocol.go
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 16:09:55 -04:00
Alfredo Deza c35108b00d tests: reorganize text img files to match new layout
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 16:09:55 -04:00
Alfredo Deza f49ca8107a tests: add verification for dirs and imgs
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 16:09:55 -04:00
Alfredo Deza 96d86fa214 tests: move existing json tests to json/imgs
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 16:09:55 -04:00
Alfredo Deza 7544330bc2 json img presenter needs to degrade nicely when file metadata is not present
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 15:12:48 -04:00
Alfredo Deza ec52e91301 scope: create interface for content and file resolvers
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 15:12:48 -04:00
Alfredo Deza b2d7bd3b1a scope: add directory-based scoping
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 15:12:48 -04:00
Alfredo Deza e38e3e9ff4 create text-based presenters for dirs and imgs
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 15:12:48 -04:00
Alfredo Deza 268cfef0ee re-organize json-based presenters for dirs and imgs
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 15:12:48 -04:00
Alfredo Deza 312c8acfbe presenter can pick text-dir, text-img, json-text, or json-img for reporting
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 15:12:48 -04:00
Alfredo Deza 69a0376f99 distro: add note to replace with MultipleFileContents in the future
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 15:12:48 -04:00
Alfredo Deza 507a6b69cb catalog controller uses scope to determine file resolvers
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 15:12:48 -04:00
Alfredo Deza faf21a67a6 lib: return a protocol-based scope (dir or img)
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 15:12:48 -04:00
Alfredo Deza 678a2c1dcb create a protocol-parsing package to distinguish dir,docker, etc...
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-07-02 13:04:19 -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 2e6aef17e1 implement a text presenter
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-06-22 11:09:00 -04:00
Alfredo Deza 72f9091493 presenter: allow a text presenter option
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-06-19 15:46:31 -04:00
Alfredo Deza acbeea9800 option: add a Text-based presenter
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-06-19 15:45:58 -04:00
Alex Goodman cd94179985 add symlink content fetching support 2020-06-16 11:37:37 -04:00
Alex Goodman 6b5a22da46 add basic pipeline 2020-06-15 13:51:07 -04:00
Alex Goodman 294e267e47 rename analyzers to catalogers; fix generic cataloger path dispatcher 2020-06-15 10:52:55 -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 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 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 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 17787f856f rm unused dkpg metadata, add dpkg source field, add analyzer source name 2020-06-01 15:25:47 -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 1b9effeb49 remove WithFields; add stereoscope logging 2020-05-23 19:22:52 -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