Repository navigation
AST-181538 - Honour scanner switches and severity threshold from cx-onboarding.properties - #1586
Merged
Merged
Conversation
…nboarding.properties
- New scannerconfig package reads ~/.checkmarx/cx-onboarding.properties:
cx_{asca,sca,kics,secret}_scanner_enabled (default on) and cx_severity_threshold
(blank/invalid = low). Any read problem leaves everything enabled.
- Hooks skip a disabled engine and let ASCA/KICS/SCA denies below the threshold
through. Secrets always block; malicious packages and unknown severities are
never relaxed.
- Claude, Cursor, Gemini and Codex are excluded: they skip secret detection and
ignore the switches/threshold; all other agents (Copilot, Droid, Windsurf, ...)
honour them.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… agent hooks Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cx-rahul-pidde
requested review from
cx-anurag-dalke,
cx-hitesh-madgulkar and
cx-kedar-bhujade
October 15, 2026 07:07
cx-kedar-bhujade
approved these changes
Oct 15, 2026
cx-hitesh-madgulkar
approved these changes
Oct 15, 2026
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.
Changes
cx-onboarding.propertiesin agent hooks (cx hooks, ASCA, KICS, secrets, SCA guardrails).scanner_switch_test.go,sca/threshold_test.go).Related
AST-181538
Testing
Unit tests added/updated for scanner switches and SCA threshold handling. Full suite and lint not run locally.