In reply to mark k..

It's the jetpack_get_available_modules filter.

That filter, along with similar filters, is detailed in depth by one of Jetpack's developers at https://jeremy.hu/customize-the-list-of-modules-available-in-jetpack/