| CPC H04L 63/1425 (2013.01) [H04L 63/029 (2013.01); H04L 63/1416 (2013.01)] | 27 Claims |

|
1. A method comprising:
protecting a serverless application that uses a serverless function with protection logic that inspects, within a runtime environment of the serverless function, inputs to the serverless function and outputs from the serverless function, wherein protecting the serverless application comprises,
inspecting event data to be input to a first instance of the serverless function and event context based on detection of an event that triggers the serverless function;
allowing the first instance of the serverless function to execute with input of the event data if determined to not include unsafe data;
determining whether behavior of the first instance of the serverless function conforms to normal behavior for the serverless function learned from observations of historical instances of the serverless function;
inspecting output of the first instance of the serverless function to determine whether the output contains unsafe data; and
raising a security action if the event data or the output is determined to contain unsafe data or if the behavior of the first instance of the serverless function does not conform to the normal behavior.
|