Building Visualization Table

Getting the pass/fail percentage in the result can be achieved with a scripted field. I outlined a similar solution in this thread, you'd simply use a different field and match for the value (pass instead of SUCCESS).

Once you have that value mapping, you can create a table vis using the average of that field.

Filtering that list by domains that have one or more pass values is the hardest part, and I can't think of a way to do that. This means the end result may have domains with a 0% result. You can limit the number by controlling the size of the terms aggregation on the domain value though, so you don't see a giant list of all the domains.