<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to create custom sensitive property in NiFi processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-sensitive-property-in-NiFi-processor/m-p/308330#M223524</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84058"&gt;@Nyk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You'll need to provide more context around your use case to get a good answer.&amp;nbsp; It is not clear what you are trying to accomplish here.&lt;BR /&gt;&lt;BR /&gt;- Are you trying to build your own custom NiFi processor where you want to define some configurable properties as type sensitive?&lt;BR /&gt;&lt;BR /&gt;- Are you trying to use the "+" icon to add a new dynamic property to an existing NiFi processor and hide/encrypt the value set in that property?&amp;nbsp; In this case, that is not possible since all dynamic properties are nonsensitive.&lt;BR /&gt;&lt;BR /&gt;The use of invokeScriptedProcessor you saw was a recommendation made to sue it rather than ExecuteScript processor.&amp;nbsp; That is because you can define properties via the invokeScriptedProcessor custom script you write additional processor properties to be used within that processor only as sensitive.&lt;BR /&gt;&lt;BR /&gt;But looks like there may be some issues around that ability outlined here:&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-7012" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-7012&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
    <pubDate>Wed, 23 Dec 2020 14:34:19 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2020-12-23T14:34:19Z</dc:date>
    <item>
      <title>How to create custom sensitive property in NiFi processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-sensitive-property-in-NiFi-processor/m-p/308327#M223522</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have sensitive parameter defined in process group's parameter context. The documentation says that this parameter can be assigned to a sensitive property only. So I want to know how to create custom sensitive property specific to my nifi processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did see few posts where they are asking to use InvokeScriptedProcessor, but I did not find any example. Any suggestions here would be of great help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 13:30:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-sensitive-property-in-NiFi-processor/m-p/308327#M223522</guid>
      <dc:creator>Nyk</dc:creator>
      <dc:date>2020-12-23T13:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom sensitive property in NiFi processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-sensitive-property-in-NiFi-processor/m-p/308330#M223524</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84058"&gt;@Nyk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You'll need to provide more context around your use case to get a good answer.&amp;nbsp; It is not clear what you are trying to accomplish here.&lt;BR /&gt;&lt;BR /&gt;- Are you trying to build your own custom NiFi processor where you want to define some configurable properties as type sensitive?&lt;BR /&gt;&lt;BR /&gt;- Are you trying to use the "+" icon to add a new dynamic property to an existing NiFi processor and hide/encrypt the value set in that property?&amp;nbsp; In this case, that is not possible since all dynamic properties are nonsensitive.&lt;BR /&gt;&lt;BR /&gt;The use of invokeScriptedProcessor you saw was a recommendation made to sue it rather than ExecuteScript processor.&amp;nbsp; That is because you can define properties via the invokeScriptedProcessor custom script you write additional processor properties to be used within that processor only as sensitive.&lt;BR /&gt;&lt;BR /&gt;But looks like there may be some issues around that ability outlined here:&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-7012" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-7012&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 14:34:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-sensitive-property-in-NiFi-processor/m-p/308330#M223524</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2020-12-23T14:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom sensitive property in NiFi processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-sensitive-property-in-NiFi-processor/m-p/308331#M223525</link>
      <description>&lt;P&gt;Thanks Matt for quick reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, I am trying to use the "+" icon to add a new dynamic property to an existing NiFi processor and hide/encrypt the value set in that property.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is no way that we can do this ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can I create a custom processor where I can&amp;nbsp;define some configurable properties as type sensitive and create NAR out of it ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 14:43:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-sensitive-property-in-NiFi-processor/m-p/308331#M223525</guid>
      <dc:creator>Nyk</dc:creator>
      <dc:date>2020-12-23T14:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom sensitive property in NiFi processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-sensitive-property-in-NiFi-processor/m-p/308348#M223527</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84058"&gt;@Nyk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is correct, dynamically added properties are all of type non-sensitive.&lt;BR /&gt;&lt;BR /&gt;You would need to build a custom processor with static configurable properties that have a&amp;nbsp;&lt;SPAN&gt;PropertyDescriptor&lt;/SPAN&gt; with ".&lt;SPAN&gt;sensitive(true)".&lt;BR /&gt;&lt;BR /&gt;I am not a developer myself, but you may find this resource&amp;nbsp;useful:&lt;BR /&gt;&lt;A href="https://itnext.io/deep-dive-into-a-custom-apache-nifi-processor-c2191e4f89a0" target="_blank"&gt;https://itnext.io/deep-dive-into-a-custom-apache-nifi-processor-c2191e4f89a0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you found my answer addresses your question, please click on "Accept as Solution" below the answer.&lt;BR /&gt;&lt;BR /&gt;Hope this helps you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 15:46:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-sensitive-property-in-NiFi-processor/m-p/308348#M223527</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2020-12-23T15:46:36Z</dc:date>
    </item>
  </channel>
</rss>

