Add license to scan.py file

Commit 0469f1ec added scan.py file without including the license.
Fix it.

Signed-off-by: Aline Manera <alinefm@br.ibm.com>