security infrastructure adaptation