Cal. Mil. & Vet. Code § 393
(a) In an action or proceeding of any nature commenced in any court against an active member of the militia or a member of the militia in active service in pursuance of an order of the President of the United States as a result of a state emergency for an act done by such member in an official capacity in the discharge of duty, or an alleged omission to do an act which it was the member’s duty to perform, or against any person acting under the authority or order of an officer or by virtue of a warrant issued by an officer pursuant to law: