Java driven code for compliancy reporting