get
https://helios.cohesity.com/v2/ciras/appGroups//iacScans
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
recoverydatetimeis provided andtimewindowis omitted, the givenscan-typeis honored (default is 'active'). Usescan-type=backupto get backup recovery points at that time;scan-type=activereturns current active discovery andrecoverydatetimeis ignored. - When
timewindowis provided and is greater than zero, the backup collection is queried (scan-type is treated as backup). - When
scan-typeis 'active' andrecoverydatetimeis not provided: Returns the current active discovery from the regular collection.timewindowandaggregatedparameters are ignored. - When
scan-typeis 'backup' orrecoverydatetimeis provided: Returns backup discovery recovery points from the time-series collection.- When
recoverydatetimeis not provided, returns the latest backup discovery. - When
recoverydatetimeis 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 iftimewindowis 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). Whentimewindowis provided and greater than zero, the backup collection is queried (scan-type is backup). Note:timewindowcan only be used whenrecoverydatetimeis specified.aggregated: If true, returns aggregated recovery point data grouped by repository ID. If false or omitted, returns individual recovery points.
- When
page: Page number for pagination (default: 1, minimum: 1). Only applies when bothrecoverydatetimeandtimewindoware provided.limit: Maximum number of items per page (default: 20, minimum: 1, maximum: 1000). Only applies when bothrecoverydatetimeandtimewindoware provided.