> ## Documentation Index
> Fetch the complete documentation index at: https://developer.vanta.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get resource by ID

> Gets resource by its ID.



## OpenAPI

````yaml /reference/manage-vanta.json get /integrations/{integrationId}/resource-kinds/{resourceKind}/resources/{resourceId}
openapi: 3.0.0
info:
  title: Manage Vanta
  version: 1.0.0
  description: >-
    The REST API lets customers query and mutate Vanta's data. Use this API to
    automate bulk actions, query data for custom workflows and dashboards, and
    bolster your security operations


    **Note for Vanta Gov (FedRAMP) customers:** Select `Vanta Gov (FedRAMP)`
    from the server dropdown to issue requests against
    `https://api.vanta-gov.com`. The OAuth token URL shown below defaults to the
    commercial host — replace it with `https://api.vanta-gov.com/oauth/token`.
  termsOfService: https://www.vanta.com/terms
  license:
    name: UNLICENSED
  contact:
    name: API Support
    url: https://help.vanta.com/
    email: support@vanta.com
servers:
  - url: https://api.vanta.com/v1
    description: Vanta (Commercial)
  - url: https://api.vanta-gov.com/v1
    description: Vanta Gov (FedRAMP)
security: []
paths:
  /integrations/{integrationId}/resource-kinds/{resourceKind}/resources/{resourceId}:
    get:
      tags:
        - Integrations
      summary: Get resource by ID
      description: Gets resource by its ID.
      operationId: GetResource
      parameters:
        - description: Unique identifier of the integration.
          in: path
          name: integrationId
          required: true
          schema:
            type: string
        - description: Unique identifier of the integration resource kind.
          in: path
          name: resourceKind
          required: true
          schema:
            type: string
        - description: Unique identifier of the resource.
          in: path
          name: resourceId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnyResource'
              examples:
                Example 1:
                  value:
                    responseType: Resource
                    resourceKind: AsanaTask
                    resourceId: 5e7400d77a8e3731ab2d5c8e
                    connectionId: 62ffd6793ef7978318baefa8
                    displayName: My Security Task
                    owner: null
                    inScope: true
                    description: null
                    creationDate: '2024-03-06T19:02:25.202Z'
                Example 2:
                  value:
                    responseType: Account
                    resourceKind: AsanaAccount
                    resourceId: 5e7400d77a8e3731ab2d5c8e
                    connectionId: 62ffd6793ef7978318baefa8
                    displayName: Vlad's Account
                    owner: 5e56b1e0188626620a828894
                    inScope: true
                    description: null
                    creationDate: '2024-03-06T19:02:25.202Z'
                    accountName: vlads_account
                    roles:
                      - admin
                    groups:
                      - admin
                    isDeactivated: false
                    isMfaEnabled: null
                Example 3:
                  value:
                    responseType: Account
                    resourceKind: AwsAccount
                    resourceId: 5e7400d77a8e3731ab2d5c8e
                    connectionId: 62ffd6793ef7978318baefa8
                    displayName: Vlad's AWS Account
                    owner: 5e56b1e0188626620a828894
                    inScope: true
                    description: null
                    creationDate: '2024-03-06T19:02:25.202Z'
                    accountName: vlads_aws_account
                    roles:
                      - admin
                    groups:
                      - admin
                    isDeactivated: false
                    isMfaEnabled: true
                    awsUserAccountId: ABCD1234567890
                    awsAccountNumber: '123456789012'
                    accessKeys:
                      - accessKeyId: EXMAPLEKEY1
                        status: Active
                      - accessKeyId: EXAMPLEKEY2
                        status: Inactive
                Example 4:
                  value:
                    responseType: Database
                    resourceKind: DocumentDBCluster
                    resourceId: 661095bd5397b9c17793c420
                    connectionId: 661095bd5397b9c17793c41d
                    displayName: document-db-cluster
                    owner: null
                    inScope: true
                    description: null
                    creationDate: '2024-03-27T00:56:20.483Z'
                    account: aws-account
                    areBackupsEnabled: true
                    isEncrypted: true
                    containsEphi: null
                    containsUserData: null
                Example 5:
                  value:
                    responseType: Device
                    resourceKind: JamfManagedComputer
                    resourceId: 661092077f68e200f850eb6a
                    connectionId: 661092077f68e200f850eb67
                    displayName: jamf-managed-computer
                    owner: null
                    inScope: true
                    description: null
                    creationDate: '2024-03-27T00:56:20.483Z'
                    operatingSystemName: windows
                    isEncrypted: true
                    containsEphi: true
                    containsUserData: true
                Example 6:
                  value:
                    responseType: PaaS
                    resourceKind: DigitalOceanApp
                    resourceId: 66108f3890aac655f7d957ae
                    connectionId: 66108f3890aac655f7d957ab
                    displayName: digital-ocean-app
                    owner: null
                    inScope: true
                    description: digital ocean paas app
                    creationDate: '2024-03-27T00:56:20.483Z'
                    containsEphi: null
                    containsUserData: null
                Example 7:
                  value:
                    responseType: Queue
                    resourceKind: SQS
                    resourceId: 6611eafe02a95ea7f943962f
                    connectionId: 6611eafe02a95ea7f943962c
                    displayName: aws-resource
                    owner: null
                    inScope: true
                    description: null
                    creationDate: '2024-03-27T00:56:20.483Z'
                    account: aws-account
                    region: us-east-1
                    containsEphi: null
                    containsUserData: null
                Example 8:
                  value:
                    responseType: StorageBucket
                    resourceKind: S3
                    resourceId: 6611ec449e231114e49ef91b
                    connectionId: 6611ec449e231114e49ef918
                    displayName: aws-resource
                    owner: null
                    inScope: true
                    description: null
                    creationDate: '2024-03-27T00:56:20.483Z'
                    account: aws-account
                    region: ''
                    isEncrypted: true
                    isVersioned: true
                    containsEphi: null
                    containsUserData: null
                Example 9:
                  value:
                    responseType: ContainerRepository
                    resourceKind: ECRContainerRepository
                    resourceId: 661303e12990509c5874a7b9
                    connectionId: 661303e12990509c5874a7b6
                    displayName: aws-resource
                    owner: null
                    inScope: true
                    description: null
                    creationDate: '2024-03-27T00:56:20.483Z'
                    account: aws-account
                    region: us-east-1
                    isAutoscanEnabled: true
                    packageType: null
                    repositoryClass: null
                Example 10:
                  value:
                    responseType: Artifact
                    resourceKind: JFrogArtifact
                    resourceId: 661303e12990509c5874a7b9
                    connectionId: 661303e12990509c5874a7b6
                    displayName: example-1.0.0.jar
                    owner: null
                    inScope: true
                    description: null
                    creationDate: '2024-03-27T00:56:20.483Z'
                    packageType: maven
                    repository: maven-local
                    repositoryClass: LOCAL
                    path: com/example/1.0.0
                    sizeBytes: 4096
                    sha256: null
                    sha1: null
                    sha1Original: null
                    md5: null
                    md5Original: null
                    fileCreationDate: '2024-03-26T15:30:00.000Z'
                    uploadDate: null
                    lastModifiedDate: null
                    createdBy: release-bot
                    modifiedBy: null
                    downloadCount: 0
                    remoteDownloadCount: 0
                    lastDownloadDate: null
                    lastDownloadedBy: null
      security:
        - bearerAuth: []
components:
  schemas:
    AnyResource:
      anyOf:
        - $ref: '#/components/schemas/Resource'
        - $ref: '#/components/schemas/Artifact'
        - $ref: '#/components/schemas/CloudInfrastructure'
        - $ref: '#/components/schemas/ContainerRepository'
        - $ref: '#/components/schemas/Database'
        - $ref: '#/components/schemas/Device'
        - $ref: '#/components/schemas/PaaS'
        - $ref: '#/components/schemas/Queue'
        - $ref: '#/components/schemas/StorageBucket'
        - $ref: '#/components/schemas/Account'
        - $ref: '#/components/schemas/AwsAccount'
        - $ref: '#/components/schemas/OrganizationSubunit'
    Resource:
      title: Resource
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
      type: object
      additionalProperties: false
    Artifact:
      title: Artifact
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType.Artifact'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        packageType:
          type: string
          description: The package format, such as Maven or npm.
        repository:
          type: string
          description: The repository key in JFrog.
        repositoryClass:
          type: string
          description: The JFrog repository class. Currently `LOCAL` or `FEDERATED`.
        path:
          type: string
          nullable: true
          description: The directory path within the repository. A dot denotes the root.
        sizeBytes:
          type: number
          format: double
          nullable: true
          description: The file size in bytes.
        sha256:
          type: string
          nullable: true
          description: The file's SHA-256 checksum.
        sha1:
          type: string
          nullable: true
          description: The SHA-1 checksum calculated by JFrog.
        sha1Original:
          type: string
          nullable: true
          description: The original SHA-1 checksum supplied on upload, when available.
        md5:
          type: string
          nullable: true
          description: The MD5 checksum calculated by JFrog.
        md5Original:
          type: string
          nullable: true
          description: The original MD5 checksum supplied on upload, when available.
        fileCreationDate:
          type: string
          format: date-time
          nullable: true
          description: When JFrog created the file.
        uploadDate:
          type: string
          format: date-time
          nullable: true
          description: When JFrog recorded the file upload.
        lastModifiedDate:
          type: string
          format: date-time
          nullable: true
          description: When JFrog last modified the file.
        createdBy:
          type: string
          nullable: true
          description: The JFrog user who uploaded the file.
        modifiedBy:
          type: string
          nullable: true
          description: The JFrog user who last modified the file.
        downloadCount:
          type: number
          format: double
          nullable: true
          description: The download count recorded by JFrog.
        remoteDownloadCount:
          type: number
          format: double
          nullable: true
          description: The remote download count recorded by JFrog.
        lastDownloadDate:
          type: string
          format: date-time
          nullable: true
          description: When JFrog last recorded a download of the file.
        lastDownloadedBy:
          type: string
          nullable: true
          description: The JFrog user who last downloaded the file.
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - packageType
        - repository
        - repositoryClass
        - path
        - sizeBytes
        - sha256
        - sha1
        - sha1Original
        - md5
        - md5Original
        - fileCreationDate
        - uploadDate
        - lastModifiedDate
        - createdBy
        - modifiedBy
        - downloadCount
        - remoteDownloadCount
        - lastDownloadDate
        - lastDownloadedBy
      type: object
      additionalProperties: false
    CloudInfrastructure:
      title: CloudInfrastructure
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        account:
          type: string
          description: Name of the account associated with the Resource
        region:
          type: string
          description: Region in which the Resource is located
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - account
        - region
      type: object
      additionalProperties: false
    ContainerRepository:
      title: ContainerRepository
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        account:
          type: string
          description: Name of the account associated with the Resource
        region:
          type: string
          description: Region in which the Resource is located
        isAutoscanEnabled:
          type: boolean
          nullable: true
          description: Whether autoscans have been enabled
        packageType:
          type: string
          nullable: true
          description: >-
            The JFrog package format. Currently `DOCKER`, `OCI`, or `HELMOCI`.
            Null for other providers.
        repositoryClass:
          type: string
          nullable: true
          description: >-
            The JFrog repository class. Currently `LOCAL` or `FEDERATED`. Null
            for other providers.
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - account
        - region
        - isAutoscanEnabled
        - packageType
        - repositoryClass
      type: object
      additionalProperties: false
    Database:
      title: Database
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        account:
          type: string
          description: Name of the account associated with the Database
        areBackupsEnabled:
          type: boolean
          nullable: true
          description: Whether backups are enabled for the Database
        isEncrypted:
          type: boolean
          description: Whether the Database is encrypted
        containsEphi:
          type: boolean
          nullable: true
          description: Whether the Database contains Ephi
        containsUserData:
          type: boolean
          nullable: true
          description: Whether the Database contains user data
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - account
        - areBackupsEnabled
        - isEncrypted
        - containsEphi
        - containsUserData
      type: object
      additionalProperties: false
    Device:
      title: Device
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        operatingSystemName:
          type: string
          description: Name of the operating system
        isEncrypted:
          type: boolean
          nullable: true
          description: Whether the Device is encrypted
        containsEphi:
          type: boolean
          nullable: true
          description: Whether the Device contains Ephi
        containsUserData:
          type: boolean
          nullable: true
          description: Whether the Device contains user data
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - operatingSystemName
        - isEncrypted
        - containsEphi
        - containsUserData
      type: object
      additionalProperties: false
    PaaS:
      title: PaaS
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        containsEphi:
          type: boolean
          nullable: true
          description: Whether the PaaS contains Ephi
        containsUserData:
          type: boolean
          nullable: true
          description: Whether the PaaS contains user data
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - containsEphi
        - containsUserData
      type: object
      additionalProperties: false
    Queue:
      title: Queue
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        account:
          type: string
          description: Name of the account associated with the Resource
        region:
          type: string
          description: Region in which the Resource is located
        containsEphi:
          type: boolean
          nullable: true
          description: Whether the Queue contains Ephi
        containsUserData:
          type: boolean
          nullable: true
          description: Whether the Queue contains user data
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - account
        - region
        - containsEphi
        - containsUserData
      type: object
      additionalProperties: false
    StorageBucket:
      title: StorageBucket
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        account:
          type: string
          description: Name of the account associated with the Resource
        region:
          type: string
          description: Region in which the Resource is located
        isEncrypted:
          type: boolean
          description: Whether the StorageBucket is encrypted
        containsEphi:
          type: boolean
          nullable: true
          description: Whether the StorageBucket contains Ephi
        containsUserData:
          type: boolean
          nullable: true
          description: Whether the StorageBucket contains user data
        isVersioned:
          type: boolean
          nullable: true
          description: Whether the StorageBucket is versioned
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - account
        - region
        - isEncrypted
        - containsEphi
        - containsUserData
        - isVersioned
      type: object
      additionalProperties: false
    Account:
      title: Account
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        accountName:
          type: string
          description: Name associated with the Account
        roles:
          items:
            type: string
          type: array
          description: Any role(s) assigned to the Account
        groups:
          items:
            type: string
          type: array
          description: Any groups to which the Account belongs
        isDeactivated:
          type: boolean
          description: Whether the account has been deactivated/disabled/deleted.
        isMfaEnabled:
          type: boolean
          nullable: true
          description: Whether MFA has been enabled for the account.
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - accountName
        - roles
        - groups
        - isDeactivated
        - isMfaEnabled
      type: object
      additionalProperties: false
    AwsAccount:
      title: AwsAccount
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        accountName:
          type: string
          description: Name associated with the Account
        roles:
          items:
            type: string
          type: array
          description: Any role(s) assigned to the Account
        groups:
          items:
            type: string
          type: array
          description: Any groups to which the Account belongs
        isDeactivated:
          type: boolean
          description: Whether the account has been deactivated/disabled/deleted.
        isMfaEnabled:
          type: boolean
          nullable: true
          description: Whether MFA has been enabled for the account.
        awsUserAccountId:
          type: string
          description: The AWS user account ID associated with the account
        awsAccountNumber:
          type: string
          description: >-
            AWS account number (12 digit number) that uniquely identifies your
            AWS account
        accessKeys:
          items:
            $ref: '#/components/schemas/AccessKeyInfo'
          type: array
          description: The list of access keys associated with the AWS account
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - accountName
        - roles
        - groups
        - isDeactivated
        - isMfaEnabled
        - awsUserAccountId
        - awsAccountNumber
        - accessKeys
      type: object
      additionalProperties: false
    OrganizationSubunit:
      title: OrganizationSubunit
      properties:
        responseType:
          $ref: '#/components/schemas/ResourceResponseType'
        resourceKind:
          type: string
          description: >-
            The identifier for the resource type, unique within the scope of an
            Integration.
        resourceId:
          type: string
          description: The unique identifier for the Resource.
        connectionId:
          type: string
          nullable: true
          description: >-
            The unique identifier for the Connection used to ingest the Resource
            if it exists.
        displayName:
          type: string
          description: The Resource's display name.
        owner:
          type: string
          nullable: true
          description: The unique identifier for the owner of the resource in Vanta.
        inScope:
          type: boolean
          description: Whether the resource is in scope for audits.
        description:
          type: string
          nullable: true
          description: The description of the resource in Vanta.
        creationDate:
          type: string
          format: date-time
          description: When Vanta first ingested the Resource.
        deletedDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the resource was deleted/removed from the integration, if
            applicable.

            This field is only present when the resource has been deleted.
        accountId:
          type: string
          nullable: true
          description: >-
            Account ID corresponding to the subunit. Could be null if the
            subunit is not an account, e.g. a subscription
      required:
        - responseType
        - resourceKind
        - resourceId
        - connectionId
        - displayName
        - owner
        - inScope
        - description
        - creationDate
        - accountId
      type: object
      additionalProperties: false
    ResourceResponseType:
      enum:
        - Account
        - Artifact
        - AutoScalingGroup
        - ClusterDeployment
        - ComputeInstance
        - ContainerCluster
        - ContainerRepository
        - Database
        - Device
        - GitRepository
        - KubernetesCluster
        - LoadBalancer
        - PaaS
        - Resource
        - Queue
        - ServerlessFunction
        - StorageBucket
      type: string
    ResourceResponseType.Artifact:
      enum:
        - Artifact
      type: string
    AccessKeyInfo:
      properties:
        accessKeyId:
          type: string
          description: The access key ID
        status:
          type: string
          description: The status of the access key
      required:
        - accessKeyId
        - status
      type: object
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

## Related topics

- [Get Knowledge Base resource](https://developer.vanta.com/api-reference/knowledge-base/get-knowledge-base-resource.md)
- [Get details for resource kind](https://developer.vanta.com/api-reference/integrations/get-details-for-resource-kind.md)
- [Scope resources in or out](https://developer.vanta.com/docs/guides/scope-resources-at-the-integration-level.md)
- [Add owners to resources](https://developer.vanta.com/docs/guides/add-owners-to-resources.md)
- [Get vulnerable asset by ID](https://developer.vanta.com/api-reference/vulnerable-assets/get-vulnerable-asset-by-id.md)
