Giter VIP home page Giter VIP logo

aws-samples / aws-serverless-security-workshop Goto Github PK

View Code? Open in Web Editor NEW
520.0 30.0 185.0 39.48 MB

In this workshop, you will learn techniques to secure a serverless application built with AWS Lambda, Amazon API Gateway and RDS Aurora. We will cover AWS services and features you can leverage to improve the security of a serverless applications in 5 domains: identity & access management, code, data, infrastructure, logging & monitoring.

License: Other

JavaScript 85.14% Shell 14.86%

aws-serverless-security-workshop's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-serverless-security-workshop's Issues

Change in JDK build # in EXPORT

The current export under "Downloading the latest Java jdk" reads:

export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.42.amzn1.x86_64/jre

... however this causes the error "We cannot execute /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.42.amzn1.x86_64/jre/bin/java". The exports needs to be updated to:

export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-0.43.amzn1.x86_64/jre

CloudFormation deployment fails (eu-west-1)

The CloudFormation deployment fails with "instances cannot be added to Aurora Serverless clusters".
As diving a bit deeper in to the issue the db.t2.small is not available in eu-west-1. Also the deployment tries to create serverless cluster which doesn't accept instances to be added.

db.t2.small -> db.t3.small

engine: aurora -> engine: aurora-mysql

Wrong Postman step on module 1E

On module 1E, Step 2, it says:
"In the Edit Folder window that pops up, go to Authorization tab, and change the Auth Type to OAuth 2.0, then click Get New Access Token"

You should not click "Get New Access Token" until step 3 is completed, otherwise you will be making an empty request that will fail.
https://github.com/aws-samples/aws-serverless-security-workshop/tree/master/docs/01-add-authentication#module-1e-use-the-admin-client-to-register-new-partner-companies

Update Dependency Check Tool

Under "Dependency vulnerability with OWASP Dependency Check" --> "Downloading the tool", update bullet #2 so the wget command reads:

wget -O dependency-check-5.1.0-release.zip http://dl.bintray.com/jeremy-long/owasp/dependency-check-5.1.0-release.zip

The existing version errors out with - "[ERROR] The download was interrupted; unable to complete the update".

withRouter no longer in react-router-dom

Compiling of website code for Wild Ryde failed when I went through the project due to the use of the withRouter method, which is no longer in the react-router-dom library.

Improvement on cloudformation deployment command

On Module-0F, step 2.
Should add an instruction to add InitResourceStack bash variable so that users do not need to replace deployment command from InitResourceStack=Secure-Serverless to InitResourceStack=mod-xxxx.

eg. InitResourceStack=$InitResourceStack

Require ImageId for Cloud9 env creation in CloudFormation

From December 04, 2023, you will be required to include the imageId parameter for the CreateEnvironmentEC2 action. This change will be reflected across all direct methods of communicating with the API, such as AWS SDK, AWS CLI and AWS CloudFormation.

Unable to create the CloudFormation stack without this new parameter.

AWS Resources will be deprecated on Cloud9

On the "Module-0E: Run your serverless application locally with SAM Local", we are making reference to using AWS Resources, which is disabled by default since Cloud9 uses AWS Toolkit since 2020.

Page: https://github.com/aws-samples/aws-serverless-security-workshop/tree/master/docs/00-initial-setup

"For Lambda functions, the AWS Resources window will soon be replaced by the AWS Toolkit for Cloud9. Try it now by chooshing Preferences > AWS Settings > AWS Toolkit" Reference to Toolkit: https://docs.aws.amazon.com/cloud9/latest/user-guide/toolkit-welcome.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.