Gartner Research

Security Considerations and Best Practices for Securing Serverless PaaS

Published: 04 September 2018

ID: G00351014

Analyst(s): Neil MacDonald

Summary

Developers are embracing serverless computing to extend and integrate cloud applications and lower costs, and as a lower-friction way to develop and deploy code. Security and risk management leaders should adopt best practices to address visibility and control gaps created by serverless computing.

Table Of Contents
  • Key Challenges

Introduction

Analysis

  • Secure Cloud-Native Application Mindset
    • Adopt the Gartner CARTA Strategic Approach
    • Adopt an Immutable Infrastructure Mindset
    • Employ Structured Identity/Entity and Least Privilege Permissions Management
    • Build and Configure Resilient Software
    • Deliver Consistent Workload Protection, Regardless of Form Factor
  • Secure Serverless Foundation
    • Implement IAM SOD for Developers and Separate Development From Production
    • Require Mandatory Granular, Identities and Permissions Management for Serverless Code
    • Require an API Gateway and/or Event Broker to Be Used for Serverless Access
    • Continuously Discover Serverless Code, Assess the Cloud Configuration for Risk and Minimize the Surface Area for Attack
  • Secure Serverless Development
    • Create a Detailed Bill of Materials for All Serverless Code
    • Create a Data Flow Map, and Assess It for Risk and Compliance
    • Scan for Vulnerabilities Automatically/Transparently in Development
    • Use Knowledge Gained From Development to Build Least Privilege Models
    • Extend Code Assurance and Software Integrity Best Practices to Scripts
    • Use Automated Phased Deployments With Rollback
  • Secure Serverless Operation
    • Implement a Default Deny Posture
    • Use the API Gateway/Event Broker and WAF-Like Filtering for Runtime Attack Protection
    • Use Comprehensive Monitoring for Rapid Detection and Response
    • Use Existing Security Controls in and Around Serverless
    • Use Runtime Code Injection and Code Wrappering With Caution
    • Use Visibility and Feedback From Operations to Improve the Security of the Next Version
  • Bottom Line

Gartner Recommended Reading

©2019 Gartner, Inc. and/or its affiliates. All rights reserved. Gartner is a registered trademark of Gartner, Inc. and its affiliates. This publication may not be reproduced or distributed in any form without Gartner’s prior written permission. It consists of the opinions of Gartner’s research organization, which should not be construed as statements of fact. While the information contained in this publication has been obtained from sources believed to be reliable, Gartner disclaims all warranties as to the accuracy, completeness or adequacy of such information. Although Gartner research may address legal and financial issues, Gartner does not provide legal or investment advice and its research should not be construed or used as such. Your access and use of this publication are governed by Gartner’s Usage Policy. Gartner prides itself on its reputation for independence and objectivity. Its research is produced independently by its research organization without input or influence from any third party. For further information, see Guiding Principles on Independence and Objectivity.

Already have a Gartner Account?

Purchase this Document

To purchase this document, you will need to register or sign in above

Become a client