I think you folks (as usual) aren't really understanding what's going on.
The attack, as far as I understand, wasn't unconstitutional or against the US law, but that doesn't matter. Just as it doesn't matter that other stuff (e.g. imprisoning and deporting people for their political opinions) is clearly against the constitution.
The rule of law is in the shitter, there's a coup going on in your country, the laws mean nothing.
Ocasio-Cortez is simply banking on the fact that dragging the US in the Israel-Iran war is extremely unpopular in congress and with the public. I think she's wrong and the congress is not about to betray Trump, maybe after a serious escalation but not now.