{
    "properties": {
        "displayName": "Audit Linux VMs that do not have the specified applications installed",
        "mode": "all",
        "description": "This policy audits Linux virtual machines that do not have the specified applications installed. This policy should only be used along with its corresponding deploy policy in an initiative/policy set. For more information on guest configuration policies, please visit https://aka.ms/gcpol",
        "metadata": {
            "category": "Guest Configuration"
        },
        "policyRule": {
            "if": {
                "allOf": [
                    {
                        "field": "type",
                        "equals": "Microsoft.GuestConfiguration/guestConfigurationAssignments"
                    },
                    {
                        "field": "name",
                        "equals": "installed_application_linux"
                    },
                    {
                        "field": "Microsoft.GuestConfiguration/guestConfigurationAssignments/complianceStatus",
                        "notEquals": "Compliant"
                    }
                ]
            },
            "then": {
                "effect": "audit"
            }
        }
    }
}