forked from aquasecurity/fanal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add layer id info (merge to master) (aquasecurity#88)
* analyzer: Include layerID as part of LayerInfo Signed-off-by: Simarpreet Singh <[email protected]> * Add LayerID to Package struct Signed-off-by: Simarpreet Singh <[email protected]> * analyzer: Remove ID from returned layerInfo Signed-off-by: Simarpreet Singh <[email protected]> * analyzer: Handle missing layer.ID from cached layer Signed-off-by: Simarpreet Singh <[email protected]> * extractor/docker: Cleanup logic to avoid extra slice usage Signed-off-by: Simarpreet Singh <[email protected]> * integration: Fix golden files to include LayerID Signed-off-by: Simarpreet Singh <[email protected]> * analyzer: Remove condition for adding layer.ID Signed-off-by: Simarpreet Singh <[email protected]> * types: Introduce types.LibraryInfo Signed-off-by: Simarpreet Singh <[email protected]> * docker: Add LayerID to each LibraryInfo Signed-off-by: Simarpreet Singh <[email protected]> * .github/bench: Bump up docker version Signed-off-by: Simarpreet Singh <[email protected]> * intergration/perf: Remove other OSes for the timebeing. Looks like Github CI is running out of space while running other tests. Until we find a better solution we need to comment out bigger OSes. Signed-off-by: Simarpreet Singh <[email protected]> * fix(image): call Close() via cleanup funcion * refactor(type): add omitempty * analyzer: Change to types.LibraryInfo in analzyer.go Signed-off-by: Simarpreet Singh <[email protected]> * wip: add CleanupDockerExtractorFn for cleanup Signed-off-by: Simarpreet Singh <[email protected]> * refactor(analyzer): remove un-needed function * test(cache): comment in * Revert "wip: add CleanupDockerExtractorFn for cleanup" This reverts commit dabfae1. * Revert ".github/bench: Bump up docker version" This reverts commit b982c46. * refactor(analyzer): sort imports * test(cache): remove debug code * test(cache): format * chore(image): remove debug code Co-authored-by: Teppei Fukuda <[email protected]>
- Loading branch information
Showing
23 changed files
with
2,251 additions
and
1,140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.