Skip to content

Runbook 01 — Serverless Security Assessment

Property Value
Runbook Name Serverless Security Assessment
Module Module 07 — Serverless Security
Runbook Number Runbook 01
Difficulty Intermediate
Estimated Time 2–4 Hours
Assessment Type Enterprise Serverless Security Assessment
Cloud Providers AWS, Microsoft Azure, Google Cloud
Audience Cloud Security Engineers, Cloud Penetration Testers, Security Consultants, DevSecOps Engineers

This runbook provides a structured methodology for assessing the security posture of enterprise serverless environments.

It follows the same assessment lifecycle used by enterprise consulting companies when reviewing AWS Lambda, Azure Functions, and Google Cloud Functions deployments.

The objective is to identify security weaknesses, evaluate business impact, prioritize remediation efforts, and provide executive-ready reporting.


The assessment aims to:

  • Inventory all serverless workloads.
  • Review cloud identities and permissions.
  • Assess API security.
  • Review event-driven architectures.
  • Assess secrets management.
  • Validate monitoring and detection.
  • Evaluate governance and compliance.
  • Produce enterprise security findings.

Review the following services.

  • AWS Lambda
  • IAM
  • API Gateway
  • EventBridge
  • CloudWatch
  • CloudTrail
  • Secrets Manager

  • Azure Functions
  • Microsoft Entra ID
  • Managed Identities
  • Azure API Management
  • Event Grid
  • Azure Monitor
  • Azure Key Vault

  • Cloud Functions
  • Google Cloud IAM
  • Service Accounts
  • Eventarc
  • Pub/Sub
  • Cloud Logging
  • Secret Manager

Planning
Architecture Review
Function Inventory
Identity Assessment
API Assessment
Event Assessment
Secrets Assessment
Monitoring Assessment
Governance Review
Risk Analysis
Reporting

Understand the engagement before beginning technical testing.

Review:

  • Business requirements
  • Critical applications
  • Assessment scope
  • Cloud providers
  • Production vs Non-production
  • Compliance requirements
  • Assessment Scope
  • Rules of Engagement
  • Asset List

Review:

  • Serverless architecture
  • API architecture
  • Event-driven workflows
  • Cloud integrations
  • Identity model
  • Networking

Assess:

  • Trust boundaries
  • Internet exposure
  • Data flows
  • High-value assets
  • Architecture Diagram
  • Trust Boundary Review

Create a complete inventory.

Review:

  • Functions
  • Regions
  • Runtime versions
  • Business owners
  • Trigger types
  • Deployment models
  • Function Inventory
  • Runtime Inventory

Review:

  • IAM Roles
  • IAM Policies
  • Resource Policies
  • Managed Identities
  • Azure RBAC
  • Microsoft Entra ID
  • Service Accounts
  • IAM Roles
  • Organization Policies

Assess:

  • Least Privilege
  • Wildcard permissions
  • Cross-account access
  • Administrative permissions
  • Privilege escalation
  • Identity Assessment
  • Privilege Review

Review:

  • Authentication
  • Authorization
  • JWT validation
  • OAuth
  • Rate limiting
  • API Keys
  • Web Application Firewall (WAF)

Assess:

  • Public APIs
  • Anonymous access
  • Broken authentication
  • Weak authorization
  • Missing validation
  • API Security Review

Review:

AWS

  • EventBridge
  • SNS
  • SQS

Azure

  • Event Grid
  • Service Bus

Google Cloud

  • Eventarc
  • Pub/Sub

Assess:

  • Event authorization
  • Event filtering
  • Replay protection
  • Message integrity
  • Payload validation
  • Event Security Assessment

Review:

  • Secrets Manager
  • Azure Key Vault
  • Google Secret Manager
  • Environment variables
  • KMS integration
  • Secret rotation

Assess:

  • Hardcoded credentials
  • Plain-text secrets
  • IAM permissions
  • Secret lifecycle
  • Secrets Assessment

Review:

AWS

  • CloudTrail
  • CloudWatch
  • GuardDuty

Azure

  • Azure Monitor
  • Activity Logs
  • Microsoft Sentinel

Google Cloud

  • Cloud Logging
  • Cloud Audit Logs
  • Security Command Center

Assess:

  • Log coverage
  • Alerting
  • SIEM integration
  • Threat detection
  • Identity monitoring
  • Monitoring Assessment

Review:

  • Identity governance
  • Secure SDLC
  • Change Management
  • Logging standards
  • Secrets governance
  • Incident Response
  • Compliance controls

Assess whether governance supports secure serverless operations.

  • Governance Assessment

Classify findings using enterprise risk ratings.

Severity Description
Critical Immediate business risk
High Significant production risk
Medium Security weakness requiring remediation
Low Minor improvement opportunity
Informational Best practice recommendation

Prioritize findings according to:

  • Business impact
  • Likelihood
  • Exploitability
  • Compliance impact

Collect evidence for:

  • Function configurations
  • IAM policies
  • Managed Identities
  • Service Accounts
  • API Gateway settings
  • Event configurations
  • Secrets Manager
  • Azure Key Vault
  • Google Secret Manager
  • Cloud logs
  • Monitoring dashboards
  • Security alerts

Store screenshots and exported configurations for the final report.


Produce:

  • Executive Summary
  • Architecture Review
  • Identity Assessment
  • Function Security Assessment
  • API Security Assessment
  • Event Security Assessment
  • Secrets Management Assessment
  • Monitoring Assessment
  • Governance Assessment
  • Risk Register
  • Security Scorecard
  • Prioritized Remediation Roadmap

Frequently observed issues include:

  • Overly permissive IAM roles
  • Publicly exposed APIs
  • Hardcoded secrets
  • Weak Managed Identity permissions
  • Shared Service Accounts
  • Missing replay protection
  • Insecure event sources
  • Missing CloudTrail or Audit Logs
  • Weak monitoring coverage
  • Poor identity governance

The assessment is complete when you have:

  • Inventoried all serverless workloads.
  • Assessed identities and permissions.
  • Reviewed API and event security.
  • Evaluated secrets management.
  • Validated monitoring and detection.
  • Reviewed governance processes.
  • Prioritized risks based on business impact.
  • Produced executive-ready consulting documentation.

During enterprise consulting engagements:

  • Review architecture before reviewing individual functions.
  • Focus first on identities because they define the serverless security boundary.
  • Verify every event source that can invoke a production function.
  • Confirm secrets are retrieved securely from managed secret stores.
  • Validate centralized logging and SIEM integration.
  • Support every finding with evidence.
  • Prioritize remediation based on business risk rather than technical severity alone.

This runbook provides the complete methodology for conducting enterprise serverless security assessments across AWS, Microsoft Azure, and Google Cloud.

Following this structured process enables Cloud Penetration Testers and Cloud Security Consultants to consistently identify security weaknesses, evaluate operational maturity, prioritize remediation, and deliver professional consulting reports using the GoHackersCloud Enterprise Serverless Security Assessment Framework.


➡️ Runbook 02 — Serverless Identity & API Review

In the next runbook, you will perform a deep assessment of serverless identities, IAM roles, Managed Identities, Service Accounts, API Gateways, authorization models, privilege escalation paths, and Zero Trust identity architecture across AWS, Azure, and Google Cloud.