Iteration of security groups quark agent code

RM9115