[{"data":1,"prerenderedAt":73},["ShallowReactive",2],{"pattern-inspector-lambda":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":31,"level":32,"meta":33,"patternArch":34,"resources":60,"s3URL":6,"services":6,"stem":68,"testing":69,"videoId":6,"__hash__":72},"patterns\u002Fpatterns\u002Finspector-lambda.json","Process Amazon Inspector Findings",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmaya-flores.json",{"text":13},[14],"\u003Ccode>cdk deploy\u003C\u002Fcode>","Process Amazon Inspector findings and initial scan results via AWS Lambda and send them to S3 for storage or analysis.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Finspector-lambda","serverless-patterns\u002Finspector-lambda","inspector-lambda","app.py",{"headline":25,"text":26},"How it works",[27,28,29,30],"This sample project demonstrates how to use an AWS Lambda to filter and process Amazon Inspector Findings, then send them to S3 for archiving or analysis.","Amazon Inspector is a vulnerability management service that continuously scans your AWS workloads for software vulnerabilities and unintended network exposure. Amazon Inspector automatically discovers and scans running Amazon EC2 instances, container images in Amazon Elastic Container Registry (Amazon ECR), and AWS Lambda functions for known software vulnerabilities and unintended network exposure.","Amazon Inspector creates a finding when it discovers a software vulnerability or network configuration issue. A finding describes the vulnerability, identifies the affected resource, rates the severity of the vulnerability, and provides remediation guidance.","This pattern deploys two Amazon EventBridge rules that forward Amazon Inspector Findings and Initial Scan events to Lambda functions. There are two Lambda functions, one that processes Amazon Inspector Findings, and one that processes Amazon Inspector initial scans. The Lambda functions send the processed events to a partitioned S3 Bucket.","Python","300",{},{"icon1":35,"icon2":40,"icon3":44,"icon4":48,"line1":52,"line2":56,"line3":58},{"x":36,"y":37,"service":38,"label":39},15,50,"inspector","Amazon Inspector",{"x":41,"y":37,"service":42,"label":43},37,"eventbridge","Default Bus",{"x":45,"y":37,"service":46,"label":47},60,"eventbridge-rule","Vulnerability Rule",{"x":49,"y":37,"service":50,"label":51},85,"lambda","Store to S3",{"from":53,"to":54,"label":55},"icon1","icon2","",{"from":54,"to":57,"label":55},"icon3",{"from":57,"to":59,"label":55},"icon4",{"bullets":61},[62,65],{"text":63,"link":64},"Understanding findings in Amazon Inspector","https:\u002F\u002Fdocs.aws.amazon.com\u002Finspector\u002Flatest\u002Fuser\u002Ffindings-understanding.html",{"text":66,"link":67},"Scanning Amazon EC2 instances with Amazon Inspector","https:\u002F\u002Fdocs.aws.amazon.com\u002Finspector\u002Flatest\u002Fuser\u002Fscanning-ec2.html","patterns\u002Finspector-lambda",{"text":70},[71],"See the GitHub repo for detailed testing instructions.","yF7vD1ZaP3zelHBGTIrcOVieTkI4iF9AmWtrX6IsTnA",1778846885563]