NIFI-13339 Set sensitive as true in USM Users JSON content on ListenTrapSNMP

This closes #8908

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
andrealves23 2024-05-29 09:51:02 +01:00 committed by exceptionfactory
parent 85cf0e995e
commit 7a85da9fee
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ public class ListenTrapSNMP extends AbstractSessionFactoryProcessor implements V
.displayName("USM Users JSON content")
.description("The JSON containing the user credentials for SNMPv3. Check Usage for more details.")
.required(false)
.sensitive(true)
.dependsOn(BasicProperties.SNMP_VERSION, BasicProperties.SNMP_V3)
.dependsOn(SNMP_USM_USER_SOURCE, USM_JSON_CONTENT)
.addValidator(JsonValidator.INSTANCE)