Automated defense mechanism
An automated defense mechanism or automated defenses were any programmable automaton designed for defensive purposes. 

MACO F. Hawkins was killed by an automated defense mechanism used aboard the Xindi weapon. ()

 Kerner Hauze had several different types of automated defenses designed to protect his menagerie of collectibles. ()

Types 
 Automatic bridge defense system
 Counter-insurgency program
 Echo Papa 607
Security technology