312-97 practice question 30 of 35

(Teresa Wheeler is a DevSecOps engineer at Altschutz Solution Pvt. Ltd. She would like to test the web applications and API’s from outside without…

Full set: 100 questions
(Teresa Wheeler is a DevSecOps engineer at Altschutz Solution Pvt. Ltd. She would like to test the web applications and API’s from outside without accessing the source code using BDD security framework. The framework is a collection of Cucumber-JVM features that are pre-configured with OWASP ZAP, Nessus scanner, SSLyze, and Selenium. Hence, she downloaded and ran the jar application, and then cloned the BDD security framework. Next, she utilized a command for executing the authentication feature. Which of the following commands allows Teresa to execute all the features of BDD security framework, including the OWASP ZAP?.)
Answer options
A: ./gardlew. Correct answer
B: /gardlev.
C: /gardlew.
D: ./gardlev.
Correct Answer:
A. ./gardlew.
Explanation

BDD-Security is built and executed with the Gradle wrapper script found in the project root. Invoking the wrapper from the current directory – “./gradlew” – triggers the default task, running every Cucumber feature together with OWASP ZAP and the other integrated scanners.

Why Incorrect

B. Lacks the leading “./”; shell will look in $PATH and still uses the misspelt “gardlew”.
C. Missing dot and still misspelt; command not found.
D. Misspells the file name (“gardlev”) and includes a trailing dot; invalid.

References

1. Continuum Security, “BDD-Security README”, GitHub, section “Running the tests”, lines 50-55, commit 4be33a9 (2023).

2. Owasp, “BDD-Security: behaviour-driven security tests”, AppSecEU 2018 proceedings, slide 26.

Scroll to Top