You'll find no shortage of advice telling aspiring cybersecurity professionals to learn how to program—usually in Python. I humbly submit another language may serve you even better:
SQL.
Learning how relational data is queried, aggregated, and presented will translate to any number of processes.