REST API - Findings

Count findings matching the list filters, by severity, state and repository

Changed on
get/findings/counts

Request

  • Base URL
    https://api.hacktron.ai/v1
  • URL
    https://api.hacktron.ai/v1/findings/counts
  • Auth
    API key in header X-Api-Key

Query parameters

severity'critical' | 'high' | 'medium' | 'low' | 'info'
state'open' | 'true_positive' | 'false_positive' | 'accepted_risk' | 'resolved' | 'closed'
scan_idstring
scan_type'pr' | 'full'

Filter by scan type across all scans associated with the finding.

repo_urlstring

Filter by repository URL. Case-insensitive; a trailing slash or .git suffix is ignored.

found_sincestring

Only include findings discovered on/after this ISO 8601 timestamp.

found_untilstring

Only include findings discovered before this ISO 8601 timestamp.

Response

totalnumber required

Changes