You should be able buy a rebuild kit for about £15 from Ducati, you can for the brake master and its exactly the same ... its a Brembo master so well worth rebuilding ... takes about 20 minutes tops, not hard. Just pop out the old piston, clean up the mess, lube the new one with a bit of fluid, tap in the retainer and the boot, job done. Harry at Ducati Galsgow is yer man.
The reason it has failed, which you will see when you open it up, is that the fluid is full of what is know to hyraulic engineers as "shite" ... it gets in through the oddly designed slave cylinder. You really want to take the slave off and clean out all the "shite" in there too, there was a big solid cladge of it in the back of mine.