Indonesia is basking in the glory of being raised to investment grade, a likely enticement to investors, yet the country still struggles with corruption issues, both perceived and real.

Indeed, in its ratings note announcing the upgrade, Moody's Investors Service said "relatively weak governance" is among the topline challenges the country faces. The Moody's rating moved Indonesia to investment grade for the first time since 1997.

On...