- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Security
Improper Inventory Management
You are a security engineer at Globomantics, and during a recent security audit, you discover that a legacy, unpatched version of the user API (`/v1/users`) is still active alongside the secure API (`/v2/users`). Developed using Python and Flask, this ghost endpoint exposes the company to critical vulnerabilities. In this lab, you will discover the legacy endpoint in the codebase and implement an API deprecation strategy to retire the vulnerable routes, communicate retirement information to clients, and verify that the supported API remains operational.
Lab Info
Table of Contents
-
Challenge
Discover and Assess the Legacy API Endpoint
You will identify unpatched legacy and experimental endpoints within the Flask application to determine the scope of improper API inventory management. By evaluating live API responses against modern API defenses, you will assess how legacy endpoints expose sensitive data and bypass authentication and authorization.
-
Challenge
Implement an API Deprecation and Versioning Strategy
You will establish an API deprecation and versioning strategy within the Flask application to gracefully decommission unpatched legacy and experimental routes. By unregistering obsolete blueprints and broadcasting standard deprecation headers, you will eliminate improper inventory exposure while guiding client integrations to the secure successor version.
About the author
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.