The private equity firm will buy Checkmarx from Insight Partners, which will continue to own a minority interest.