Skip to content

Appliscale/Cloud-Security-Audit-Serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud-Security-Audit-Serverless

Cloud Security Audit

https://github.com/Appliscale/cloud-security-audit

Installing Serverless

https://serverless.com/framework/docs/providers/aws/guide/installation/

Deployment

sls deploy --aws-profile <PROFILE>

After deployment is needed to increase lambda timeout - 6 second isn't sufficient, but about 1 minute will be. Also lambda must have access to some services - EC2, ELB, S3, IAM and KMS. Its role should have policies such as: AmazonEC2ReadOnlyAccess, AmazonS3ReadOnlyAccess, AWSKeyManagementServicePowerUser. These policies allows to read and list information about above services. Instead of using --aws-profile flag, you can follow this tutorial https://serverless.com/framework/docs/providers/aws/guide/credentials/.

You can also use earlier prepared lambda cloud-security-audit-serverless-dev-cloud-security-audit.

Running

sls invoke -f cloud-security-audit --aws-profile <PROFILE>

Output will be available in CloudWatch/Logs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published