Her only crime was being white?
Her entire presence in that building was a crime as the Capitol was not open to the public at that time. I'm also pretty sure damaging property is a crime.
During her military career she actually held an armed position to keep areas secure from intruders, so she was more than aware that the officer instructing her to get down/get back (while pointing his weapon) wasn't just a random request, it was an order. An order she chose to ignore while attempting to breach a barricaded area. Also a crime.
So yeah, her being white was the issue.