SP.SiteHealth.SiteHealthSummary.passedCount property (sp.js)

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value =SP.SiteHealth.SiteHealthSummary.get_passedCount()