Skip to main content

Resource Scan Info - GET

GET 

/resource/scan_info

deprecated

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.

info

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 interesttimeAmounttimeTypetimeUnit
24 hours ago24relativehour
1 week ago1relativeweek
1 month ago1relativemonth
1 year ago1relativeyear
LatestNot required with to_nowto_nowDefaults 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

success