Is this getting all the ports and then filtering by security profile id? Or, is it all a single query with the filter in place?