Title: Unknown field "initContainers" in io.securecodebox.execution.v1.Scan.spec · Issue #784 · secureCodeBox/secureCodeBox · GitHub
Open Graph Title: Unknown field "initContainers" in io.securecodebox.execution.v1.Scan.spec · Issue #784 · secureCodeBox/secureCodeBox
X Title: Unknown field "initContainers" in io.securecodebox.execution.v1.Scan.spec · Issue #784 · secureCodeBox/secureCodeBox
Description: 🐞 Bug report Describe the bug secureCodeBox/semgrep gives 'failed to download" error when I install, in this case I installed through scanners/semgrep via repository (helm -f value.yaml ...) . Next, I used scanners/semgrep/example/vulner...
Open Graph Description: 🐞 Bug report Describe the bug secureCodeBox/semgrep gives 'failed to download" error when I install, in this case I installed through scanners/semgrep via repository (helm -f value.yaml ...) . Next...
X Description: 🐞 Bug report Describe the bug secureCodeBox/semgrep gives 'failed to download" error when I install, in this case I installed through scanners/semgrep via repository (helm -f value.yaml .....
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/issues/784
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unknown field \"initContainers\" in io.securecodebox.execution.v1.Scan.spec","articleBody":"## 🐞 Bug report\r\n\u003c!--\r\nThank you for reporting an issue in our project 🙌\r\n\r\nBefore opening a new issue, please make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.\r\n--\u003e\r\n\r\n### Describe the bug\r\nsecureCodeBox/semgrep gives _'failed to download\"_ error when I install, in this case I installed through scanners/semgrep via repository (helm -f value.yaml ...) . Next, I used scanners/semgrep/example/vulnerable-flask-app/scan.yaml to generate a scan but got the error message _'error: error validating \"scan.yaml\": error validating data: ValidationError (Scan.spec): unknown field \"initContainers\" in io.securecodebox.execution.v1.Scan.spec; if you choose to ignore these errors, turn validation off with --validate=false'_\r\n\u003c!-- A clear and concise description of what the bug is. --\u003e\r\n\r\n### Steps To Reproduce\r\n\r\n1. Upgrade secureCodeBox \r\n`helm --namespace securecodebox-system upgrade --install securecodebox-operator secureCodeBox/operator`\r\n2. Install Semgrep scanner (Error: failed to download \"secureCodeBox/semgrep\")\r\n`helm upgrade --install semgrep secureCodeBox/semgrep -n securecodebox-system`\r\n3. Install Semgrep scanner with source\r\n`git clone https://github.com/secureCodeBox/secureCodeBox.git`\r\n`cd secureCodeBox/scanners/semgrep`\r\n`helm upgrade --install -f values.yaml semgrep . -n securecodebox-system`\r\n4. Create scan (Error: unknown field \"initContainers\" in io.securecodebox.execution.v1.Scan.spec)\r\n`cd scanners/semgrep/examples/vulnerable-flask-app`\r\n`kubectl apply -f scan.yaml`\r\n\r\n\u003c!--\r\nSteps to reproduce the behavior:\r\n1. Go to '...'\r\n2. Click on '....'\r\n3. Scroll down to '....'\r\n4. See error\r\n--\u003e\r\n\r\n### Expected behavior\r\nHow can I install semgrep scanner and make a scan with semgrep type working properly?\r\n\u003c!-- A clear and concise description of what you expected to happen. --\u003e\r\n\r\n### System (please complete the following information):\r\n- secureCodeBox: `2021-10-28 11:54:04.600105 +0700 +07\tdeployed\toperator-3.1.1`\r\n- helm: `version.BuildInfo{Version:\"v3.7.0\", GitTreeState:\"clean\", GoVersion:\"go1.17\"}`\r\n- kubectl: \r\n`Client Version: version.Info{Major:\"1\", Minor:\"18\", GitVersion:\"v1.18.5\", BuildDate:\"2020-07-04T15:01:15Z\", GoVersion:\"go1.14.4\", Compiler:\"gc\", Platform:\"darwin/amd64\"}`\r\n`Server Version: version.Info{Major:\"1\", Minor:\"19+\", GitVersion:\"v1.19.13-gke.1900\", BuildDate:\"2021-08-11T09:19:42Z\", GoVersion:\"go1.15.13b5\", Compiler:\"gc\", Platform:\"linux/amd64\"}`\r\n\u003c!--\r\n - secureCodeBox Version/Release\r\n - OS: [e.g. iOS]\r\n - Kubernetes Version [command: `kubectl version`]\r\n - Docker Version [command: `docker -v`]\r\n - Browser [e.g. chrome, safari, firefox,...]\r\n--\u003e\r\n\r\n### Screenshots / Logs\r\n\u003cimg width=\"499\" alt=\"Screen Shot 2021-10-28 at 12 24 23\" src=\"https://user-images.githubusercontent.com/20768480/139192367-6111310d-aae6-4734-9638-608bbe9a0355.png\"\u003e\r\n\u003cimg width=\"1437\" alt=\"Screen Shot 2021-10-28 at 12 26 12\" src=\"https://user-images.githubusercontent.com/20768480/139192460-6764cdc0-057e-4173-8f27-2866f241a9c8.png\"\u003e\r\n\r\n\u003c!-- If applicable, add screenshots to help explain your problem. --\u003e\r\n\r\n### Additional context\r\nI have seen the instructions and followed 2 ways but none of them work\r\n- https://github.com/secureCodeBox/secureCodeBox/blob/main/docs/adr/adr_0009.md\r\n- https://docs.securecodebox.io/docs/scanners/semgrep\r\n\u003c!-- Add any other context about the problem here. --\u003e\r\n","author":{"url":"https://github.com/l4mb0san","@type":"Person","name":"l4mb0san"},"datePublished":"2021-10-28T05:28:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/784/secureCodeBox/issues/784"}
| 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:9f5b3694-8cf3-07f8-ed28-2e8f7801f229 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B75C:3E6BCE:4C9933:642C46:698EB84D |
| html-safe-nonce | ff3fcd70dee45d6bcd79e33d0a7c5f5d80aa65194c200554fe45698505e55d7c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzVDOjNFNkJDRTo0Qzk5MzM6NjQyQzQ2OjY5OEVCODREIiwidmlzaXRvcl9pZCI6IjQ0Mjk2NDczODc1OTAzMDk5NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | af1c8f03bbe6178417f2ccfd5b8701a9c19dfc4f44b59806cc4220bb481f0785 |
| hovercard-subject-tag | issue:1038098471 |
| 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/784/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cac615ed62b85035cbb1208dac42064ebe560ed5a21654b25fc12ff9eae0c355/secureCodeBox/secureCodeBox/issues/784 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cac615ed62b85035cbb1208dac42064ebe560ed5a21654b25fc12ff9eae0c355/secureCodeBox/secureCodeBox/issues/784 |
| og:image:alt | 🐞 Bug report Describe the bug secureCodeBox/semgrep gives 'failed to download" error when I install, in this case I installed through scanners/semgrep via repository (helm -f value.yaml ...) . Next... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | l4mb0san |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| 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 | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width