Your understanding is correct.
The US taxes residents on Australian source income and provides a credit for Australian income tax paid on those earnings.
A resident may be an individual who is a resident as a question of fact, possesses a right to permanent entry (green card) or else...