Skip to content

Commit

Permalink
fix: set snyk test to fail if high sev or higher only
Browse files Browse the repository at this point in the history
  • Loading branch information
aarlaud committed Aug 23, 2021
1 parent 39f76bc commit 07bab68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ jobs:

steps:
- checkout
- run: yarn add semantic-release @semantic-release/exec --dev
- run:
name: "Install deps"
command: |
yarn install
- run: yarn add semantic-release --dev
- run:
name: "Build"
command: |
yarn tsc
- run: yarn add ms
- run: yarn remove ms
- snyk/scan:
fail-on-issues: true
severity-threshold: high
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const ServiceEntityPage = (
);
```

4. Add snyk proxy config. If using Snyk self hosted, adjust target to https://<YOURHOSTNAME>/api. User Agent helps us see how much API traffic comes from backstage setups so we can invest more in the plugin !
4. Add snyk proxy config to app-config.yaml file at the root directory. If using Snyk self hosted, adjust target to https://<YOURHOSTNAME>/api. User Agent helps us see how much API traffic comes from backstage setups so we can invest more in the plugin !
```
proxy:
...
Expand Down

0 comments on commit 07bab68

Please sign in to comment.