-
Notifications
You must be signed in to change notification settings - Fork 7
Multi tenancy support for the secureCodeBox API #79
Conversation
This allows Camunda to perform the action behind the controller as the user and enforce and limit the action based on the users permissions
…sions Due to the enforcement of Camunda permissions the process definition is now mandatory for a user to successfully submit a job result. The other two were added as a precaution. Note: This is a potential **breaking change** for users not using the `scanner` group provided by default for their scanner user permissions. The permissions of the default `scanner` group will get updated by default, all others will have to manually expand their scanner groups to match these permissions.
|
Due to the enforcement of Camunda permissions the Note: This is a potential breaking change for users not using the |
|
Was able to solve "the tenant workers are getting non tenant specific work" by expanding out lock job controller. Workers with a tenant will only work on jobs belonging to their tenant while jobs without a tenant will only get handled by workers without a tenant. So no |
This Pull Requests add Multi Tenancy support to the API of the secureCodeBox.
This allows Users to restrict access to ability to see and work on securityTests. This enables Users to scan services located in isolated networks, by restricting the access to Scans to the technical users of the scanner services inside these networks. By restricting the access to the securityTest to the isolated worker it is ensured that no other worker outside this network can "steal" this job.
The easiest way to configure multi tenancy is to create multiple camunda tenants and assign the technical users of the works to the corresponding tenant. To control to which tenant a securityTest should belong you can set the
tenantattribute on the securityTest model, when starting a process. Note: You need to be a member of the tenant to start a process as part of the tenant. When the tenant attribute is set to null or is not set at all the process will be started without a tenant.Open Todos: