A “legendary source” is a permanent, spell, or card in any zone with the supertype “legendary.” For example, The Peregrine Dynamo’s ability can target a cycling ability you’ve activated if the discarded card is a legendary card.