René's URL Explorer Experiment


Title: Trivy Parser Creates Malformed Location URL · Issue #2324 · secureCodeBox/secureCodeBox · GitHub

Open Graph Title: Trivy Parser Creates Malformed Location URL · Issue #2324 · secureCodeBox/secureCodeBox

X Title: Trivy Parser Creates Malformed Location URL · Issue #2324 · secureCodeBox/secureCodeBox

Description: 🐞 Bug report Describe the bug We do the following scan by Trivy: apiVersion: "execution.securecodebox.io/v1" kind: Scan metadata: name: "trivy-k8s-1" annotations: defectdojo.securecodebox.io/product-type-name: Infra defectdojo.securecode...

Open Graph Description: 🐞 Bug report Describe the bug We do the following scan by Trivy: apiVersion: "execution.securecodebox.io/v1" kind: Scan metadata: name: "trivy-k8s-1" annotations: defectdojo.securecodebox.io/produc...

X Description: 🐞 Bug report Describe the bug We do the following scan by Trivy: apiVersion: "execution.securecodebox.io/v1" kind: Scan metadata: name: "trivy-k8s-1" annotations: defectdojo.sec...

Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/issues/2324

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Trivy Parser Creates Malformed Location URL","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\n\r\nWe do the following scan by Trivy:\r\n```\r\napiVersion: \"execution.securecodebox.io/v1\"\r\nkind: Scan\r\nmetadata:\r\n  name: \"trivy-k8s-1\"\r\n  annotations:\r\n    defectdojo.securecodebox.io/product-type-name: Infra\r\n    defectdojo.securecodebox.io/product-name: infra-cluster\r\n    defectdojo.securecodebox.io/engagement-name: \"Trivy k8s scan\"\r\n    defectdojo.securecodebox.io/test-title: \"Trivy k8s weekly scan\"\r\nspec:\r\n  scanType: \"trivy-k8s\"\r\n  parameters:\r\n    - \"-d\"\r\n    - \"--timeout\"\r\n    - \"30m\"\r\n    - \"--tolerations\"\r\n    - \"gitlab_runners=true:NoSchedule\"\r\n    - \"--components\"\r\n    - \"workload\"\r\n    - \"--scanners\"\r\n    - \"vuln\"\r\n    - \"-n\"\r\n    - \"gitlab\"\r\n    - \"pods\"\r\n  volumes:\r\n    - name: dockersocket\r\n      hostPath:\r\n        path: /run/containerd/containerd.sock\r\n    - name: db-cache\r\n      persistentVolumeClaim:\r\n        claimName: trivy-k8s-database\r\n  volumeMounts:\r\n    - name: dockersocket\r\n      mountPath: /run/containerd/containerd.sock\r\n    - name: db-cache\r\n      mountPath: /root/.cache/trivy\r\n```\r\n\r\nScan and parse stages go just fine. But in the `Persistence-defectdojo hook` we see a lot of warnings like this:\r\n\r\n```\r\n2024-02-29 17:17:26 WARN  SecureCodeBoxFindingsToDefectDojoMapper:89 - Couldn't parse the secureCodeBox location, because it: java.lang.IllegalArgumentException: Illegal character in opaque part at index 10: Namespace: 'gitlab' / Kind: 'Pod' / Name: 'runner--ykq-n2m-project-8-concurrent-0-na4oov1f' is not a vailid uri: Namespace: 'gitlab' / Kind: 'Pod' / Name: 'runner--ykq-n2m-project-8-concurrent-0-na4oov1f'\r\n2024-02-29 17:17:26 WARN  SecureCodeBoxFindingsToDefectDojoMapper:89 - Couldn't parse the secureCodeBox location, because it: java.lang.IllegalArgumentException: Illegal character in opaque part at index 10: Namespace: 'gitlab' / Kind: 'Pod' / Name: 'runner--ykq-n2m-project-8-concurrent-0-na4oov1f' is not a vailid uri: Namespace: 'gitlab' / Kind: 'Pod' / Name: 'runner--ykq-n2m-project-8-concurrent-0-na4oov1f'\r\n```\r\n\r\n### Steps To Reproduce\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\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\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- operator-4.4.0\r\n- trivy-4.4.1\r\n- persistence-defectdojo-4.4.1\r\n\r\n### Screenshots / Logs\r\n\u003c!-- If applicable, add screenshots to help explain your problem. --\u003e\r\n\r\n### Additional context\r\n\u003c!-- Add any other context about the problem here. --\u003e\r\n","author":{"url":"https://github.com/danil-smirnov","@type":"Person","name":"danil-smirnov"},"datePublished":"2024-02-29T17:41:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/2324/secureCodeBox/issues/2324"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d6b053f6-3119-162e-e2e0-26ad0273899f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEA76:119F1E:1175677:168D54A:698FD72D
html-safe-nonce06650e0222265a5ed78330cb304acef63d9c13164203960d6ad1b81aaad51788
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTc2OjExOUYxRToxMTc1Njc3OjE2OEQ1NEE6Njk4RkQ3MkQiLCJ2aXNpdG9yX2lkIjoiMTgzNzYwNTU5NzgyNDgzNzU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9d9becad6784952e810746868543aa0ca766656712a09a1288447720a3b3fad6
hovercard-subject-tagissue:2161784341
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/secureCodeBox/secureCodeBox/2324/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3e8cb8bfdb4c3db1c624b2787dceae6a5cc8ffe63d23fb6db3ca8c8e2c95d7d7/secureCodeBox/secureCodeBox/issues/2324
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3e8cb8bfdb4c3db1c624b2787dceae6a5cc8ffe63d23fb6db3ca8c8e2c95d7d7/secureCodeBox/secureCodeBox/issues/2324
og:image:alt🐞 Bug report Describe the bug We do the following scan by Trivy: apiVersion: "execution.securecodebox.io/v1" kind: Scan metadata: name: "trivy-k8s-1" annotations: defectdojo.securecodebox.io/produc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedanil-smirnov
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git
octolytics-dimension-user_id34573705
octolytics-dimension-user_loginsecureCodeBox
octolytics-dimension-repository_id80711933
octolytics-dimension-repository_nwosecureCodeBox/secureCodeBox
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id80711933
octolytics-dimension-repository_network_root_nwosecureCodeBox/secureCodeBox
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released320682233dfd4d28c0b30554a564c2fcd229032
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/secureCodeBox/secureCodeBox/issues/2324#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2F2324
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2F2324
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=secureCodeBox%2FsecureCodeBox
Reloadhttps://github.com/secureCodeBox/secureCodeBox/issues/2324
Reloadhttps://github.com/secureCodeBox/secureCodeBox/issues/2324
Reloadhttps://github.com/secureCodeBox/secureCodeBox/issues/2324
secureCodeBox https://github.com/secureCodeBox
secureCodeBoxhttps://github.com/secureCodeBox/secureCodeBox
Notifications https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Fork 179 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Star 955 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Code https://github.com/secureCodeBox/secureCodeBox
Issues 71 https://github.com/secureCodeBox/secureCodeBox/issues
Pull requests 4 https://github.com/secureCodeBox/secureCodeBox/pulls
Discussions https://github.com/secureCodeBox/secureCodeBox/discussions
Actions https://github.com/secureCodeBox/secureCodeBox/actions
Projects 1 https://github.com/secureCodeBox/secureCodeBox/projects
Security 1 https://github.com/secureCodeBox/secureCodeBox/security
Insights https://github.com/secureCodeBox/secureCodeBox/pulse
Code https://github.com/secureCodeBox/secureCodeBox
Issues https://github.com/secureCodeBox/secureCodeBox/issues
Pull requests https://github.com/secureCodeBox/secureCodeBox/pulls
Discussions https://github.com/secureCodeBox/secureCodeBox/discussions
Actions https://github.com/secureCodeBox/secureCodeBox/actions
Projects https://github.com/secureCodeBox/secureCodeBox/projects
Security https://github.com/secureCodeBox/secureCodeBox/security
Insights https://github.com/secureCodeBox/secureCodeBox/pulse
New issuehttps://github.com/login?return_to=https://github.com/secureCodeBox/secureCodeBox/issues/2324
New issuehttps://github.com/login?return_to=https://github.com/secureCodeBox/secureCodeBox/issues/2324
#2725https://github.com/secureCodeBox/secureCodeBox/pull/2725
Trivy Parser Creates Malformed Location URLhttps://github.com/secureCodeBox/secureCodeBox/issues/2324#top
#2725https://github.com/secureCodeBox/secureCodeBox/pull/2725
https://github.com/BorisShek
bugBugshttps://github.com/secureCodeBox/secureCodeBox/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/danil-smirnov
https://github.com/danil-smirnov
danil-smirnovhttps://github.com/danil-smirnov
on Feb 29, 2024https://github.com/secureCodeBox/secureCodeBox/issues/2324#issue-2161784341
BorisShekhttps://github.com/BorisShek
bugBugshttps://github.com/secureCodeBox/secureCodeBox/issues?q=state%3Aopen%20label%3A%22bug%22
secureCodeBoxhttps://github.com/orgs/secureCodeBox/projects/6
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.