Question: is we got proper grammar?
Answer: Yes, it's more common in British English but even in American English it's correct. If you said "Well what have we got here?" it might not sound weird. And that is the same grammar tense just made into a question. Americans tend to say "I got" instead of "I've got" it's why it sounds odd.