I'm looking to add an outdoor outlet to the back of my house. There's an existing UF cable line that runs from the exterior basement wall to the exterior first floor wall, entering directly behind a large switch panel that controls the first floor lights. I assume this is an unswitched line carrying power to that panel.
Can I add an outlet to this line? Is it safe/can it be waterproofed to cut the line, then connect the two ends inside a junction box?
Obviously, I'm tempted to add an outlet directly to the line (that is, have an outlet sitting in the junction box where I splice). I've read this is against code, and I'll need to run more cable to a separate outlet. Is this correct?