exceptionfactory commented on code in PR #10777:
URL: https://github.com/apache/nifi/pull/10777#discussion_r2698791893
##########
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:
Yes, same comment for both Processors.
--
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]