Cloud Application Security

During functional test runs in a staging environment, a team wants security findings that point to the exact vulnerable line of code. The tool must work from an agent inside the running application. Which approach should it use?

Show the answer

Correct answerA. Interactive Application Security Testing (IAST)

AWhy this is right: An in-app agent watches code execute during tests and reports the vulnerable line, combining runtime and code visibility.

BWhy not this: Finds code-level flaws, but analyzes source without running the application and uses no in-app agent.

CWhy not this: Checks third-party components against known vulnerabilities; it does not observe the app's own code running.

DWhy not this: Tests the running application from outside, so it sees symptoms but cannot locate the vulnerable line of code.

IAST places an agent or sensor inside the running application and observes code execution during testing, so it reports flaws with code-level location. DAST also tests a running application, but it works from outside and cannot identify the vulnerable line of code.