feat: add --quick flag as shorthand for --level priority#4
Merged
joshkotrous merged 1 commit intomainfrom Mar 10, 2026
Merged
Conversation
Adds a --quick boolean flag to the pentest command that sets scanLevel to 'priority', testing only highest-risk endpoints (~15 mins vs full scan). Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--quickboolean flag topensar pentestas a convenient shorthand for--level priority--quicktakes precedence over--levelif both are specifiedUsage
Test plan
pensar pentest --helpshows--quickflag with correct descriptionpensar pentest --quickdispatches scan withscanLevel: "priority"pensar pentest --quick --level fullstill usespriority(--quick wins)pensar pentestwithout--quickstill defaults tofullMade with Cursor
Note
Low Risk
Small CLI argument and documentation change that only affects how the scan level is selected; minimal surface area and no new security-sensitive logic.
Overview
Adds a new
--quickflag topensar pentestthat forcesscanLevelto"priority", taking precedence over--levelwhile keeping--leveldefaulting tofull.Updates
README.mdusage and options docs to describe the full vs quick scan modes and clarify the default--levelbehavior.Written by Cursor Bugbot for commit 1f47ad7. This will update automatically on new commits. Configure here.