Featured resource
2026 Tech Forecast
2026 Tech Forecast

1,500+ tech insiders, business leaders, and Pluralsight Authors share their predictions on what’s shifting fastest and how to stay ahead.

Download the forecast
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
    • Security
Google Cloud Platform icon
Labs

Secure an AWS Delivery Workflow with Gates, Secrets, and Policy

In this hands-on lab, you will secure an inherited AWS delivery pipeline that builds a container image and deploys it to Amazon ECS Fargate. You will replace over-privileged IAM permissions with least-privilege policies, move a plaintext credential into AWS Secrets Manager, and add Amazon ECR image-scanning and OWASP Dependency-Check gates that block vulnerable builds before deployment. You will then remediate a critical dependency vulnerability, rerun the controlled workflow, and trace its security and release evidence across AWS CodePipeline, Amazon S3, and CloudWatch Logs. After completing this lab, you will have gained the experience required to secure an AWS delivery workflow with gates, secrets, and policy controls.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Aug 13, 2026
Duration
1h 15m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use, and consent to receive marketing emails from Pluralsight.
Table of Contents
  1. Challenge

    Configure pipeline identity and secret access for the delivery workflow

    Secure the inherited workflow's identity and secret handling without breaking delivery:

    1. Replace wildcard IAM permissions with supplied least-privilege policies.
    2. Move the plaintext deployment token into AWS Secrets Manager and configure CodeBuild to retrieve it at runtime.
    3. Verify the secured pipeline still builds and deploys successfully without exposing the secret.
  2. Challenge

    Add security checks for dependencies and images

    Create and test two security checks against the inherited application:

    1. Configure an OWASP Dependency-Check gate to identify vulnerable application dependencies.
    2. Configure an Amazon ECR Basic image-scan gate to evaluate container image findings.
    3. Run both gates independently and confirm that they produce verdicts and preserve their reports.
  3. Challenge

    Use gate results to block or continue promotion

    Use security-gate results to control whether a release can reach deployment:

    1. Add a Security stage before Deploy and configure both gates to run in parallel.
    2. Run the vulnerable application through the controlled pipeline and interpret the gate results.
    3. Confirm that the failing dependency gate blocks the new execution before it reaches Deploy.
  4. Challenge

    Remediate the failing dependency check and rerun the controlled workflow

    Repair the vulnerability that caused the security gate to fail:

    1. Interpret the dependency report and identify the vulnerable commons-text version.
    2. Upgrade the dependency from 1.9 to 1.10.0 and release the updated source.
    3. Confirm that both gates pass and the repaired execution continues successfully to Deploy.
  5. Challenge

    Verify that the workflow preserves useful security and release evidence

    Trace the blocked and successful releases through their preserved evidence:

    1. Identify the pipeline execution IDs for the blocked and repaired releases.
    2. Compare their scan reports in Amazon S3 and their build logs in CloudWatch Logs.
    3. Confirm that the evidence explains why one release was stopped and the other was allowed to deploy.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight