Whitelist for local variables

Hello,

Quick question: the documentation mentions being able to blacklist specific local variable values from being stored, is there a whitelist mechanism available as well (block all except local variable of specific names or values)?

Many thanks,
Michaël