-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
detector: Add LayerID to detect vulns (#419)
* detector/alpine: Add LayerID to detect vulns Signed-off-by: Simarpreet Singh <[email protected]> * amazon: Add LayerID to DetectedVulns Signed-off-by: Simarpreet Singh <[email protected]> * debian: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <[email protected]> * oracle: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <[email protected]> * photon: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <[email protected]> * redhat: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <[email protected]> * suse: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <[email protected]> * ubuntu: Add LayerID to DetectVulns + tests Signed-off-by: Simarpreet Singh <[email protected]> * integration: Fix integration tests to include LayerID Signed-off-by: Simarpreet Singh <[email protected]> * fix(rpc): add layer_id * fix(rpc): insert layer_id to the struct * fix(extractor): add cleanup function * fix(library): add layer ID to detected vulnerabilities * test: update mocks * chore(mod): point to the feature branch of fanal * mod: Point to fanal/master Signed-off-by: Simarpreet Singh <[email protected]> * scan_test: Include LayerID as part of the assertion Signed-off-by: Simarpreet Singh <[email protected]> * docker_engine_test.go: Update an error message to conform with fanal/master. Signed-off-by: Simarpreet Singh <[email protected]> Co-authored-by: Teppei Fukuda <[email protected]>
- Loading branch information
Showing
69 changed files
with
3,565 additions
and
271 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build integration | ||
// +rbuild integration | ||
|
||
package integration | ||
|
||
|
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
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
Oops, something went wrong.