├── .gitleaksignore ├── .pre-commit-config.yaml ├── catalog-info.yaml ├── .circleci └── config.yml ├── LICENSE └── README.md /.gitleaksignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | repos: 2 | - repo: https://github.com/gitleaks/gitleaks 3 | rev: v8.16.2 4 | hooks: 5 | - id: gitleaks 6 | -------------------------------------------------------------------------------- /catalog-info.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: backstage.io/v1alpha1 2 | kind: Component 3 | metadata: 4 | name: snyk-code-review-exercise 5 | spec: 6 | type: documentation 7 | lifecycle: "-" 8 | owner: "-" 9 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2.1 2 | 3 | orbs: 4 | prodsec: snyk/prodsec-orb@1 5 | 6 | workflows: 7 | version: 2 8 | CICD: 9 | jobs: 10 | - prodsec/secrets-scan: 11 | name: Scan repository for secrets 12 | context: 13 | - snyk-bot-slack 14 | channel: alerts-app-sec 15 | trusted-branch: main 16 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright © 2021 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WARNING 2 | This repository is now archived. 3 | 4 | No more updates will be made to the code and it may be insecure or even broken by the time you read this notice. 5 | Consider it for historical purpose only and treat it carefully. 6 | 7 | # Snyk code review exercise 8 | 9 | Hello there. You might have been asked to look at this repository and download it. You're currently on the `main` branch, and will need to work on a branch/pull request relavent to the interview you've been invited too. 10 | 11 | All exercises are based on the same ticket - [Ticket #5](https://github.com/snyk/snyk-code-review-exercise/issues/5). 12 | 13 | We have several flavors of each exercise in different languages, each has a "main" branch with the current state of the application and a "feature" branch that contains changes we'd like you to review. 14 | 15 | **TypeScript Option 1** 16 | 17 | * [Pull Request #1](https://github.com/snyk/snyk-code-review-exercise/pull/1) 18 | * [Main Branch](https://github.com/snyk/snyk-code-review-exercise/tree/typescript) (`typescript`) 19 | * [Feature Branch](https://github.com/snyk/snyk-code-review-exercise/tree/transative-dependencies) (`typescript-recursive`) 20 | 21 | 22 | **TypeScript Option 2** 23 | 24 | * [Pull Request #8](https://github.com/snyk/snyk-code-review-exercise/pull/8) 25 | * [Main Branch](https://github.com/snyk/snyk-code-review-exercise/tree/typescript) (`typescript`) 26 | * [Feature Branch](https://github.com/snyk/snyk-code-review-exercise/tree/typescript-recursive-deps) (`typescript-recursive-deps`) 27 | 28 | **Go** 29 | 30 | * [Pull Request #6](https://github.com/snyk/snyk-code-review-exercise/pull/6) 31 | * [Main Branch](https://github.com/snyk/snyk-code-review-exercise/tree/golang) (`golang`) 32 | * [Feature Branch](https://github.com/snyk/snyk-code-review-exercise/tree/golang-recursive-deps) (`golang-recursive-deps`) 33 | 34 | **Python** 35 | 36 | * [Pull Request #9](https://github.com/snyk/snyk-code-review-exercise/pull/9) 37 | * [Main Branch](https://github.com/snyk/snyk-code-review-exercise/tree/python) (`python`) 38 | * [Feature Branch](https://github.com/snyk/snyk-code-review-exercise/tree/feat/python-recursive-deps) (`feat/python-recursive-deps`) 39 | 40 | **Python 1.0** 41 | 42 | * [Pull Request #15](https://github.com/snyk/snyk-code-review-exercise/pull/15) 43 | * [Main Branch](https://github.com/snyk/snyk-code-review-exercise/tree/python-1.0) (`python-1.0`) 44 | * [Feature Branch](https://github.com/snyk/snyk-code-review-exercise/tree/feat/python-transitive-deps) (`feat/python-transitive-deps`) 45 | 46 | **.NET** 47 | 48 | * [Pull Request #10](https://github.com/snyk/snyk-code-review-exercise/pull/10) 49 | * [Main Branch](https://github.com/snyk/snyk-code-review-exercise/tree/dotnet) (`dotnet`) 50 | * [Feature Branch](https://github.com/snyk/snyk-code-review-exercise/tree/feat/dotnet-recursive-deps) (`dotnet-recursive-deps`) 51 | --------------------------------------------------------------------------------