2006 Subaru Outback - Rattle

While running and idling engine makes a consistent rattling/knocking sound that doesn’t change with acceleration. What could it possibly be?

My guess is the heat shield.