Identity & Access Management

Preview — pending review

This reference is generated from the platform API contract and is still under review. Operations, fields, and descriptions can change before publication.

Mark an access finding as resolved

POST
/scopes/{scopeId}/iam/access-findings/{accessFindingId}/actions/resolve

Marks an Access Analyzer finding as resolved after the operator has removed the offending grant ("Resolve" / "Mark resolved" in the UI). The finding's status transitions to Resolved and the new state is visible to subsequent list and detail reads. The command records the triage outcome only; the analyzer will re-open a new finding on its next scan if the external access in fact still exists. Validation: the finding must exist and be visible in the active scope (NOT_FOUND otherwise); the current status must permit resolution — Resolved or Archived findings are rejected with CONFLICT (409); the caller must hold a triage-capable role (owner/admin/contributor) or the request fails with FORBIDDEN. Async & state: Synchronous command returning 200 with the updated finding (Active → Resolved). A resource.updated SSE frame is emitted for the finding with kind: iam.access_finding and a patch containing the new status. Errors: 401 unauthenticated; 403 caller lacks triage permission; 404 unknown or out-of-scope finding; 409 current status does not permit resolve; 500 on backend failure. Idempotency/Concurrency: This operation does not use Idempotency-Key; it may be omitted and a sent one is ignored. Resolving a finding that is already Resolved (including a retry of a request that succeeded) is refused with 409 CONFLICT; the transition is never applied twice. This operation does not check If-Match; a sent one is ignored.

Authorization

bearerToken
headerAuthorizationBearer <token>

An API token (pc_live_…) or a service-account key (sak_live_…), created in Identity & Access Management and sent as Authorization: Bearer <token>. Requests are rate limited per credential and per tenant: every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, and a refused request gets 429 RATE_LIMITED with Retry-After.

Path Parameters

scopeId*string

Opaque ownership+authorization scope resolving to tenant + subscription + project.

accessFindingId*string

Identifier of the access finding to resolve.

Response Body

Finding resolved; the updated resource is returned.

application/json
  1. response

An Access Analyzer finding — a resource reachable by an external principal.

id*string

Finding identifier.

resource*string

Display name of the exposed resource.

resourceArn*string

Full ARN of the exposed resource.

resourceType*AccessFindingResourceType

Type of resource covered by an Access Analyzer finding.

Value in"Object bucket""KMS key""IAM role""Secret""Snapshot""Machine image""File share""Database"
resourceHref*|

Deep-link target within the console (scoped path suffix), or null when no console page exists.

exposure*AccessFindingExposure

How the resource is exposed to external principals.

Value in"Public""Cross-account""Cross-organization"
externalPrincipal*string

External principal / account that gained access.

accessLevel*AccessFindingAccessLevel

Access level an external principal gained on the resource.

Value in"Read""Write""Full""List"
actions*array<string>

Concrete actions the external principal can perform.

status*AccessFindingStatus

Lifecycle status of an Access Analyzer finding.

Value in"Active""Archived""Resolved"
grantStatement*

The policy statement that grants the external access reported by the finding.

recommendation*string

Analyzer remediation recommendation.

analyzedAt*string

When the analyzer last evaluated this finding.

Formatdate-time
firstObservedAt*string

When the external access was first observed.

Formatdate-time
curl -X POST "https://example.com/scopes/string/iam/access-findings/string/actions/resolve"
{  "id": "string",  "resource": "string",  "resourceArn": "string",  "resourceType": "Object bucket",  "resourceHref": "string",  "exposure": "Public",  "externalPrincipal": "string",  "accessLevel": "Read",  "actions": [    "string"  ],  "status": "Active",  "grantStatement": {    "sid": "string",    "effect": "Allow",    "service": "string",    "actions": [      "string"    ],    "resources": [      "string"    ],    "conditions": [      {        "operator": "string",        "key": "string",        "value": "string"      }    ]  },  "recommendation": "string",  "analyzedAt": "2019-08-24T14:15:22Z",  "firstObservedAt": "2019-08-24T14:15:22Z"}