import { VantaCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { VantaError } from "../models/errors/vantaerror.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * List account access records for an audit * * @remarks * Retrieves account access population data for an audit. * * This endpoint provides access to account access records visible to auditors * during an audit engagement. Account access data comes from various sources: * * - **IDP Services** (Identity Providers): Okta, Azure AD, Google Workspace, OneLogin, PingOne * * - Returns user accounts from identity providers * - Supports filtering by search and status * * - **Role Grants Services**: GCP, Azure (when role grants are enabled) * * - Returns accounts with role-based access grants * - Supports filtering by search and status * * - **First-Party Account Services**: AWS, Oracle Cloud, Azure (when not using role grants), etc. * * - Returns cloud provider account access records * - Supports filtering by search and status * * - **Received Account Services**: External applications (Jira, GitHub, Slack, etc.) * * - Returns user accounts from third-party integrations * - Supports filtering by search and status * * Supports filtering by: * - `search`: Searches account names/emails (case-insensitive) * - `status`: Filters by account status * * Uses cursor-based pagination. To paginate: * 1. Make initial request with desired `pageSize` * 2. Check `results.pageInfo.hasNextPage` * 3. Use `results.pageInfo.endCursor` as `pageCursor` for next request * * The default sort order depends on the service type: * - Identity provider services (e.g. Okta, Azure AD): sorted by email, ascending * - Cloud provider services (e.g. AWS, GCP): sorted by account name, ascending * - Role grant services: sorted by account name, ascending * - Third-party application services (e.g. GitHub, Jira): sorted by account name, ascending * * Sort order cannot be customized via query parameters. * * Returns 404 when `serviceId` is not listed by the * `/personnel/account-access/services` endpoint for this audit. * * Audits with system segments are not supported by this endpoint. * * Only Controlled Audit View (CAV) audits are supported. Full Audit View * audits are rejected with 403. Returns 403 if the customer has not made * this population page visible to auditors. * * Rate limit: 10 requests / minute. */ export declare function auditsListPersonnelAccountAccess(client: VantaCore, request: operations.ListPersonnelAccountAccessRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=auditsListPersonnelAccountAccess.d.ts.map