Skip to main content

List Resource Compliance Discoveries

GET 

/api/v1/infra/collections/:collectionId/resources/:resourceId/complianceDiscoveries

Retrieves a paginated list of all public cloud resources within a collection for a specific user context. Returns resource summaries including names, types, status, and basic configuration details for inventory management.

Parameter Details

Header Parameters

  • apiKey (required): API key for authentication. This header is required for all API requests to authenticate the client.

  • integrationid (required): Unique identifier for the cloud provider integration configured in your Unizo account. This UUID associates the API request with the specific cloud account credentials and permissions.

Path Parameters

  • collectionId (required): Unique identifier for the collection within the specified cloud provider. Format varies by provider:

    • AWS: Region identifier for compliance environments (e.g., us-east-1 for US compliance, eu-west-1 for GDPR compliance)
    • Google Cloud: Project ID for governance environments (e.g., prod-compliance-env, audit-data-project-2024)
    • Azure: Use "default" when no specific subscription or resource group mapping is configured
    • Other providers: Provider-specific collection identifiers
  • resourceId (required): Unique identifier for the infrastructure resource within the cloud provider. Format examples:

Query Parameters

  • offset: Starting position for pagination (default: 0). Use this to skip a specific number of resource records during security assessments and compliance scans. For example, offset=20 starts from the 21st resource for large infrastructure audits.

  • limit: Maximum number of resources to return per page (default: 50, max: 200). Optimize performance by requesting only the number of records you need for governance reviews and risk assessments.

  • type: Filter by compliance discovery type. Supported values: buckets, keys.

Request

Responses

Successful Operation