QuestionQ55

DevSecOps Pipeline-Code Stage

Kenneth Danziger is a certified DevSecOps engineer who recently joined an IT company that develops software products for the healthcare industry. To identify security and compliance issues in source code and rapidly remediate them before they affect the source code, Kenneth wants to integrate the WhiteSource SCA tool with AWS.

Therefore, to integrate the WhiteSource SCA Tool with AWS CodeBuild to initiate scanning in the code repository, he created a buildspec.yml file in the source-code root directory and added the following command to the pre-build phase:

curl -LJO https://github.com/whitesource/unified-agent-distribution/raw/master/standAlone/wss_agent.sh

Which of the following script files will this step download to Kenneth organization’s CodeBuild server?

  • A wss.agent.sh
  • B ssw_agent.sh
  • C cbs_agent.sh
  • D aws_agent.sh
Explanation

The WhiteSource Unified Agent launcher is named wss_agent.sh. With curl -LJO, redirects are followed and the response filename is used when saving the file; thus the command downloads that agent script. Choice A is the intended corresponding option.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!