Building Serverless Applications With WebAssembly & Spin
/
Going Live
/
Securing and Hardening Your Application
Securing and Hardening Your Application
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Hardening Spin Manifests
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Establishing the Baseline: Capability Grant Assessment
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Five Manifest Hardening Techniques
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
1. Outbound Networking: Don’t Use Wildcards
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
2. Restrict Filesystem Mount Points
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
3. Restrict Variable Scoping and Component Mapping
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
4. Narrow Your Triggers and Routes
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
5. Use Private Endpoints for Internal Services
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Component Dependency Capabilities
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
The Software Supply-Chain Dilemma
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Zero-Trust Composition by Default
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Controlling Capability Inheritance
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
1. Deny All (Default)
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
2. Selective Capability Inheritance
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
3. Full Inheritance
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
4. Blanket Dependency Inheritance
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Hardening Application Code
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Adding Request Payload Validation
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Enforcing Payload Size Limits and API Security Headers
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Signing and Verifying Spin Applications with
cosign
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Signing and Verifying on Your Local Machine
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Generating a Local Key Pair
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Pushing Task-Engine to a Registry
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Signing the Task-Engine OCI Artifact
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Verifying the Artifact
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Automating Keyless Signing in GitHub Actions
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Verifying Keyless Artifacts Locally
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Gating
spin up
on Signature Verification
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Software Bill of Materials (SBOM)
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
The WebAssembly Advantage: Eliminating OS Noise
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Rust Lockfiles and License Scanning Limitations
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Local SBOM Generation with Trivy
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Local SBOM Scanning with Trivy
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Adding an Automated CI Quality Gate
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Distributing the SBOM with ORAS
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Creating, Scanning, and Publishing SBOMs with GitHub Actions
https://leanpub.com/building-serverless-apps-with-wasm-and-spin
Previous
Operational Excellence
Up next
To the Global Edge with Akamai Functions
In this chapter
Securing and Hardening Your Application
Hardening Spin Manifests
Hardening Application Code
Signing and Verifying Spin Applications with cosign
Software Bill of Materials (SBOM)