Dynamic Code Analysis Lab issue

not able to complete lab Dynamic Code Analysis. part of sec engineering path. on step 6 of part 3, the build keeps failing. i ran through the lab twice and triple checked everything. i get build failed - code 2 on the DAST zap_scan part.

also, the steps are misleading on part 3 step 6: it says in the code “zapproxy:bare” and in another part "zapproxy:stable:

again. Error: job failed exit code 2

Hey @JuanEdRomGlobal

Thanks for identifying that bare/stable inconsistency – fixed!

As for the job failure, this is a bit of a red herring. It likely “failed” due to a warning regarding a deprecated option in our automation plan. However, the ZAP scan will still have run successfully and produced the report artifact required to complete the lab. Of course, that’s not great, since we don’t disclaim that, and our screenshot shows all jobs as green (unequivocal success). I’ve fixed this error by specifying the exact ZAP docker image we want to use, instead of letting Docker just pull the latest.

Anywho, I’ve published these changes so you should be all set now :slight_smile:

Happy hacking!

1 Like