Add a new Leakage Sink

Leakage sinks are the places where personal data should not go in the plain text format. Privado currently supports log sinks. There may be a use case for adding support for file types, sockets, IO streams, caches, etc. You can review existing leakage sinks under rules/sinks/leakages

List of fields for defining a leakage:

High level key is sinks which is an array of leakages. Once the leakage object is defined, we can add it to the array of sinks.

For a new type of leakage, you can create a new file with the leakage name ( all small case, replace space with _ ) in directory rules/sinks/leakages and add the details to it.

Once the new leakage is added, Privado will detect and track data flows to this leakage sinks.

Last updated