Create Custom Whitelist for User, Group and Tenant IDs in a Spring Boot Starter App

How do I configure ‘generalResourceWhitelistPattern’ in my Spring Boot App.

There is nothing listed here: Process Engine Configuration | docs.camunda.org

I also tried to add it to META-INF/processes.xml like:

<process-engine name="default">
    <properties>
        <property name="generalResourceWhitelistPattern">.+</property>
    </properties>
</process-engine>

How can this be set?

Sometimes is good to have professional support;). Here is the answer from Garima Yadav of the Camunda Support:

You can add generalResourceWhitelistPattern property in application.yaml using following way:

camunda.bpm:
  generic-properties:
      properties:
        generalResourceWhitelistPattern: "[a-zA-Z0-9]+|camunda-admin"

The method of configuration described in Process Engine Configuration | docs.camunda.org does not cover all process engine properties available. To override any process engine configuration property that is not exposed (i.e. listed in the link) you can use generic-properties.

Here is the link for more details: Process Engine Configuration | docs.camunda.org

2 Likes

Thanks for posting the solution!