DataGrip: how to connect to Oracle as SYSDBA
Coming back here two years later, it seems to be not possible anymore to change the advanced properties in the connection settings. Instead you have to supply sys as sysdba as username. (This might seem obvious but took me a while to find this out)