Skip to content

Commit 47ef618

Browse files
committed
pin sobelow version
1 parent 5995c00 commit 47ef618

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed
Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
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
4+
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.
55

6-
## Environment variables
6+
## Version
7+
This component uses Sobelow v0.14.0
78

8-
The component uses environment variables for configuration.
9+
## How to Run
910

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:
13-
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+
```bash
12+
smithyctl workflow run --build-component-images=true --overrides=./examples/sobelow/overrides.yaml ./examples/sobelow/workflow.yaml
13+
```

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)