TL;DR: How should I go about describing a job experience in my CV, which takes half of my overall working experience, but was not focused on the job I'd like to apply for?
My first job was as a software developer, after 6 months of work I was offered a job in a Bank as a software developer for the IT Auditing department, the job title was IT Auditing analyst junior. In this position I did my share of web development, but I had to help a lot in auditing tasks, until I was offered a promotion to be an IT Auditor (1 year and 8 months had passed) and I took it.
In this new position, I was taken from software development and fully put into Auditing tasks which required very little programing, things were going well, I was even chosen to travel abroad to conduct IT Audits on a subsidiary bank and trips around the country for similar tasks. This went on until I realized IT Auditing was not my thing (1 year and 9 months since I was promoted) and I couldn't afford investing more time into it, when I wanted to go back into Software Dev.
With a lot of effort I managed to change my career focus and currently have a stable Job in the field I like the most in Web Development, but now I'd like a new challenge, however I'm finding it really hard to describe those 3 years and 5 months that I was not really focused on development, I feel like I can't describe well what I did In the bank in a way that is meaningful to the position I'm applying for.
I can't just discard this job exp from my CV since it's the longest I've ever been in a job with the same company and it takes up about half of my overall working experience, also I want to make it clear for recruiters that those years were not focused on Development, and stop people from assuming that I have 7 years of software dev. experience when only half of it has been actual coding.