add secure_log attribute to metadata