[Mend] Use SCA With AWS Codebuild
Before Use You Need To Know
-
Your API Key From Mend Dashboard
-
Your Project Name
-
Your Agent URL
How To Use
Step 1 : Edit buildspec.yml
Add These To Your buildspec.yml
#### Part Of pre_build ####
pre_build :
commands:
- command 1
- command 2
- curl -LJO https://<mend_script_donwload_url>
#### Part Of post_build ####
post_build:
commands:
- command 1
- bash <mend_script>.sh -apiKey $ws_api_key -project gw-demo-codebuild -d <lib_path> -wss.url https://<agent_url>
Looks Like This Screen
Step 2 Go To AWS Codebuild Dashboard Add ENV Value