To get an example query for a recommendation, open the recommendation in Defender for Cloud, select Open query.