Both. They are not in competition with each other.SAST is used for analyzing your written code for practices and patterns that are risky or vulnerable.DAST is used @ runtime for analyzing the app for vulnerabilities as shown in other ways on the runtime memory stack…