Custom Data Classifiers does not appear in the Portal under PII Audit
search cancel

Custom Data Classifiers does not appear in the Portal under PII Audit

book

Article ID: 137050

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

The Classifier pack is imported in the Portal, under Configuration, Classifiers.
There are no errors to import the file.
However, the classifier pack is not available under PII Audit - PII Data Scan Set-up.

Environment

Test Data Manager 
TDM 

Cause

1. The JSON payload was not valid.
2. The compressed file was not a directory.

Resolution

1. If the JSON payload is not valid, we will have an error in the log files similar to below:
     ...
     [ERROR] [https-jsse-nio-8443-exec-6] --- [U:Administrator][M:POST][P:/api/ca/v1/profiler/classifiers] c.c.t.p.s.ClassifierService: seedlistIntegrityPrecheck: ex: 
    com.fasterxml.jackson.core.JsonParseException: Unexpected character ...
     ...

There are some JSON validators online available that can be used to validate the file payload.
Make sure the payload is valid.

2. The JSON file needs to be inside a directory and the directory needs to be compressed.
     If compressing the JSON file directly no error messages will be displayed when importing the classifier pack, however the pack will not be available under PII Audit.

1. Create a new folder.
2. Place the JSON file inside the new folder.



3. Compress the folder.

4. Use the compressed folder, from step 3, and import it to the Portal

After the file is imported we will see the message as below:

 

5. After the Portal is restarted we will be able to see the new Classifier under PII Audit