Add mapping and audit rules to security