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

V2.9.0 beta.3 #1171

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added horusec
Binary file not shown.
128 changes: 0 additions & 128 deletions horusec-config.json

This file was deleted.

2 changes: 1 addition & 1 deletion internal/enums/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const (
C = "horuszup/horusec-c:v1.0.1"
Csharp = "horuszup/horusec-csharp:v1.2.0"
Elixir = "horuszup/horusec-elixir:v1.1.0"
Generic = "horuszup/horusec-generic:v1.2.0"
Generic = "abhijitacharya793/horusec-generic:v1.2.1"
Go = "horuszup/horusec-go:v1.3.0"
HCL = "horuszup/horusec-hcl:v1.1.0"
Javascript = "horuszup/horusec-js:v1.2.0"
Expand Down
10 changes: 5 additions & 5 deletions internal/services/formatters/generic/deployments/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FROM python:3.10.4-alpine3.14

RUN apk add build-base

RUN pip install semgrep==v0.85.0
RUN pip install semgrep==v1.63.0

COPY --from=jlink /jlinked /opt/jdk/

Expand All @@ -32,10 +32,10 @@ ENV JAVA_HOME=/opt/jdk
RUN apk update && apk add curl

# TODO: upgrade owasp dependency check to 7.x version
RUN curl -o /bin/dependency-check-6.5.3-release.zip -LO https://github.com/jeremylong/DependencyCheck/releases/download/v6.5.3/dependency-check-6.5.3-release.zip
RUN curl -o /bin/dependency-check-9.0.9-release.zip -LO https://github.com/jeremylong/DependencyCheck/releases/download/v9.0.9/dependency-check-9.0.9-release.zip

RUN unzip /bin/dependency-check-6.5.3-release.zip -d /bin
RUN unzip /bin/dependency-check-9.0.9-release.zip -d /bin

RUN rm /bin/dependency-check-6.5.3-release.zip
RUN rm /bin/dependency-check-9.0.9-release.zip

RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.24.4
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.49.1
8 changes: 5 additions & 3 deletions internal/services/formatters/generic/semgrep/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
// limitations under the License.

package semgrep

const CMD = `
//removed --config=p/r2c-ci from the command
// specifies a Semgrep configuration to use. In this case, it seems to be referencing a configuration named r2c-ci provided by the p organization or repository.
const CMD = `
{{WORK_DIR}}
semgrep --disable-metrics --config=p/r2c-ci -q --json .
semgrep scan --config auto -q --json .
`

Empty file added scan.yml
Empty file.