[{"data":1,"prerenderedAt":73},["ShallowReactive",2],{"pattern-lambda-inspector-scans":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":34,"level":35,"meta":36,"patternArch":37,"resources":63,"s3URL":6,"services":6,"stem":68,"testing":69,"videoId":6,"__hash__":72},"patterns\u002Fpatterns\u002Flambda-inspector-scans.json","Event-driven vulnerability processing with Amazon EventBridge",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdavid-boyne.json",{"text":13},[14],"sam deploy --guided","Amazon Inspector vulnerability events to EventBridge","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-inspector-scans","serverless-patterns\u002Flambda-inspector-scans","lambda-inspector-scans","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30,31,32,33],"Amazon Inspector raises events during scanning. This pattern configures a rule to trigger a downstream consumer (Lambda function) when a Lambda function scan is complete. This enables event-driven automation around vulnerability scanning.","\u003Ch5>How this pattern works?\u003C\u002Fh5>","\u003Cimg width=\"100%\" src=\"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Fblob\u002Fmain\u002Flambda-inspector-scans\u002Fscreenshot.png?raw=true\" \u002F>","Before deploying this pattern you will need to turn on Amazon Inspector for your Lambda functions. Every time your Lambda function is scanned for vulnerabilities an event is raised with the results","Amazon Inspector events are sent to your default event bus (for free) and this pattern configures a rule to listen to these events to trigger downstream services","Using EventBridge rules you can filter which events and severity information you are interested in, and automate tasks from them","This pattern uses Lambda as a downstream consumer but you could pick any of the \u003Ca href='https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-targets.html'>20+ EventBridge targets supported.\u003C\u002Fa>","Node.js","200",{},{"icon1":38,"icon2":43,"icon3":47,"icon4":51,"line1":55,"line2":59,"line3":61},{"x":39,"y":40,"service":41,"label":42},15,50,"inspector","Amazon Inspector",{"x":44,"y":40,"service":45,"label":46},37,"eventbridge","Default Bus",{"x":48,"y":40,"service":49,"label":50},60,"eventbridge-rule","Vulnerability Rule",{"x":52,"y":40,"service":53,"label":54},85,"lambda","Process Vulnerability",{"from":56,"to":57,"label":58},"icon1","icon2","",{"from":57,"to":60,"label":58},"icon3",{"from":60,"to":62,"label":58},"icon4",{"bullets":64},[65],{"text":66,"link":67},"Amazon Inspector Now Scans AWS Lambda Functions for Vulnerabilities","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Famazon-inspector-now-scans-aws-lambda-functions-for-vulnerabilities\u002F","patterns\u002Flambda-inspector-scans",{"text":70},[71],"See the README in the GitHub repo for detailed testing instructions.","aBYYFajMH8x2lFFTr42KdxOklDa-mRYT0CNSGgf1VME",1779273337455]