If the majority of a unit's models are wholly within a mist-wreathed swamp, the unit counts as being in hard cover.
Source: Warhammer Armies Project
If the majority of a unit's models are wholly within a mist-wreathed swamp, the unit counts as being in hard cover.