exceptionfactory commented on code in PR #10777:
URL: https://github.com/apache/nifi/pull/10777#discussion_r2696259735


##########
nifi-extension-bundles/nifi-jolt-bundle/nifi-jolt-processors/src/main/java/org/apache/nifi/processors/jolt/JoltTransformJSON.java:
##########
@@ -58,6 +61,13 @@
 @Tags({"json", "jolt", "transform", "chainr", "shift", "default", "remove", 
"cardinality", "sort"})
 @InputRequirement(InputRequirement.Requirement.INPUT_REQUIRED)
 @WritesAttribute(attribute = "mime.type", description = "Always set to 
application/json")
+@Restricted(
+        restrictions = {
+                @Restriction(
+                        requiredPermission = RequiredPermission.EXECUTE_CODE,
+                        explanation = "Provides operator the ability to 
execute arbitrary code assuming all permissions that NiFi has.")

Review Comment:
   ```suggestion
                           explanation = "Enables configuration of custom code 
for Jolt Transforms")
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to