Description
Reflect recent additions in the SDK by exposing two new CLI commands:
1. get_alerts_summaries_scans
- Endpoint:
POST /alerts/summaries/scans
- Parameters:
--organization-id (required)
--scan-target-ids (optional, list)
--days (optional, default = 7)
2. get_following_alerts_over_time
(renamed from get_alerts_over_time for clarity)
- Endpoint:
POST /alerts/summaries/following/resolvedovertime
- Parameters:
--organization-id (required)
--following-ids (optional, list)
--severities (optional, list)
--dates (optional, list of YYYY-MM-DD)
Expected
- New CLI commands wrapping the updated SDK methods
- Flag validation and help messages
- Output in JSON format
- Basic test coverage
Notes
These features were added as part of the SDK/CLI Proposal initiative.