---
title: "Get resource by ID"
method: GET
path: "/integrations/{integrationId}/resource-kinds/{resourceKind}/resources/{resourceId}"
tags: ["Integrations"]
---

# Get resource by ID

`GET /integrations/{integrationId}/resource-kinds/{resourceKind}/resources/{resourceId}`

Gets resource by its ID.

## Path parameters

- `integrationId` string, required
- `resourceKind` string, required
- `resourceId` string, required

## Response `200`

Ok

- union
  - Resource
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
  - CloudInfrastructure
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
    - `account` string, required — Name of the account associated with the Resource
    - `region` string, required — Region in which the Resource is located
  - ContainerRepository
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
    - `account` string, required — Name of the account associated with the Resource
    - `region` string, required — Region in which the Resource is located
    - `isAutoscanEnabled` boolean, nullable, required — Whether autoscans have been enabled
  - Database
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
    - `account` string, required — Name of the account associated with the Database
    - `areBackupsEnabled` boolean, nullable, required — Whether backups are enabled for the Database
    - `isEncrypted` boolean, required — Whether the Database is encrypted
    - `containsEphi` boolean, nullable, required — Whether the Database contains Ephi
    - `containsUserData` boolean, nullable, required — Whether the Database contains user data
  - Device
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
    - `operatingSystemName` string, required — Name of the operating system
    - `isEncrypted` boolean, nullable, required — Whether the Device is encrypted
    - `containsEphi` boolean, nullable, required — Whether the Device contains Ephi
    - `containsUserData` boolean, nullable, required — Whether the Device contains user data
  - PaaS
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
    - `containsEphi` boolean, nullable, required — Whether the PaaS contains Ephi
    - `containsUserData` boolean, nullable, required — Whether the PaaS contains user data
  - Queue
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
    - `account` string, required — Name of the account associated with the Resource
    - `region` string, required — Region in which the Resource is located
    - `containsEphi` boolean, nullable, required — Whether the Queue contains Ephi
    - `containsUserData` boolean, nullable, required — Whether the Queue contains user data
  - StorageBucket
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
    - `account` string, required — Name of the account associated with the Resource
    - `region` string, required — Region in which the Resource is located
    - `isEncrypted` boolean, required — Whether the StorageBucket is encrypted
    - `containsEphi` boolean, nullable, required — Whether the StorageBucket contains Ephi
    - `containsUserData` boolean, nullable, required — Whether the StorageBucket contains user data
    - `isVersioned` boolean, nullable, required — Whether the StorageBucket is versioned
  - Account
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
    - `accountName` string, required — Name associated with the Account
    - `roles` string[], required — Any role(s) assigned to the Account
    - `groups` string[], required — Any groups to which the Account belongs
    - `isDeactivated` boolean, required — Whether the account has been deactivated/disabled/deleted.
    - `isMfaEnabled` boolean, nullable, required — Whether MFA has been enabled for the account.
  - AwsAccount
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
    - `accountName` string, required — Name associated with the Account
    - `roles` string[], required — Any role(s) assigned to the Account
    - `groups` string[], required — Any groups to which the Account belongs
    - `isDeactivated` boolean, required — Whether the account has been deactivated/disabled/deleted.
    - `isMfaEnabled` boolean, nullable, required — Whether MFA has been enabled for the account.
    - `awsUserAccountId` string, required — The AWS user account ID associated with the account
    - `awsAccountNumber` string, required — AWS account number (12 digit number) that uniquely identifies your AWS account
    - `accessKeys` AccessKeyInfo[], required — The list of access keys associated with the AWS account
      - `accessKeyId` string, required — The access key ID
      - `status` string, required — The status of the access key
  - OrganizationSubunit
    - `responseType` 'Account' | 'AutoScalingGroup' | 'ClusterDeployment' | 'ComputeInstance' | 'ContainerCluster' | 'ContainerRepository' | 'Database' | 'Device' | 'GitRepository' | 'KubernetesCluster' | 'LoadBalancer' | 'PaaS' | 'Resource' | 'Queue' | 'ServerlessFunction' | 'StorageBucket', required
    - `resourceKind` string, required — The identifier for the resource type, unique within the scope of an Integration.
    - `resourceId` string, required — The unique identifier for the Resource.
    - `connectionId` string, nullable, required — The unique identifier for the Connection used to ingest the Resource if it exists.
    - `displayName` string, required — The Resource's display name.
    - `owner` string, nullable, required — The unique identifier for the owner of the resource in Vanta.
    - `inScope` boolean, required — Whether the resource is in scope for audits.
    - `description` string, nullable, required — The description of the resource in Vanta.
    - `creationDate` string, date-time, required — When Vanta first ingested the Resource.
    - `deletedDate` string, date-time, nullable — When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted.
    - `accountId` string, nullable, required — Account ID corresponding to the subunit. Could be null if the subunit is not an account, e.g. a subscription

---

[API](https://skmtc.net/vanta/apis/build-integrations.md) · [All operations](https://skmtc.net/vanta/apis/build-integrations/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vanta/build-integrations/revisions/6c1f7590538b/schema)
