Add issue prioritization by folder for audit commands#927
Merged
rsenden merged 2 commits intofortify:feat/v3.x/aviator/26.2from Feb 26, 2026
Merged
Conversation
rsenden
approved these changes
Feb 25, 2026
Contributor
rsenden
left a comment
There was a problem hiding this comment.
Changes in fcli-aviator and fcli-ssc look fine to me; I'm assuming Aviator team is reviewing/testing the changes in fcli-aviator-common themselves.
added 2 commits
February 26, 2026 16:08
This commit implements quota-based filtering with folder priority ordering for SSC audit operations. Key changes: - Add quota and quotaLastUpdated fields to InitRequest proto message - Implement QuotaBasedFilter class for filtering user prompts based on available quota and folder priority - Add --folder-priority-order CLI option to AviatorSSCAuditCommand for custom priority ordering - Modify AviatorStreamProcessor to apply quota filtering before processing prompts - Update StreamState to track quota information from server - Add QuotaConfig model for quota configuration - Update bulkaudit.yaml action to support folder priority ordering - Add unit tests for QuotaBasedFilter - Pass custom priority order through IssueAuditor constructor When quota is less than the number of issues to audit, prompts are filtered based on: 1. Custom folder priority order if provided via --folder-priority-order 2. Default priority order (Critical, High, Medium, Low) if no custom order specified 3. Prompts with folders not in the custom order are excluded from filtering This ensures efficient use of limited quota by prioritizing issues based on their folder/severity. # Conflicts: # fcli-core/fcli-aviator-common/src/main/java/com/fortify/cli/aviator/audit/AuditFPR.java # fcli-core/fcli-aviator-common/src/main/java/com/fortify/cli/aviator/audit/IssueAuditor.java # fcli-core/fcli-aviator-common/src/main/java/com/fortify/cli/aviator/grpc/AviatorGrpcClient.java
562b1d4 to
3de405b
Compare
9230dd4
into
fortify:feat/v3.x/aviator/26.2
11 of 12 checks passed
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.
This commit implements quota-based filtering with folder priority ordering for SSC audit operations. Key changes: