René's URL Explorer Experiment


Title: Reimporting SCB Findings from OWASP DefectDojo after persisting them by J12934 · Pull Request #330 · secureCodeBox/secureCodeBox · GitHub

Open Graph Title: Reimporting SCB Findings from OWASP DefectDojo after persisting them by J12934 · Pull Request #330 · secureCodeBox/secureCodeBox

X Title: Reimporting SCB Findings from OWASP DefectDojo after persisting them by J12934 · Pull Request #330 · secureCodeBox/secureCodeBox

Description: This PR changes the DefectDojo Hook from a ReadOnly Hook to a ReadAndWrite Hook. After uploading the raw result findings of different SCB scanner to OWASP DefectDojo this extension is responsible for importing the uploaded findings back to the secureCodeBox. This lets us import the false positive / duplicate status from DefectDojo attributes to the scans findings in further hooks, e.g. slack notification or later on elasticSearch persistence. ┌─SCB OWASP ZAP──┐ ┌───────────────┐ ┌─────────────────────┐ ┌ ─ ─ ─ ┐ │ │ │ ReadWriteHook:│ │ ReadHook: │ │┌──────────────┐│ │ DefectDojo- ├──────▶│ Teams Notification ├──────▶ │ Teams │ ││ ZAP Scanner ││ │ Persistence │ │ Hook │ │└──────────────┘│ │ │ └─────────────────────┘ └ ─ ─ ─ ┘ │ │───────▶│ │ │┌──────────────┐│ │ │ ┌─────────────────────┐ ┌ ─ ─ ─ ┐ ││ ZAP Parser ││ │ │ │ ReadHook: │ │└──────────────┘│ │ ├──────▶│ Elasticsearch- ├──────▶ │ ECK │ │ │ │ │ │ Persistence Hook │ └────────────────┘ └────┬──────────┘ └─────────────────────┘ └ ─ ─ ─ ┘ │ ▲ │ │ │ │◀═══════════════ Added by PR 330 ▼ │ ┌ ─ ─ ─ ─ ─ ─ ─ ┐ │ DefectDojo │ Instance │ │ ─ ─ ─ ─ ─ ─ ─ ─ The imported findings from DefectDojo are mapped back to the secureCodeBox finding format and overwrite the original secureCodeBox findings from the parser. Here's a example mapped finding: { "id": "fdc841ef-ef22-45e8-8ecd-c6f246312eb0", "name": "Content Security Policy (CSP) Header Not Set", "location": "http://juice-shop:3000", "description": "Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.\n\nReference: https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Introducing_Content_Security_Policyhttps://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.htmlhttp://www.w3.org/TR/CSP/http://w3c.github.io/webappsec/specs/content-security-policy/csp-specification.dev.htmlhttp://www.html5rocks.com/en/tutorials/security/content-security-policy/http://caniuse.com/#feat=contentsecuritypolicyhttp://content-security-policy.com/\n\nURL: http://juice-shop:3000/ftp/\nMethod: GET\n\nURL: http://juice-shop:3000/ftp\nMethod: GET\n\nURL: http://juice-shop:3000/ftp/coupons_2013.md.bak\nMethod: GET\n\nURL: http://juice-shop:3000/ftp/suspicious_errors.yml\nMethod: GET\n\nURL: http://juice-shop:3000/ftp/encrypt.pyc\nMethod: GET\n\nURL: http://juice-shop:3000/ftp/eastere.gg\nMethod: GET\n\nURL: http://juice-shop:3000/\nMethod: GET\n\nURL: http://juice-shop:3000/ftp/package.json.bak\nMethod: GET\n\nURL: http://juice-shop:3000/ftp/quarantine\nMethod: GET\n\nURL: http://juice-shop:3000\nMethod: GET\n\nURL: http://juice-shop:3000/sitemap.xml\nMethod: GET\n", "category": "DefectDojo Imported Finding", "severity": "Medium", "attributes": { "defectdojo.org/finding-id": 10414, "defectdojo.org/finding-url": "https://defectdojo.example.com/finding/10414", "defectdojo.org/test-id": 588, "falsePositive": false, "defectdojo.org/test-url": "https://defectdojo.example.com/test/588", "duplicate": true }, "osi_layer": null } I updated the Kubernetes Client version and regenerated the autogenerated Classes for the CRD's which causes probably 98% of this PR diff, you can skip passed them (everything under io.securecodebox.models in commit a9e519b).

Open Graph Description: This PR changes the DefectDojo Hook from a ReadOnly Hook to a ReadAndWrite Hook. After uploading the raw result findings of different SCB scanner to OWASP DefectDojo this extension is responsible f...

X Description: This PR changes the DefectDojo Hook from a ReadOnly Hook to a ReadAndWrite Hook. After uploading the raw result findings of different SCB scanner to OWASP DefectDojo this extension is responsible f...

Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/pull/330

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:938d39a9-c565-32fc-6382-c9f7c729b9b9
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idA928:3FFE70:3667C03:4B51974:6977CE89
html-safe-nonce056a5e803dd59159ec45445db47abacdb7603b92f6d4c583ff929e97c4c5757a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTI4OjNGRkU3MDozNjY3QzAzOjRCNTE5NzQ6Njk3N0NFODkiLCJ2aXNpdG9yX2lkIjoiMzExNjg0OTQ0OTEyNTAwNjk4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4996ba1d1b20323704c0c60870e288d5980a0c9d873a6c9ba35d5395ce4a0728
hovercard-subject-tagpull_request:596384839
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/secureCodeBox/secureCodeBox/pull/330/checks
twitter:imagehttps://avatars.githubusercontent.com/u/13718901?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/13718901?s=400&v=4
og:image:altThis PR changes the DefectDojo Hook from a ReadOnly Hook to a ReadAndWrite Hook. After uploading the raw result findings of different SCB scanner to OWASP DefectDojo this extension is responsible f...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None173f8c2eae2e017de550dd28a9ea88ad5c1e52c70df7ea05bcd820330b3b2fec
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 full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7b19554cad55a536fac18eeedb416dd87c37b1f5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/secureCodeBox/secureCodeBox/pull/330/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2FsecureCodeBox%2Fpull%2F330%2Fchecks
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%2Fpull%2F330%2Fchecks
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%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=secureCodeBox%2FsecureCodeBox
Reloadhttps://github.com/secureCodeBox/secureCodeBox/pull/330/checks
Reloadhttps://github.com/secureCodeBox/secureCodeBox/pull/330/checks
Reloadhttps://github.com/secureCodeBox/secureCodeBox/pull/330/checks
secureCodeBox https://github.com/secureCodeBox
secureCodeBoxhttps://github.com/secureCodeBox/secureCodeBox
Notifications https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Fork 175 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Star 947 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Code https://github.com/secureCodeBox/secureCodeBox
Issues 72 https://github.com/secureCodeBox/secureCodeBox/issues
Pull requests 3 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
Sign up for GitHub https://github.com/signup?return_to=%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2Fnew%2Fchoose
J12934https://github.com/J12934
mainhttps://github.com/secureCodeBox/secureCodeBox/tree/main
feature/extract-findings-from-ddhttps://github.com/secureCodeBox/secureCodeBox/tree/feature/extract-findings-from-dd
Conversation 6 https://github.com/secureCodeBox/secureCodeBox/pull/330
Commits 18 https://github.com/secureCodeBox/secureCodeBox/pull/330/commits
Checks 0 https://github.com/secureCodeBox/secureCodeBox/pull/330/checks
Files changed https://github.com/secureCodeBox/secureCodeBox/pull/330/files
Please reload this pagehttps://github.com/secureCodeBox/secureCodeBox/pull/330/checks
Please reload this pagehttps://github.com/secureCodeBox/secureCodeBox/pull/330/checks
Reimporting SCB Findings from OWASP DefectDojo after persisting them https://github.com/secureCodeBox/secureCodeBox/pull/330/checks#top
Please reload this pagehttps://github.com/secureCodeBox/secureCodeBox/pull/330/checks
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.