templates/4-Action-Audit.json

{
    "effect": "auditIfNotExists",
    "details": {
        "type": "Microsoft.GuestConfiguration/guestConfigurationAssignments",
        "name": "<REPLACE>",
        "existenceCondition": {
            "field": "Microsoft.GuestConfiguration/guestConfigurationAssignments/complianceStatus",
            "equals": "Compliant"
        }
    }
}