Yes, you can plug it straight in - no instrument input should be damaged by the output from an active bass, though you may have to take care to avoid clipping.
Can you plug a bass into a computer?
The easiest way to connect your electric guitar or bass to your computer is to use one of the small guitar audio interfaces on the market. Just connect the cable from your instrument to the interface and you're ready to rock. ... You plug the guitar into the device and then connect it to the computer USB port.