Title: Add semgrep as new scanner for static analysis · Issue #595 · secureCodeBox/secureCodeBox · GitHub
Open Graph Title: Add semgrep as new scanner for static analysis · Issue #595 · secureCodeBox/secureCodeBox
X Title: Add semgrep as new scanner for static analysis · Issue #595 · secureCodeBox/secureCodeBox
Description: 🚓 New Scanner implementation request Is your feature request related to a problem As a secureCodeBox user I would like to use semgrep for static application security testing. Describe the solution you'd like Integrate semgrep as a SAST s...
Open Graph Description: 🚓 New Scanner implementation request Is your feature request related to a problem As a secureCodeBox user I would like to use semgrep for static application security testing. Describe the solution ...
X Description: 🚓 New Scanner implementation request Is your feature request related to a problem As a secureCodeBox user I would like to use semgrep for static application security testing. Describe the solution ...
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/issues/595
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add semgrep as new scanner for static analysis","articleBody":"## 🚓 New Scanner implementation request\r\n\r\n### Is your feature request related to a problem\r\nAs a secureCodeBox user I would like to use [semgrep](https://semgrep.dev/) for static application security testing.\r\n\r\n### Describe the solution you'd like\r\nIntegrate semgrep as a SAST scanner. Provide how-tos and parser.\r\n\r\n### Describe alternatives you've considered\r\n[Snyk Code](https://snyk.io/product/snyk-code)\r\n\r\n### Additional context\r\n* https://github.com/returntocorp/semgrep\r\n* https://owasp.org/www-chapter-newcastle-uk/presentations/2021-02-23-semgrep.pdf\r\n\r\n## Steps to implement a new scanner\r\nHint: A general guide how to implement a new SCB scanner is documented [here](https://docs.securecodebox.io/docs/contributing/integrating-a-scanner)\r\n\r\n- [ ] Create a new folder with the name of the [scanner here](https://github.com/secureCodeBox/secureCodeBox/tree/master/scanners)\r\n- [ ] Add a `README.gotmpl` and give a [brief overview](https://docs.securecodebox.io/docs/contributing/integrating-a-scanner/readme) of the scanner and its configuration options.\r\n- [ ] Add a HelmChart and document all configuration options.\r\n- [ ] Implement a new scanner specific `scan-type.yaml`\r\n- [ ] Implement a new scanner specific `parse-definition.yaml`\r\n- [ ] Add (optional) some `cascading-rules.yaml` like documented [here](https://docs.securecodebox.io/docs/api/crds/cascading-rule)\r\n- [ ] Add (optional) a `Dockerfile` for the scanner if there is no existing one publicly available on dockerHub\r\n- [ ] Use the [parser-SDK](https://github.com/secureCodeBox/secureCodeBox/tree/master/parser-sdk) to implement a new findings parser (currently based on NodeJS)\r\n- [ ] Add unit tests with at minimum 80% test coverage\r\n- [ ] Add some example `scan.yaml` and `finding.yaml` files in the [example folder](https://docs.securecodebox.io/docs/contributing/integrating-a-scanner/examples-dir)\r\n- [ ] Implement a [new integration or E2E test](https://docs.securecodebox.io/docs/contributing/integrating-a-scanner/integration-tests) for the hook [here](https://github.com/secureCodeBox/secureCodeBox/tree/master/tests/integration)\r\n","author":{"url":"https://github.com/ammerzon","@type":"Person","name":"ammerzon"},"datePublished":"2021-08-12T07:38:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/595/secureCodeBox/issues/595"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ff43ecaf-4c15-8a87-546b-3b11888c9e83 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9606:1B5D81:E7F4D:132B1C:69906061 |
| html-safe-nonce | f309eb00dc925b42fa1d4e8483bd29f758c7a20b7492073ed686c06adb58359a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjA2OjFCNUQ4MTpFN0Y0RDoxMzJCMUM6Njk5MDYwNjEiLCJ2aXNpdG9yX2lkIjoiMjM4ODcxOTY3OTE4MDkyMjk3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 944508be5babe6628a25b239a1afb1999294353581186a721f05788f599086a9 |
| hovercard-subject-tag | issue:968264635 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/secureCodeBox/secureCodeBox/595/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a9eca941b7dfb2ef4e01d820c52c8a80a04fbf546b39b5a999fcace0a4bcd726/secureCodeBox/secureCodeBox/issues/595 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a9eca941b7dfb2ef4e01d820c52c8a80a04fbf546b39b5a999fcace0a4bcd726/secureCodeBox/secureCodeBox/issues/595 |
| og:image:alt | 🚓 New Scanner implementation request Is your feature request related to a problem As a secureCodeBox user I would like to use semgrep for static application security testing. Describe the solution ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ammerzon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git |
| octolytics-dimension-user_id | 34573705 |
| octolytics-dimension-user_login | secureCodeBox |
| octolytics-dimension-repository_id | 80711933 |
| octolytics-dimension-repository_nwo | secureCodeBox/secureCodeBox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80711933 |
| octolytics-dimension-repository_network_root_nwo | secureCodeBox/secureCodeBox |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width