There are multiple definitions - click on the translation that matches your context.

inmunidad

full

immunity

noun

Definitions of immunity

English

when you are immune (=when you are not able to be punished or damaged by something)

As a diplomat, she can claim immunity from prosecution.