implements #6788 puppet scanner filter support

implements #6788 puppet scanner filter support

fixed typo in comment