Skip to content

[Feature] Implement Scans API module #54

@talltechy

Description

@talltechy

Description

Create ScanAPI class for scan operations following v2.0 architecture patterns.

Features

  • List scans with pagination
  • Get scan details
  • Start/stop scans
  • Get scan status
  • Get scan results
  • Schedule scans
  • Manage scan templates

Acceptance Criteria

  • ScanAPI class created inheriting from BaseAPI
  • All CRUD operations implemented
  • Scan execution control (start, stop, pause, resume)
  • Status monitoring capabilities
  • Integration with InsightVMClient as client.scans
  • Unit tests added
  • Documentation updated

Technical Details

  • Follow BaseAPI inheritance pattern
  • Match patterns from AssetAPI and AssetGroupAPI
  • Include comprehensive docstrings
  • Type hints throughout

Context

Part of Sprint 5: Additional API Modules (1-2 days)

Expands API coverage for scan management operations.

See: memory-bank/github-workflow.md for workflow details

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions