-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI | Container Engine Support (AST-36237, AST-36236, AST-37225) (#781)
* AST-36236 | Support Containers as New Scan Type With Realted Flags * AST-36236 | fix lint errors * AST-36237 | added container resolver functionality * AST-36237 | added container resolver functionality * AST-36237 | added integration tests and refactor compressFolder func * update go.mod * update go.sum * update functionallity * update functionallity * resolve conversation comments * resolve conversation comments * resolve conversation comments * fix compilation errors * fix compilation errors * fix compilation errors * fix compilation errors * fix compilation errors * fix compilation errors * fix compilation errors * fix compilation errors * fix compilation errors * fix compilation errors * fix compilation errors * fix compilation errors * fix compilation errors * fix lint issues * fix lint issues * fix tests * check * fix tests * update go version to 1.22.1 * update go version to 1.22.1 * setup timeout for golangci * setup timeout for golangci * set up timeout for golangci * downgrade go version check * fix code bug * add license validation * update go.mod and go.sum * Revert "update go.mod and go.sum" This reverts commit 51630f0. * update go.mod and go.sum * update ci.yml * update isSingleContainerScanTriggered function * moved compressFile to utils.go * moved compressFile to utils.go * moved compressFile to utils.go * moved compressFile to utils.go * moved compressFile to utils.go * moved compressFile to utils.go * update up.sh script to run the old version of go coverage * update up.sh script to run the old version of go coverage * improve utils_test.go coverage * improve utils_test.go coverage and resolve conversations * remove unncessery defer * remove unncessery defer * remove unncessery defer * remove unncessery defer * add test to utils-test * add test to wrapper/utils-test * add test to wrapper/utils-test * add tests to printer-test.go * add tests to printer-test.go and scan.go * update container resolver version to 1.0.2 and fix compressFile function * fix compressFile function * fix lint errors * fix lint errors * fix cleanTempZip in scan.go * Check integration tests passing * fix isSingleContainerScanTriggered bug and update integration test * uncomment containers integrations tests * AST-37225 support containers in result show command * AST-37225 remove sonar test file * AST-37225 UI colors in the html summery report * AST-37225 lint issues * AST-37225 lint issues * AST-37225 lint issues * update containerType and containerFlagTYpe * fix scaConfig.EnableContainersScan initialization * change containersTypeFlag position * containers type * delete default initialization to ContainerEngineCliEnabled flag * show containers only for supported agents * added featurflagWrapper to scanCommand constructor * bold Total * tests * remove default initialization of ContainerEngineCLIEnabled * upgrade container resolver to version 1.0.3 * update unitests * update tests * upgrade container-resolver version and changed test zip file for container scan tests * tests * fix containerEngine FF handling * fix containerEngine FF handling * fix containerEngine FF handling * fix containerEngine FF handling * fix containerEngine FF handling * adding test and fixes * lint issues * test with ff=on * fix test coverage * check unit tests * check unit tests * check unit tests * check unit tests * finish tests * initialized feature flags in root.go * add featureflag check to tests * filter unsupported agents * merge * added empty folder for tests * merge main * upgrade container-resolver to v1.0.5 * upgrade container-resolver to v1.0.6 * merge main * go fmt project * upgrade github.com/docker/docker v26.0.0+incompatible * fix unit tests * do not use feature flag map * feature flag * fix tests * fix tests * fix tests * fix tests * fix tests * fix tests * fix tests * fix tests * clear cache * fix tests * fix integration tests * fix linter * fix unit tests * fix unit tests * fix integration tests * fix unit tests * fix unit tests * fix unit tests * fix tests and scs logic * fix unit tests * fix tests and scs logic * fix unit tests * fix unit tests * fix unit tests * fix unit tests * fix unit tests * delete containers from scan types example * fix integrations test * fix unit test * fix unit test * fix unit test * fix integration test * upgrade helm version * add unit test * fix linter * remove govulncheck * add govulncheck with continue in error * add not supported comment to container images flag * update ci.yaml --------- Co-authored-by: AlvoBen <[email protected]> Co-authored-by: tamarleviCm <[email protected]> Co-authored-by: tamarleviCm <[email protected]> Co-authored-by: Or Shamir Checkmarx <[email protected]>
- Loading branch information
1 parent
cf9311c
commit 3ab7a8a
Showing
37 changed files
with
2,927 additions
and
207 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
Oops, something went wrong.