cloudconformity / auto-remediate Goto Github PK
View Code? Open in Web Editor NEWCloud Conformity Auto Remediate
Home Page: https://www.cloudconformity.com/conformity-rules/
License: MIT License
Cloud Conformity Auto Remediate
Home Page: https://www.cloudconformity.com/conformity-rules/
License: MIT License
Hello,
We are facing issue while doing the deployment of the auto-remediation server less application with the following error.
[root@ip-172-16-1-146 auto-remediate]# serverless deploy --region ap-south-1
Serverless: Deprecation warning: Starting with next major version, default value of provider.lambdaHashingVersion will be equal to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: [serverless-plugin-split-stacks]: Summary: 49 resources migrated in to 3 nested stacks
Serverless: [serverless-plugin-split-stacks]: Resources per stack:
Serverless: [serverless-plugin-split-stacks]: - (root): 154
Serverless: [serverless-plugin-split-stacks]: - PoliciesNestedStack: 1
Serverless: [serverless-plugin-split-stacks]: - SubscriptionsNestedStack: 1
Serverless: [serverless-plugin-split-stacks]: - VersionsNestedStack: 47
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service auto-remediate.zip file to S3 (589.11 KB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
................................................................................................................................................................................................................................................................................................................
Serverless: Operation failed!
Serverless: View the full error output: https://ap-south-1.console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stack/detail?stackId=arn%3Aaws%3Acloudformation%3Aap-south-1%3A204563052588%3Astack%2Fauto-remediate-v1%2F01f571b0-6215-11eb-a609-0aa75203767c
Serverless Error ---------------------------------------
An error occurred: AutoRemediateS3Dash009LambdaFunction - Uploaded file must be a non-empty zip (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: a7fa64b1-457a-4930-af06-a41c06cae393; Proxy: null).
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: linux
Node Version: 15.7.0
Framework Version: 2.21.1
Plugin Version: 4.4.2
SDK Version: 2.3.2
Components Version: 3.6.0
Hello,
Getting the following issue:
% serverless deploy --region us-west-2
Serverless: Running "serverless" installed locally (in service node_modules)
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: [serverless-plugin-split-stacks]: Summary: 51 resources migrated in to 3 nested stacks
Serverless: [serverless-plugin-split-stacks]: Resources per stack:
Serverless: [serverless-plugin-split-stacks]: - (root): 155
Serverless: [serverless-plugin-split-stacks]: - PoliciesNestedStack: 2
Serverless: [serverless-plugin-split-stacks]: - SubscriptionsNestedStack: 1
Serverless: [serverless-plugin-split-stacks]: - VersionsNestedStack: 48
Serverless: Creating Stack...
Serverless: Checking Stack create progress...
........
Serverless: Stack create finished...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service auto-remediate.zip file to S3 (64.85 MB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
...........................................................................................................................................................................................................................
Serverless: Operation failed!
Serverless: View the full error output: h
Serverless Error ---------------------------------------
An error occurred: AutoRemediateConfigDash001LambdaFunction - Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: ---, Extended Request ID: null)" (RequestToken: ---, HandlerErrorCode: InvalidRequest).
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: darwin
Node Version: 16.2.0
Framework Version: 1.83.3 (local)
Plugin Version: 3.8.4
SDK Version: 2.3.2
Components Version: 2.34.9
Further to this, this is the error found in the CloudFormation console:
AutoRemediateConfigDash001LambdaFunction: Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: ---, Extended Request ID: null)" (RequestToken: --, HandlerErrorCode: InvalidRequest)
AutoRemediateS3Dash009LambdaFunction: Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: ---, Extended Request ID: null)" (RequestToken: ---, HandlerErrorCode: InvalidRequest)
Can we support jsnon-asff as the input format? This way the framework could be integrated to AWS security hub and can be used for both auto and manual remediation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.