PCCSE · Question #159
An administrator wants to retrieve the compliance policies for images scanned in a continuous integration (CI) pipeline. Which endpoint will successfully execute to enable access to the images via…
The correct answer is C. GET /api/v22.01/policies/compliance/ci/images. In the Prisma Cloud Compute API, compliance policies are organized hierarchically by scan context. The endpoint GET /api/v22.01/policies/compliance/ci/images is specifically scoped to retrieve compliance policies applied to container images scanned within CI pipelines. Option A…
Question
An administrator wants to retrieve the compliance policies for images scanned in a continuous integration (CI) pipeline. Which endpoint will successfully execute to enable access to the images via API?
Options
- AGET /api/v22.01/policies/compliance
- BGET /api/v22.01/policies/compliance/ci
- CGET /api/v22.01/policies/compliance/ci/images
- DGET /api/v22.01/policies/compliance/ci/serverless
How the community answered
(48 responses)- A2% (1)
- B4% (2)
- C94% (45)
Explanation
In the Prisma Cloud Compute API, compliance policies are organized hierarchically by scan context. The endpoint GET /api/v22.01/policies/compliance/ci/images is specifically scoped to retrieve compliance policies applied to container images scanned within CI pipelines. Option A (/policies/compliance) is too broad and returns general compliance policies, not CI-specific ones. Option B (/policies/compliance/ci) returns CI-level policy configuration, not image-specific rules. Option D targets serverless functions, not container images. The '/ci/images' path segment precisely identifies the resource type (images) within the CI scan context.
Topics
Community Discussion
No community discussion yet for this question.