CS man arrested for attacking apartment security guard