Skip to content

Commit

Permalink
remove refs to snyk
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrs committed Jan 2, 2024
1 parent 08d0e6d commit 972ef45
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 181 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/snyk.yml

This file was deleted.

4 changes: 2 additions & 2 deletions dotcom-rendering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ See [the makefile](https://github.com/guardian/dotcom-rendering/blob/main/dotcom

[Read about testing tools and testing strategy](docs/testing.md).

### Snyk Code Scanning
### Vulnerabilities

There's a Github action set up on the repository to scan for vulnerabilities. This is set to "continue on error" and so will show a green tick regardless. In order to check the vulnerabilities we can use the Github code scanning feature in the security tab and this will list all vulnerabilities for a given branch etc. You should use this if adding/removing/updating packages to see if there are any vulnerabilities.
To check for vulnerabilities, use the Github code scanning feature in the security tab. This will list all vulnerabilities for a given branch etc. You should use this if adding/removing/updating packages to see if there are any vulnerabilities.

## IDE setup

Expand Down

This file was deleted.

52 changes: 0 additions & 52 deletions dotcom-rendering/docs/snyk/how-to.md

This file was deleted.

Binary file removed dotcom-rendering/docs/snyk/snyk-dcr-structure.png
Binary file not shown.
Binary file removed dotcom-rendering/docs/snyk/snyk-history.png
Binary file not shown.
Binary file removed dotcom-rendering/docs/snyk/snyk-screenshot.png
Binary file not shown.
Binary file removed dotcom-rendering/docs/snyk/snyk_google_login.png
Binary file not shown.
Binary file removed dotcom-rendering/docs/snyk/snyk_google_sso.png
Binary file not shown.
17 changes: 0 additions & 17 deletions dotcom-rendering/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -203,20 +203,3 @@ gen-fixtures:

perf-test:
@node scripts/perf/perf-test.js

# Because Snyk finds vulnerabilities snyk test command exits with error code 1 and make picks it up.
# Adding - at the beginning of the command ignores the error and we're getting:
# make: [snyk] Error 1 (ignored)
# See docs: https://www.gnu.org/software/make/manual/html_node/Errors.html#:~:text=To%20ignore%20errors%20in%20a,to%20the%20shell%20for%20execution.&text=This%20causes%20make%20to%20continue,unable%20to%20remove%20a%20file

snyk:
-@snyk test --severity-threshold=high --file="../package.json"

snyk-dcr:
-@snyk test --severity-threshold=high --file=package.json

snyk-ar:
-@snyk test --severity-threshold=high --file=../apps-rendering/package.json

snyk-storybooks:
-@snyk test --severity-threshold=high --file=../storybooks/package.json
1 change: 0 additions & 1 deletion dotcom-rendering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@
"semver": "7.5.4",
"serve-static": "1.15.0",
"simple-progress-webpack-plugin": "2.0.0",
"snyk": "1.1103.0",
"source-map": "0.7.4",
"start-server-and-test": "2.0.3",
"storybook": "7.6.6",
Expand Down
56 changes: 0 additions & 56 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 972ef45

Please sign in to comment.