CNAPP
Cloud-Native Application Protection Platform
Cloud-Native Application Protection Platform
CNAPP (Cloud-Native Application Protection Platform) is an integrated security platform that protects the entire lifecycle of cloud-native applications. It unifies the functions of CSPM (Cloud Security Posture Management), CWPP (Cloud Workload Protection Platform), and CIEM (Cloud Infrastructure Entitlement Management), which were previously separate.
Defined by Gartner in 2021, this concept makes it possible to manage security across the entire process, from development (Dev) to operations (Ops), on a single platform. It performs code scanning, IaC security, container image vulnerability analysis, runtime protection, and cloud misconfiguration detection in an integrated manner.
The core value of CNAPP is context-based risk prioritization. Rather than simply listing vulnerabilities, it sets priorities by analyzing actual attack paths, such as "the container with this vulnerability is exposed to the internet and has access permissions to critical data."
Major vendors include Wiz, Palo Alto Prisma Cloud, Aqua Security, Lacework, and Orca Security, and they are strong in applying consistent security policies and securing visibility in multi-cloud environments.
# CNAPP ν΅ν© νμ΄νλΌμΈ μμ (GitHub Actions + Wiz CLI)
name: CNAPP Security Pipeline
on:
push:
branches: [main]
pull_request:
jobs:
cnapp-scan:
runs-on: ubuntu-latest
steps:
# 1. IaC 보μ μ€μΊ (Shift-Left)
- name: Terraform Security Scan
uses: wiz-sec/wiz-cli-action@v1
with:
scan-type: iac
path: ./terraform
policy: "High severity findings block"
# 2. 컨ν
μ΄λ μ΄λ―Έμ§ μ·¨μ½μ μ€μΊ
- name: Container Image Scan
run: |
wiz-cli docker scan ${{ env.IMAGE_TAG }} \
--policy "Critical CVE blocks" \
--output sarif > container-scan.sarif
# 3. μν¬λ¦Ώ νμ§
- name: Secret Detection
run: |
wiz-cli secrets scan ./src \
--exclude ".git,node_modules"
# 4. SBOM μμ± λ° μ
λ‘λ
- name: Generate SBOM
run: |
syft ${{ env.IMAGE_TAG }} -o spdx-json > sbom.json
wiz-cli sbom upload --sbom sbom.json
# λ°νμ λ³΄νΈ μ μ±
(Kubernetes)
# wiz-runtime-policy.yaml
apiVersion: wiz.io/v1
kind: RuntimePolicy
metadata:
name: production-workload-protection
spec:
scope:
namespaces: ["production"]
rules:
- name: block-privileged-containers
action: Block
- name: detect-crypto-mining
action: Alert
- name: prevent-lateral-movement
action: Block
Security team: "We use CSPM, CWPP, and a secrets scanner all separately, and there are too many alerts. What if we consolidate with CNAPP?"
DevOps: "It would be nice if they were consolidated. Right now, the same vulnerability shows up repeatedly in multiple tools."
CISO: "CNAPP sets priorities through attack path analysis. Even if there are 1,000 Critical vulnerabilities, only 10 may be actually dangerous."
Interviewer: "How would you establish a cloud security strategy?"
Candidate: "I would build a DevSecOps pipeline based on CNAPP. In CI, I would perform IaC scans and image vulnerability checks, and at runtime I would protect workloads with CWPP. I would continuously monitor cloud misconfigurations with CSPM and focus on actual risk through attack path analysis."
Take a mock interview on this topic β WIA SOOM AI Interview Β· Start for free
Security: "In this Terraform code, the CNAPP scan caught an S3 bucket public access misconfiguration."
Developer: "Oh, I left out the block_public_acls setting. I'll fix it."