Repository navigation
AST-188321 Added Linguist Extensions - #1616
Conversation
…nning settings - Add the programming and markup Linguist extensions and filenames to the default include filter (BaseIncludeFilters = SAST + Linguist patterns). - Use the Linguist patterns only when Allow AI Usage (scan.config.ai.allowAiUsage) is on and both LLM-based settings (scan.config.sast.findingsAnalysis, scan.config.sast.extendedAnalysis) are on at tenant level, or else at project level; otherwise use the existing SAST patterns. Fall back to the SAST patterns when the settings cannot be read, and skip the settings calls for git sources and --skip-default-filter. - Add ProjectsWrapper.GetConfiguration (GET api/configuration/project). - Add unit tests and a Linguist integration test that follows the tenant's LLM setting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review: Linguist extensions / default filter size limitBuilds pass, new unit tests pass at the PR head, and Correctness
Design / efficiency
Minor
Items 1, 2 and 4 are the ones I'd want resolved before merge. 🤖 Generated with Claude Code |
…paration documentation (golangci-lint) - Resolved Leaked response body — internal/wrappers/projects-http.go:119 - Ignored indirect-dependency trivy vulnerability
By submitting this pull request, you agree to the terms within the Checkmarx Code of Conduct. Please review the contributing guidelines for guidance on creating high-quality pull requests.
Description
• .html — 3 occurrences
• .java — 2 occurrences
• .vb — 2 occurrences
• .config — 2 occurrences
• .cls — 2 occurrences
• .h — 2 occurrences
• .js — 2 occurrences
• .htm — 2 occurrences
• .kt — 2 occurrences
Type of Change
Related Issues
Link any related issues or tickets.
Checklist
Screenshots (if applicable)
Add screenshots to help explain your changes.
Additional Notes