The Application Group IaC Scan Get API retrieves discovery information for an Application Group.

Retrieves IaC scan discovery information for an Application Group.

  • scan-type: Specifies the type of discovery to retrieve. Use 'active' for current active discovery (returns single discovery) or 'backup' for backup discovery recovery points (returns historical discoveries). Defaults to 'active'.
  • When recoverydatetime is provided and timewindow is omitted, the given scan-type is honored (default is 'active'). Use scan-type=backup to get backup recovery points at that time; scan-type=active returns current active discovery and recoverydatetime is ignored.
  • When timewindow is provided and is greater than zero, the backup collection is queried (scan-type is treated as backup).
  • When scan-type is 'active' and recoverydatetime is not provided: Returns the current active discovery from the regular collection. timewindow and aggregated parameters are ignored.
  • When scan-type is 'backup' or recoverydatetime is provided: Returns backup discovery recovery points from the time-series collection.
    • When recoverydatetime is not provided, returns the latest backup discovery.
    • When recoverydatetime is provided, returns recovery points (discovery timestamps) within the specified time window.
    • recoverydatetime: Start time in ISO 8601 format (e.g., "2025-01-27T00:00:00Z") for filtering recovery points. When specified, automatically routes to backup mode. Required if timewindow is specified.
    • timewindow: Duration in days for the time window. If set to 0, returns discoveries at the exact recoverydatetime timestamp (0-day window). If not provided, defaults to 0 (exact timestamp match). When timewindow is provided and greater than zero, the backup collection is queried (scan-type is backup). Note: timewindow can only be used when recoverydatetime is specified.
    • aggregated: If true, returns aggregated recovery point data grouped by repository ID. If false or omitted, returns individual recovery points.
  • page: Page number for pagination (default: 1, minimum: 1). Only applies when both recoverydatetime and timewindow are provided.
  • limit: Maximum number of items per page (default: 20, minimum: 1, maximum: 1000). Only applies when both recoverydatetime and timewindow are provided.
Language
Credentials
Header
Response
Click Try It! to start a request and see the response here!