In cyber security, scripting refers to the practice of writing short, executable programs (scripts) using a scripting language to automate repetitive tasks, parse data, and scale security operations without needing manual, step-by-step human intervention.