Skip to content

Remove workload-scanning finding classes from cloudsec CLI/SDK help#319

Merged
maximelb merged 1 commit into
masterfrom
remove-workload-scanning-cli
Jul 20, 2026
Merged

Remove workload-scanning finding classes from cloudsec CLI/SDK help#319
maximelb merged 1 commit into
masterfrom
remove-workload-scanning-cli

Conversation

@maximelb

Copy link
Copy Markdown
Contributor

Companion to the web-app and documentation PRs removing the Workload Scanning (CWPP) surface, since the feature is not enabled in any production deployment.

The cloudsec CLI has no scanner-specific commandslimacharlie cloudsec scan-status reports the collection-sweep status (inventory runs), not the workload scanner, so it stays. What this PR removes is the scanner-only vocabulary baked into help text and docstrings:

  • malware, secret, scan_finding dropped from the finding-class lists in _EXPLAIN_FINDING_LIST (commands/cloudsec.py), the get_findings docstring (sdk/cloudsec.py), and doc/cli/cloud-security.md.
  • The bulk-resolve example reason "scanner artifact" replaced with a neutral example.

Kept: scan-status (collection status), coverage_gap (CAASM), CAASM scanner source wording (third-party vuln-scanner integrations), and the dynamic cloudsec finding classes command, which always serves the server's canonical list.

Tests: full unit suite green (3653 passed).

🤖 Generated with Claude Code

https://claude.ai/code/session_01KT6t7WyXfsEfyCGahubzqa

The workload scanner (agentless snapshot scanning) is not enabled in any
production deployment; companion PRs remove its web UI and docs. The
cloudsec CLI has no scanner-specific commands — `scan-status` is the
collection-sweep status and stays — so the CLI surface to remove is the
scanner-only finding classes (malware, secret, scan_finding) listed in
the finding-filter help/docstrings, plus a "scanner artifact" example
reason string. The canonical class list remains served dynamically by
`cloudsec finding classes`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KT6t7WyXfsEfyCGahubzqa
@maximelb
maximelb merged commit 6381dd8 into master Jul 20, 2026
6 checks passed
@maximelb
maximelb deleted the remove-workload-scanning-cli branch July 20, 2026 21:38
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.

2 participants