node-red-contrib-presidio
v0.0.3
Published
Node-RED node for Microsoft Presidio Analysis and Anonymization
Downloads
1
Maintainers
Readme
node-red-contrib-presidio :package:
This is a subflow for interacting with the Microsoft Presidio Analyzer and Anonymizer services.
Install :zap:
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-contrib-presidio
Presidio Setup :gear:
The subflow requires Microsoft Presidio services to be running on the host or a remote server that is reachable by Node-RED. The documentation to install Presidio can be found here, we recommend using the Docker approach as follows:
docker run -d -p 5001:3000 mcr.microsoft.com/presidio-analyzer:latest
docker run -d -p 5002:3000 mcr.microsoft.com/presidio-anonymizer:latest
Once the containers are deployed, use the health check to see that the Presidio services are reachable
- :information_source: POST localhost:1880/HealthCheck
- Health Check response payload:
Analyzer API :toolbox:
- :information_source: POST localhost:1880/Presidio
The data payload parameter must be a string and you must define the function to analyze
.
Analyzing PIIs :adult: :arrow_right:
- Setting the payload of the Presidio Analysis injector:
Analysis Result :receipt: :back:
- Analysis response payload:
Anonymizer API :toolbox:
:warning: Refer to Presidio API documents HERE
- :information_source: POST localhost:1880/Presidio
The data payload parameter must be a string, you must also define the function to anonymize
and which action to use for the PIIs (redact
,replace
,mask
,hash
,encrypt
).
Hashing PIIs :adult: :receipt: :arrow_right:
- Setting the payload of the Presidio Anonymization injector:
Hashing Response :receipt: :back:
- Hashing response payload:
Encrypting PIIs :adult: :receipt: :arrow_right:
- Setting the payload of the Presidio Anonymization injector:
Encryption Response :receipt: :back:
- Encryption response payload:
Decrypting PIIs :receipt: :arrow_right:
- Setting the payload of the Presidio Anonymization injector:
Decryption Response :adult: :back:
- Decryption response payload: