Added security on hr_activity and yaml tests