René's URL Explorer Experiment


Title: RFC: Add Scanner Capability Flag to enhance Scanner Worker Selection · Issue #89 · secureCodeBox/engine · GitHub

Open Graph Title: RFC: Add Scanner Capability Flag to enhance Scanner Worker Selection · Issue #89 · secureCodeBox/engine

X Title: RFC: Add Scanner Capability Flag to enhance Scanner Worker Selection · Issue #89 · secureCodeBox/engine

Description: Is your feature request related to a problem? Please describe. When it comes to Multi Tenancy there are two main axis we'd like two support with the secureCodeBox Engine: Team Separation This allows the association of scanners operated b...

Open Graph Description: Is your feature request related to a problem? Please describe. When it comes to Multi Tenancy there are two main axis we'd like two support with the secureCodeBox Engine: Team Separation This allow...

X Description: Is your feature request related to a problem? Please describe. When it comes to Multi Tenancy there are two main axis we'd like two support with the secureCodeBox Engine: Team Separation This a...

Opengraph URL: https://github.com/secureCodeBox/engine/issues/89

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RFC: Add Scanner Capability Flag to enhance Scanner Worker Selection","articleBody":"## Is your feature request related to a problem? Please describe.\r\n\r\nWhen it comes to Multi Tenancy there are two main axis we'd like two support with the secureCodeBox Engine:\r\n\r\n### Team Separation\r\n\r\nThis allows the association of scanners operated by the teams with that team. The scanners will then only work on scan jobs created by that team. This was implemented in #79.\r\n\r\n\r\n## Capability Separation\r\n\r\nNot every worker deployment in a team has to be the same. \r\n\r\nSome scanners might...\r\n\r\n  - be deployed in certain network situation which enable different scans.\r\n  - have files mounted onto their filesystem which are required to perform certain scans.\r\n  - have certain configuration / deployment requirements by the scanner to run certain kinds of scans. E.g. nmap requiring root rights / linux capabilities to run OS detection scans (See: https://github.com/secureCodeBox/scanner-infrastructure-nmap/issues/2)\r\n\r\nThis problem can be solved by using the team separation feature by creating a new team for every team / capability combination, but that is quite tedious. These teams could look something like this:\r\n\r\n- team42\r\n- team42_nmap_privileged\r\n- team42_zap_behindwaf\r\n\r\nCreating new teams requires to assign all team members to every of their related teams, which is a big organisational overhead. \r\n\r\n![scb-multi-tenancy](https://user-images.githubusercontent.com/13718901/60582903-ff405f80-9d89-11e9-97b4-ba1fc35fa062.png)\r\n\r\n## Describe the solution you'd like\r\n\r\nI'd like to introduce capabilities into the `StartSecurityTest` and the `LockScanJob` APIs. \r\n\r\nThe addition to the startSecurity Test API would be a new optional `requiredCapabilities` attribute which allows the user to express which capabilities are required for the scan job. \r\n\r\nThe addition to the `LockScanJob` API would allow the scanners to communicate to the engine which capabilities the have.\r\n\r\n`POST https://engine.securecodebox.demo/box/securityTests`\r\n\r\n```json\r\n[\r\n  {\r\n    \"context\": \"Feature Team 1\",\r\n    \"metaData\": {},\r\n    \"name\": \"nmap\",\r\n    \"target\": {\r\n      \"attributes\": {\r\n        \"NMAP_PARAMETER\": \"-Pn\"\r\n      },\r\n      \"location\": \"127.0.0.1\",\r\n      \"name\": \"SecureCodeBox Demo Website\"\r\n    },\r\n    \"tenant\": \"team-1\",\r\n\t\"requiredCapabilities\": [\r\n\t\t\"behind-firewall\",\r\n  \t\t\"privileged-deployment\"\r\n\t]\r\n  }\r\n]\r\n```\r\n\r\nThe relevant new attribute here is `requiredCapabilities`.\r\n\r\nFor a scanner to be able to work on this task it would need to be configured that:\r\n\r\n- The engine user of the scanner worker, set by the env vars: `ENGINE_SCANNERSERVICES_USER` and `ENGINE_BASIC_AUTH_PASSWORD` need to be a member of `team-1`\r\n- The worker need to have the (new) environment var `SCANNER_CAPABILITIES` to be set to: `behind-firewall,privileged-deployment` (or `privileged-deployment,behind-firewall`, the order should not matter)\r\n\r\nScanner without the `SCANNER_CAPABILITIES` env var will only be able to work on scan jobs without requiredCapabilities.\r\n\r\nExample deployment (`docker-compose` for readability):\r\n\r\n```yml\r\nnmap-team42:\r\n    image: securecodebox/nmap:latest\r\n    environment:\r\n      - ENGINE_ADDRESS=http://engine:8080\r\n      - ENGINE_BASIC_AUTH_USER=team42-tu-nmap\r\n      - ENGINE_BASIC_AUTH_PASSWORD=foobar\r\n      - SCANNER_CAPABILITIES=behind-firewall,privileged-deployment\r\n```\r\n\r\n## Describe alternatives you've considered\r\n\r\n- Multiple teams (see problem descriptions)\r\n- Using camunda custom permissions, to prevent scanner without capabilities to access scan jobs.","author":{"url":"https://github.com/J12934","@type":"Person","name":"J12934"},"datePublished":"2019-07-03T10:10:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/89/engine/issues/89"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0e78f1cd-7cba-58fd-036c-d3666ffdcbfb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC52A:177022:AF8BFC:BBA55A:698FAD24
html-safe-noncec33e10f8f1d97efb935a4f5b09aa315786029be6a5cef48b119aead953512355
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTJBOjE3NzAyMjpBRjhCRkM6QkJBNTVBOjY5OEZBRDI0IiwidmlzaXRvcl9pZCI6Ijc4MjQ3MDk2NzY2MjEwODE4OTIiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ==
visitor-hmac405c16ba592b424bc811906cfb8ea446ed582744d80eaf78abd4912ba6c10aed
hovercard-subject-tagissue:463665210
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/engine/89/issue_layout
twitter:imagehttps://opengraph.githubassets.com/85d167b8a20b6d2eed7a53735c728db6e3406459b71539e2416b65435550c027/secureCodeBox/engine/issues/89
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/85d167b8a20b6d2eed7a53735c728db6e3406459b71539e2416b65435550c027/secureCodeBox/engine/issues/89
og:image:altIs your feature request related to a problem? Please describe. When it comes to Multi Tenancy there are two main axis we'd like two support with the secureCodeBox Engine: Team Separation This allow...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJ12934
hostnamegithub.com
expected-hostnamegithub.com
Nonea413d5841601ce811368a757abafd33518c11d9f1b18db7de60f7e4e0da278ae
turbo-cache-controlno-preview
go-importgithub.com/secureCodeBox/engine git https://github.com/secureCodeBox/engine.git
octolytics-dimension-user_id34573705
octolytics-dimension-user_loginsecureCodeBox
octolytics-dimension-repository_id123422137
octolytics-dimension-repository_nwosecureCodeBox/engine
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id123422137
octolytics-dimension-repository_network_root_nwosecureCodeBox/engine
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
releasece13de8048c6fca942478f24a897da4faab6f24d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/secureCodeBox/engine/issues/89#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2Fengine%2Fissues%2F89
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2Fengine%2Fissues%2F89
Sign up https://patch-diff.githubusercontent.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%2Fengine
Reloadhttps://patch-diff.githubusercontent.com/secureCodeBox/engine/issues/89
Reloadhttps://patch-diff.githubusercontent.com/secureCodeBox/engine/issues/89
Reloadhttps://patch-diff.githubusercontent.com/secureCodeBox/engine/issues/89
secureCodeBox https://patch-diff.githubusercontent.com/secureCodeBox
enginehttps://patch-diff.githubusercontent.com/secureCodeBox/engine
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FsecureCodeBox%2Fengine
Fork 7 https://patch-diff.githubusercontent.com/login?return_to=%2FsecureCodeBox%2Fengine
Star 8 https://patch-diff.githubusercontent.com/login?return_to=%2FsecureCodeBox%2Fengine
Code https://patch-diff.githubusercontent.com/secureCodeBox/engine
Issues 10 https://patch-diff.githubusercontent.com/secureCodeBox/engine/issues
Pull requests 17 https://patch-diff.githubusercontent.com/secureCodeBox/engine/pulls
Actions https://patch-diff.githubusercontent.com/secureCodeBox/engine/actions
Projects 0 https://patch-diff.githubusercontent.com/secureCodeBox/engine/projects
Security 0 https://patch-diff.githubusercontent.com/secureCodeBox/engine/security
Insights https://patch-diff.githubusercontent.com/secureCodeBox/engine/pulse
Code https://patch-diff.githubusercontent.com/secureCodeBox/engine
Issues https://patch-diff.githubusercontent.com/secureCodeBox/engine/issues
Pull requests https://patch-diff.githubusercontent.com/secureCodeBox/engine/pulls
Actions https://patch-diff.githubusercontent.com/secureCodeBox/engine/actions
Projects https://patch-diff.githubusercontent.com/secureCodeBox/engine/projects
Security https://patch-diff.githubusercontent.com/secureCodeBox/engine/security
Insights https://patch-diff.githubusercontent.com/secureCodeBox/engine/pulse
RFC: Add Scanner Capability Flag to enhance Scanner Worker Selectionhttps://patch-diff.githubusercontent.com/secureCodeBox/engine/issues/89#top
https://patch-diff.githubusercontent.com/rfelber
https://patch-diff.githubusercontent.com/J12934
RFCFeatures suggestions which need more opinionshttps://github.com/secureCodeBox/engine/issues?q=state%3Aopen%20label%3A%22RFC%22
v1.1.0https://github.com/secureCodeBox/engine/milestone/2
https://github.com/J12934
https://github.com/J12934
J12934https://github.com/J12934
on Jul 3, 2019https://github.com/secureCodeBox/engine/issues/89#issue-463665210
#79https://github.com/secureCodeBox/engine/pull/79
Operating System scans need root rights scanner-infrastructure-nmap#2https://github.com/secureCodeBox/scanner-infrastructure-nmap/issues/2
https://user-images.githubusercontent.com/13718901/60582903-ff405f80-9d89-11e9-97b4-ba1fc35fa062.png
J12934https://patch-diff.githubusercontent.com/J12934
rfelberhttps://patch-diff.githubusercontent.com/rfelber
RFCFeatures suggestions which need more opinionshttps://github.com/secureCodeBox/engine/issues?q=state%3Aopen%20label%3A%22RFC%22
v1.1.0No due datehttps://github.com/secureCodeBox/engine/milestone/2
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.