Resource Scan Info - GET
GET/resource/scan_info
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Returns a full breakdown of passed/failed statistics and associated policies for resources.
Replacement Endpoint: Resource Scan Info V2 - GET
The query parameters enable you to add filters to your request to narrow your results.
Filter by Time
The following table has examples of common filters by time. The time filter narrows the response to resources from account onboarding until the point in time of interest.
Point in time of interest | timeAmount | timeType | timeUnit |
---|---|---|---|
24 hours ago | 24 | relative | hour |
1 week ago | 1 | relative | week |
1 month ago | 1 | relative | month |
1 year ago | 1 | relative | year |
Latest | Not required with to_now | to_now | Defaults to epoch |
How Current is the Returned Data?
Since Prisma Cloud relies on snapshots of data, there can be an hour or two delay between the time a resource passes or fails a policy check and the reporting of that result through this method.
Filter by Cloud Type
You can specify more than one cloud type to request a combination of data. For example cloud.type=gcp&cloud.type=azure returns data for both gcp and azure.
Filter by Compliance Standard, Requirement, and/or Section
You can also broaden your filter by specifying any of the following query parameters more than once:
- policy.complianceStandard
- policy.complianceRequirement
- policy.complianceSection
Request
Responses
- 200
- 400
success
bad_request