Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test branch #983

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
with:
go-version-file: go.mod
- run: go version
- run: docker version

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The addition of docker version command seems unrelated to the rest of the workflow. Please provide context for why this is necessary, and ensure it aligns with the workflow's purpose.

- name: go test with coverage
run: |
sudo chmod +x ./internal/commands/.scripts/up.sh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

</div>

<!-- PROJECT LOGO -->
<!-- PROJECT LOGO -->
<br />
<p align="center">
<a href="">
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const (
containerVolumeFlag = "-v"
containerNameFlag = "--name"
containerRemove = "--rm"
containerImage = "checkmarx/kics:latest"
containerImage = "checkmarx/kics:2.1.3"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not recommended to replace a 'latest' tag with a specific version in a codebase without a clear rationale. This change could lead to the use of outdated images if not maintained properly. Please ensure that there's a specific reason for using version 2.1.3 and document the reason for this change, or consider using a strategy to keep up to date with the latest version.

containerScan = "scan"
containerScanPathFlag = "-p"
containerScanPath = "/path"
Expand Down
Loading