come to attention

come to attention

to assume a formal military posture, standing very straight. Almost immediately, the soldiers came to attention.
See also: attention, come

come to someone's attention

 and come to someone's notice
to be told to, revealed to, or discovered by someone. It has come to my attention that you are not following the rules. Your comments have just come to my notice.
See also: attention, come