fix(cmd): remove deprecated findings endpoints and broken vulnerabilities commands#24
Merged
Merged
Conversation
…ties commands Remove security findings list/get commands (API endpoints being deprecated) and vulnerabilities search/list commands (using wrong API methods - signals instead of vulnerabilities). Security findings search and all static-analysis commands remain intact. - Remove `security findings list` and `security findings get` - Remove `vulnerabilities search` and `vulnerabilities list` - Unregister `vulnerabilities` command from root - Update tests accordingly Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
📊 Test Coverage ReportThreshold: 80% ✅ Coverage by Package📈 Coverage Status: ✅ PASSED - Coverage meets minimum threshold Updated for commit d0004e6 |
platinummonkey
approved these changes
Feb 10, 2026
etienneddog
pushed a commit
that referenced
this pull request
Feb 10, 2026
Update README, COMMANDS.md, EXAMPLES.md, and TEST_COVERAGE_SUMMARY.md to reflect the removal of security findings list/get and vulnerabilities search/list commands in PR #24. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 task
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.
Summary
Remove deprecated and broken security/vulnerability commands:
security findings listandsecurity findings get— API endpoints being deprecated by Datadogvulnerabilities searchandvulnerabilities list— using wrong API methods (signals API instead of vulnerabilities API)Changes
security findings listandsecurity findings getcommands, handlers, and flags fromcmd/security.govulnerabilitiestop-level command entirely (both subcommands removed) fromcmd/vulnerabilities.goandcmd/root.gocmd/security_test.goandcmd/vulnerabilities_test.gosecurity findings searchand allstatic-analysiscommands remain intactTesting
go build ./...passesgo test ./cmd/...passesgo vet ./cmd/...passesRelated Issues
N/A
🤖 Generated with Claude Code