René's URL Explorer Experiment


Title: Configure Hooks to run per scan · Issue #728 · secureCodeBox/secureCodeBox · GitHub

Open Graph Title: Configure Hooks to run per scan · Issue #728 · secureCodeBox/secureCodeBox

X Title: Configure Hooks to run per scan · Issue #728 · secureCodeBox/secureCodeBox

Description: ➹ New Feature implementation request It would be extremely helpful if you can decide on a per-scan basis which hooks to run. Example use case Installed hooks: Cascading Scans, DefectDojo persistence provider Started scan: apiVersion: "ex...

Open Graph Description: ➹ New Feature implementation request It would be extremely helpful if you can decide on a per-scan basis which hooks to run. Example use case Installed hooks: Cascading Scans, DefectDojo persistenc...

X Description: ➹ New Feature implementation request It would be extremely helpful if you can decide on a per-scan basis which hooks to run. Example use case Installed hooks: Cascading Scans, DefectDojo persistenc...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Configure Hooks to run per scan","articleBody":"## ➹ New Feature implementation request\r\n\r\nIt would be extremely helpful if you can decide on a per-scan basis which hooks to run.\r\n\r\n### Example use case\r\n\r\nInstalled hooks: Cascading Scans, DefectDojo persistence provider\r\n\r\nStarted scan:\r\n\r\n```yaml\r\napiVersion: \"execution.securecodebox.io/v1\"\r\nkind: Scan\r\nmetadata:\r\n  name: \"nmap-open-ports\"\r\nspec:\r\n  scanType: \"nmap\"\r\n  parameters:\r\n    - \"-p-\"\r\n    # Against Host\r\n    - \"example.com\"\r\n```\r\n\r\nThe initial scan would create this finding:\r\n\r\n```json\r\n {\r\n    \"name\":\"Open Port: 443 (http)\",\r\n    \"category\":\"Open Port\",\r\n    \"attributes\":{\r\n       \"port\":443,\r\n       \"state\":\"open\",\r\n       \"service\":\"http\",\r\n       \"serviceProduct\":\"nginx\",\r\n       \"serviceVersion\":null,\r\n       \"tunnel\":\"ssl\"\r\n    },\r\n },\r\n```\r\n\r\nCascading Rule:\r\n\r\n```yaml\r\napiVersion: \"cascading.securecodebox.io/v1\"\r\nkind: CascadingRule\r\nmetadata:\r\n  name: \"nmap-service-detection\"\r\nspec:\r\n  matches:\r\n    anyOf:\r\n      - category: \"Open Port\"\r\n        attributes:\r\n          state: open\r\n  scanSpec:\r\n    scanType: \"nmap\"\r\n    parameters:\r\n      - \"-p{{attributes.port}}\"\r\n      - \"-sV\"\r\n      - \"--service-all\"\r\n      # Against Host\r\n      - \"{{$.hostOrIP}}\"\r\n```\r\n\r\nWhen triggered, the Cascading Scan would create the following finding with **more service information**:\r\n\r\n```json\r\n {\r\n    \"name\":\"Open Port: 443 (http)\",\r\n    \"category\":\"Open Port\",\r\n    \"attributes\":{\r\n       \"port\":443,\r\n       \"state\":\"open\",\r\n       \"service\":\"http\",\r\n       \"serviceProduct\":\"nginx\",\r\n       \"serviceVersion\":\"1.20.1\",\r\n       \"tunnel\":\"ssl\"\r\n    },\r\n },\r\n```\r\n\r\nIn this case, I would like to **not import** the initial scan results into DefectDojo but still run the Cascading Scan hook.\r\n\r\n### Describe the solution you'd like\r\nOnce #695 is merged, we could use Hook Priorities to solve this problem. One could deploy Cascading Scans with a priority of `1` and DefectDojo with `0`. Then on a per-scan basis one may define what hook ranges to execute.\r\n\r\n```yaml\r\napiVersion: \"execution.securecodebox.io/v1\"\r\nkind: Scan\r\nmetadata:\r\n  name: \"nmap-open-ports\"\r\nspec:\r\n  hookRanges:\r\n    - \"1\"\r\n  scanType: \"nmap\"\r\n  parameters:\r\n    - \"-p-\"\r\n    # Against Host\r\n    - \"example.com\"\r\n```\r\n\r\n`hookRanges` would be a list of ranges to execute. A range could have the following formats:\r\n\r\n* `0-1`: Execute hooks with priority between `0` and `1` (inclusive)\r\n* `0`: Execute hooks with priority `0`.\r\n\r\nThe `orderedHookStatusses` status field would still include the skipped hooks but marks them with state `Skipped`.\r\n\r\n### Describe alternatives you've considered\r\nProposed workarounds involved setting up multiple namespaces with different hooks installed and then running the scan in that namespace.\r\n","author":{"url":"https://github.com/EndPositive","@type":"Person","name":"EndPositive"},"datePublished":"2021-10-14T08:58:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/728/secureCodeBox/issues/728"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d8674e45-f289-4523-d32d-6b3a31d85a86
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB87E:125C99:B4D0BB:E454B9:6991810F
html-safe-nonce7f0a38f980e93c2c4d904b4bfa1f8031c77dc3471305ecf610e497ecf5d597c4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODdFOjEyNUM5OTpCNEQwQkI6RTQ1NEI5OjY5OTE4MTBGIiwidmlzaXRvcl9pZCI6IjY1MTQxOTMzMzY0NTQxODUyMzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacce385fe48b2f2882232aff67aa37d82780c69ed1929d296d2d1b5f6bf40982e8
hovercard-subject-tagissue:1026141203
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/728/issue_layout
twitter:imagehttps://opengraph.githubassets.com/862aa6f361f503ac159b356c2b783581359f1236e9ec91117c873058145bb8c7/secureCodeBox/secureCodeBox/issues/728
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/862aa6f361f503ac159b356c2b783581359f1236e9ec91117c873058145bb8c7/secureCodeBox/secureCodeBox/issues/728
og:image:alt➹ New Feature implementation request It would be extremely helpful if you can decide on a per-scan basis which hooks to run. Example use case Installed hooks: Cascading Scans, DefectDojo persistenc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEndPositive
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/secureCodeBox/secureCodeBox/issues/728#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2F728
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%2F728
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/728
Reloadhttps://github.com/secureCodeBox/secureCodeBox/issues/728
Reloadhttps://github.com/secureCodeBox/secureCodeBox/issues/728
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 5 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/728
New issuehttps://github.com/login?return_to=https://github.com/secureCodeBox/secureCodeBox/issues/728
#757https://github.com/secureCodeBox/secureCodeBox/pull/757
Configure Hooks to run per scanhttps://github.com/secureCodeBox/secureCodeBox/issues/728#top
#757https://github.com/secureCodeBox/secureCodeBox/pull/757
enhancementNew feature or requesthttps://github.com/secureCodeBox/secureCodeBox/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/EndPositive
https://github.com/EndPositive
EndPositivehttps://github.com/EndPositive
on Oct 14, 2021https://github.com/secureCodeBox/secureCodeBox/issues/728#issue-1026141203
#695https://github.com/secureCodeBox/secureCodeBox/pull/695
enhancementNew feature or requesthttps://github.com/secureCodeBox/secureCodeBox/issues?q=state%3Aopen%20label%3A%22enhancement%22
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.