X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fotf.git;a=blobdiff_plain;f=otf-camunda%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2FsecurityFilterRules.json;fp=otf-camunda%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2FsecurityFilterRules.json;h=ef7694c364cf6909d6f0ff3f6ee7dc981368b365;hp=0000000000000000000000000000000000000000;hb=14f6f95c84a4a1fa8774190db4a03fd0214ec55f;hpb=f49bd1efeaaddd4891c1f329b18d8cfb28b3e75b diff --git a/otf-camunda/src/main/resources/META-INF/securityFilterRules.json b/otf-camunda/src/main/resources/META-INF/securityFilterRules.json new file mode 100644 index 0000000..ef7694c --- /dev/null +++ b/otf-camunda/src/main/resources/META-INF/securityFilterRules.json @@ -0,0 +1,52 @@ +{ + "pathFilter": { + "deniedPaths": [ + { + "path": "/camunda/api/engine/.*", + "methods": "*" + }, + { + "path": "/camunda/api/cockpit/.*", + "methods": "*" + }, + { + "path": "/camunda/app/tasklist/{engine}/.*", + "methods": "*" + }, + { + "path": "/camunda/app/cockpit/{engine}/.*", + "methods": "*" + } + ], + "allowedPaths": [ + { + "path": "/camunda/api/engine/engine/", + "methods": "GET" + }, + { + "path": "/camunda/api/{app:cockpit}/plugin/{engine}/static/.*", + "methods": "GET" + }, + { + "path": "/camunda/api/{app:cockpit}/plugin/{plugin}/{engine}/.*", + "methods": "*", + "authorizer": "org.camunda.bpm.webapp.impl.security.filter.EngineRequestAuthorizer" + }, + { + "path": "/camunda/api/engine/engine/{engine}/.*", + "methods": "*", + "authorizer": "org.camunda.bpm.webapp.impl.security.filter.EngineRequestAuthorizer" + }, + { + "path": "/camunda/app/{app:cockpit}/{engine}/.*", + "methods": "*", + "authorizer": "org.camunda.bpm.webapp.impl.security.filter.ApplicationRequestAuthorizer" + }, + { + "path": "/camunda/app/{app:tasklist}/{engine}/.*", + "methods": "*", + "authorizer": "org.camunda.bpm.webapp.impl.security.filter.ApplicationRequestAuthorizer" + } + ] + } +}