Security testing is a broad term that covers a wide range of activities, including security scanning. Security scanning is a type of security testing that employs automated tools to discover security flaws in software.