nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "karthik kadajji (Jira)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-7037) Split off username and password fields for GetMongo processor
Date Wed, 22 Apr 2020 14:01:00 GMT

    [ https://issues.apache.org/jira/browse/NIFI-7037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089701#comment-17089701
] 

karthik kadajji commented on NIFI-7037:
---------------------------------------

Hi Guys ,
My approach to this looks like this :

1) split the URI to take only the host and port 

2) Have a different property such as username and password.

3) Have them incorporated in the connection string to mongodb. 

 

I have attached the screenshot of the UI. Please let me know your suggestion, if this is the
right way?

!image-2020-04-22-15-57-18-862.png!

 

 

!image-2020-04-22-15-59-07-596.png!

 

> Split off username and password fields for GetMongo processor
> -------------------------------------------------------------
>
>                 Key: NIFI-7037
>                 URL: https://issues.apache.org/jira/browse/NIFI-7037
>             Project: Apache NiFi
>          Issue Type: Improvement
>    Affects Versions: 1.10.0
>            Reporter: Patrick Carlson
>            Assignee: karthik kadajji
>            Priority: Minor
>         Attachments: image-2020-04-22-15-57-18-862.png, image-2020-04-22-15-59-07-596.png
>
>
> Since the [GetMongo|https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-mongodb-nar/1.5.0/org.apache.nifi.processors.mongodb.GetMongo/]
processor {{Mongo URI}} field is not sensitive, it can only reference a non-sensitive parameter
but it still just shows the password in plaintext in the UI.  The GetMongo processor should
be refactored to have a specific property for the password and it should be marked as sensitive
so that it can leverage sensitive parameters.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message