Skip to content

AST-181538 - Honour scanner switches and severity threshold from cx-onboarding.properties - #1586

Merged
cx-rahul-pidde merged 2 commits into
stagingfrom
feature/AST-181538-scanner-switches
Oct 15, 2026
Merged

cx-rahul-pidde merged 2 commits into
stagingfrom
feature/AST-181538-scanner-switches

Conversation

@cx-rahul-pidde

@cx-rahul-pidde cx-rahul-pidde commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Honour scanner switches and severity threshold from cx-onboarding.properties in agent hooks (cx hooks, ASCA, KICS, secrets, SCA guardrails).
  • Refine scanner switch / severity threshold handling and add unit tests (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.

cx-rahul-pidde and others added 2 commits October 14, 2026 19:38
…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
cx-rahul-pidde merged commit 4768f8c into staging Oct 15, 2026
21 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants