alprina quickstart
Interactive tutorial to get started with Alprina in minutes.
Synopsis
alprina quickstartDescription
The alprina quickstart command launches an interactive, beginner-friendly tutorial that teaches you how to use Alprina effectively. Perfect for first-time users who want to understand Alprinaβs capabilities through hands-on practice.
This guided tutorial will:
- Walk you through your first security scan
- Explain scan results in plain English
- Show you how to interpret findings
- Demonstrate fixing vulnerabilities
- Teach best practices for secure coding
No prior security knowledge required!
Usage
Simply run:
alprina quickstartThe tutorial will guide you step-by-step through the process.
What Youβll Learn
1. Running Your First Scan
Learn how to scan local files and understand what Alprina is checking.
β¨ Welcome to Alprina Quickstart!
We'll run your first security scan together.
Creating a sample vulnerable application... β
Let's scan it:
$ alprina scan ./sample-app2. Understanding Scan Results
See real vulnerability findings and learn what they mean.
π Scan Results:
βββββββββββββββββββββββββββββββββββ
Found 3 vulnerabilities:
1. HIGH - SQL Injection
π Location: database.py:42
π‘ What this means: An attacker could manipulate
your database queries and steal data.3. Fixing Vulnerabilities
Learn how to use alprina fix to remediate issues.
Let's fix this SQL injection:
$ alprina fix ./sample-app --id VULN-001
Would you like to apply this fix? [y/N]: y
β Fixed! Your code is now secure.4. Best Practices
Get tips on securing your code during development.
Who Should Use Quickstart?
Perfect for:
- π First-time users - Never used Alprina before
- π Developers learning security - Want to understand common vulnerabilities
- π Quick onboarding - Need to get productive fast
- π Visual learners - Prefer hands-on tutorials
Tutorial Duration
The quickstart tutorial takes approximately 5-10 minutes to complete.
You can:
- βΈοΈ Pause at any time (Ctrl+C)
- π Restart anytime by running
alprina quickstartagain - β© Skip sections if youβre already familiar
Interactive Features
Guided Explanations
Every step includes clear explanations of whatβs happening:
π Now we're scanning for security issues...
Alprina is checking your code for:
β’ SQL injection vulnerabilities
β’ Hardcoded secrets and API keys
β’ Weak cryptography
β’ Common security misconfigurations
This usually takes 5-10 seconds...Real-time Feedback
See results as Alprina analyzes code:
β Scanned 15 files
β Found 3 vulnerabilities
β Generated fix recommendationsHands-on Practice
Actually run commands and see real results (in a safe sandbox):
π» Try it yourself:
Run this command:
$ alprina scan ./sample-app --profile code-audit
Press Enter when ready...After Quickstart
Once you complete the tutorial, youβll know how to:
- β Scan your own projects
- β Interpret security findings
- β Fix vulnerabilities with AI
- β Generate security reports
- β Integrate Alprina into your workflow
Next Steps
After completing quickstart:
-
Scan Your Own Code
alprina scan ./your-project -
Read the Full Guide Visit Getting Started for in-depth documentation.
-
Try Advanced Features
-
Join the Community
Example Session
Hereβs what a typical quickstart session looks like:
$ alprina quickstart
β¨ Welcome to Alprina Quickstart!
βββββββββββββββββββββββββββββββββββ
This tutorial will teach you:
1. How to scan code for vulnerabilities
2. How to interpret security findings
3. How to fix issues with AI
4. Best practices for secure coding
Time required: ~5-10 minutes
Ready to start? [Y/n]: y
βββββββββββββββββββββββββββββββββββ
STEP 1: Your First Security Scan
βββββββββββββββββββββββββββββββββββ
Creating a sample vulnerable application...
β Created sample-app/ with 3 files
Let's scan it for security issues:
$ alprina scan ./sample-app
Running scan... β
π Found 3 vulnerabilities:
β’ 1 HIGH severity
β’ 2 MEDIUM severity
[Tutorial continues...]Troubleshooting
Tutorial wonβt start
Ensure you have internet connectivity for the first run.
Want to skip the tutorial?
If youβre already familiar with Alprina, jump straight to:
alprina scan- Start scanningalprina auth login- Authenticate- Quick Start Guide - Written documentation
Tutorial interrupted?
Just run alprina quickstart again to restart. Your progress isnβt saved between sessions.
Related Resources
- Quick Start Guide - Written version of this tutorial
- First Scan Tutorial - Detailed scanning guide
- CLI Commands Overview - All available commands
- Security Agents - Learn about Alprinaβs AI agents
Feedback
Help us improve the tutorial! If you have suggestions:
π Ready to learn? Run alprina quickstart now!