The content of this folder helps to easily deploy Serverless-Goat-Java to AWS SAR.
README.md: This fileMakefile: A Makefile containing the necessary commands to deploy Serverless-Goat-Java to SAR (uses a vulnerable setup by default!)secure.yaml: A template that creates the necessary S3 Bucket and Policy required by SAR. This template is properly secured against the confused deputy attack described here.vulnerable.yaml: A template version that is vulnerable to the depicted confused deputy attack. (This is the default template used for deploying Serverlerless-Goat-Java to SAR.)
Care: By default, a vulnerable template configuration will be used for the deployment!
- Enter the directory that contains this file
- Invoke
make create-bucketto create a bucket with for all necessary artifacts. Configure sam as required. Beware that this bucket will be vulnerable advulnerable.yaml, as described above, will be used by default. - Invoke
make deployto deploy the app to the Serverless Application Repository - Copy the ARN of your newly created SAR app and replace
<APP-ARNin theMakefilewith it. - Invoke
make publishto make the newly created SAR app publicly accessible by everyone.
Note: All make commands can be executed with an AWS profile for authentication. E.g., make deploy PROFILE=testing