Skip to content

Commit 071c184

Browse files
committed
pin sobelow version
1 parent d26ac07 commit 071c184

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
# Credo
1+
# Sobelow Scanner version v0.14.0
22

3-
This component implements a [scanner](https://github.com/smithy-security/smithy/blob/main/sdk/component/component.go)
4-
that parses json reports output by [credo](https://github.com/rrrene/credo/) into [ocsf](https://github.com/ocsf) format.
3+
## Overview
54

6-
## Environment variables
5+
Sobelow is a static analysis tool for discovering security vulnerabilities in Elixir web applications. It helps developers identify potential security issues in their code. This component integrates Sobelow and parses its findings into the OCSF format.
76

8-
The component uses environment variables for configuration.
7+
## Version
98

10-
It requires the component
11-
environment variables defined [here](https://github.com/smithy-security/smithy/blob/main/sdk/README.md#component) as well
12-
as the following:
9+
This component uses Sobelow v0.14.0
1310

14-
| Environment Variable | Type | Required | Default | Description |
15-
|--------------------------|--------|----------|------------|---------------------------------------------------------|
16-
| CREDO\_RAW\_OUT\_FILE\_PATH | string | yes | - | The path where to find the sarif report |
11+
## How to Run
12+
13+
```bash
14+
smithyctl workflow run --build-component-images=true --overrides=./examples/sobelow/overrides.yaml ./examples/sobelow/workflow.yaml
15+
```

components/scanners/sobelow/scanner/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM elixir:otp-28
22

33
COPY entrypoint.sh /entrypoint.sh
44
# Install Sobelow
5-
RUN echo Y |mix escript.install github sobelow/sobelow && \
5+
RUN echo Y |mix escript.install github sobelow/sobelow tag v0.14.0 && \
66
chmod +x /entrypoint.sh
77

88
ENTRYPOINT [ "/entrypoint.sh" ]

0 commit comments

Comments
 (0)