Some Vedic/Hindu deities are recognized as being part of Buddhist cosmology. For example, Indra, who is the chief god of the Vedic pantheon, is syncretized into Buddhism as Śakra, which is another epithet of his.
In Hinduism, the exploits of Indra are described in doctrinal texts like the Vedas and the Puranas, as well as in literary texts like the Mahabharata. But Buddhists (of any school) don't accept these texts as part of their canon, right? So, my question: in what Buddhist (canonical) texts would the doings of syncretized Hindu deities like Indra/Śakra be described?