Default Layout

U Read column and table comments by hovering the columns and tables. Zoom with CTRL+whell mouse button, pan by dragging the diagram with the right-mouse button Default Layout Interactive docs: mouse-over comments, zoom and pan DbSchema.com © 2024-11-15 Wise CodersDbSchema is an universal database designer. DbSchema has a free Community Edition. 🔗 Foreign Key FK_Annotation_AnnotationClass Annotation ref AnnotationClass ( AnnotationClassID -> ID ) 🔗 Foreign Key FK_Annotation_AnnotationClass Annotation ref AnnotationClass ( AnnotationClassID -> ID ) AnnotationClassID 🔗 Foreign Key FK_AnnotationCodeDisplayName_AnnotationCode AnnotationCodeLocalizedDisplayName ref AnnotationCode ( AnnotationCodeID -> ID ) 🔗 Foreign Key FK_AnnotationCodeDisplayName_AnnotationCode AnnotationCodeLocalizedDisplayName ref AnnotationCode ( AnnotationCodeID -> ID ) AnnotationCodeID 🔗 Foreign Key FK_AnnotationCodeDisplayName_Language AnnotationCodeLocalizedDisplayName ref Language ( LanguageID -> ID ) 🔗 Foreign Key FK_AnnotationCodeDisplayName_Language AnnotationCodeLocalizedDisplayName ref Language ( LanguageID -> ID ) LanguageID 🔗 Foreign Key FK_AnnotationLabel_Annotation AnnotationLabel ref Annotation ( AnnotationID -> ID ) 🔗 Foreign Key FK_AnnotationLabel_Annotation AnnotationLabel ref Annotation ( AnnotationID -> ID ) AnnotationID 🔗 Foreign Key FK_AnnotationLabel_Language AnnotationLabel ref Language ( LanguageID -> ID ) 🔗 Foreign Key FK_AnnotationLabel_Language AnnotationLabel ref Language ( LanguageID -> ID ) LanguageID 🔗 Foreign Key FK_AnnotationProperty_Annotation AnnotationProperty ref Annotation ( AnnotationID -> ID ) 🔗 Foreign Key FK_AnnotationProperty_Annotation AnnotationProperty ref Annotation ( AnnotationID -> ID ) AnnotationID 🔗 Foreign Key FK_AnnotationProperty_Currency AnnotationProperty ref Currency ( CurrencyID -> ID ) 🔗 Foreign Key FK_AnnotationProperty_Currency AnnotationProperty ref Currency ( CurrencyID -> ID ) CurrencyID 🔗 Foreign Key FK_AnnotationPropertyAnnotationCode_AnnotationCode AnnotationPropertyAnnotationCode ref AnnotationCode ( AnnotationCodeID -> ID ) 🔗 Foreign Key FK_AnnotationPropertyAnnotationCode_AnnotationCode AnnotationPropertyAnnotationCode ref AnnotationCode ( AnnotationCodeID -> ID ) AnnotationCodeID 🔗 Foreign Key FK_AnnotationPropertyAnnotationCode_AnnotationProperty AnnotationPropertyAnnotationCode ref AnnotationProperty ( AnnotationPropertyID -> ID ) 🔗 Foreign Key FK_AnnotationPropertyAnnotationCode_AnnotationProperty AnnotationPropertyAnnotationCode ref AnnotationProperty ( AnnotationPropertyID -> ID ) AnnotationPropertyID 🔗 Foreign Key FK_AuditDetail_AuditObject AuditDetail ref AuditObject ( AuditObjectID -> ID ) 🔗 Foreign Key FK_AuditDetail_AuditObject AuditDetail ref AuditObject ( AuditObjectID -> ID ) AuditObjectID 🔗 Foreign Key FK_CloudApp_CloudProviderAccount CloudApp ref CloudProviderAccount ( CloudProviderAccountID -> ID ) 🔗 Foreign Key FK_CloudApp_CloudProviderAccount CloudApp ref CloudProviderAccount ( CloudProviderAccountID -> ID ) CloudProviderAccountID 🔗 Foreign Key FK_CloudProviderAccount_CloudProvider CloudProviderAccount ref CloudProvider ( CloudProviderID -> ID ) 🔗 Foreign Key FK_CloudProviderAccount_CloudProvider CloudProviderAccount ref CloudProvider ( CloudProviderID -> ID ) CloudProviderID 🔗 Foreign Key FK_CloutProviderAccountLicensingPlang_CloudProviderAccount CloudProviderAccountLicensingPlan ref CloudProviderAccount ( CloudProviderAccountID -> ID ) 🔗 Foreign Key FK_CloutProviderAccountLicensingPlang_CloudProviderAccount CloudProviderAccountLicensingPlan ref CloudProviderAccount ( CloudProviderAccountID -> ID ) CloudProviderAccountID 🔗 Foreign Key FK_CloudProviderAccountLicensingPlanCloudProviderService_CloudProviderService CloudProviderAccountLicensingPlanCloudProviderService ref CloudProviderService ( CloudProviderServiceID -> ID ) 🔗 Foreign Key FK_CloudProviderAccountLicensingPlanCloudProviderService_CloudProviderService CloudProviderAccountLicensingPlanCloudProviderService ref CloudProviderService ( CloudProviderServiceID -> ID ) CloudProviderServiceID 🔗 Foreign Key FK_CloudProviderAccountLicensingPlanHistory_CloudProviderAccountLicensingPlan CloudProviderAccountLicensingPlanHistory ref CloudProviderAccountLicensingPlan ( CloudProviderAccountLicensingPlanID -> ID ) 🔗 Foreign Key FK_CloudProviderAccountLicensingPlanHistory_CloudProviderAccountLicensingPlan CloudProviderAccountLicensingPlanHistory ref CloudProviderAccountLicensingPlan ( CloudProviderAccountLicensingPlanID -> ID ) CloudProviderAccountLicensingPlanID 🔗 Foreign Key FK_CloudProviderAccountScanHistory_CloudProviderAccount CloudProviderAccountScanHistory ref CloudProviderAccount ( CloudProviderAccountID -> ID ) 🔗 Foreign Key FK_CloudProviderAccountScanHistory_CloudProviderAccount CloudProviderAccountScanHistory ref CloudProviderAccount ( CloudProviderAccountID -> ID ) CloudProviderAccountID 🔗 Foreign Key FK_CloudProviderService_CloudProvider CloudProviderService ref CloudProvider ( CloudProviderID -> ID ) 🔗 Foreign Key FK_CloudProviderService_CloudProvider CloudProviderService ref CloudProvider ( CloudProviderID -> ID ) CloudProviderID 🔗 Foreign Key FK_CloudUser_CloudProviderAccount CloudUser ref CloudProviderAccount ( CloudProviderAccountID -> ID ) 🔗 Foreign Key FK_CloudUser_CloudProviderAccount CloudUser ref CloudProviderAccount ( CloudProviderAccountID -> ID ) CloudProviderAccountID 🔗 Foreign Key FK_CloudUser_User CloudUser ref User ( UserID -> ID ) 🔗 Foreign Key FK_CloudUser_User CloudUser ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_Cluster_ClusterType Cluster ref ClusterType ( ClusterTypeID -> ID ) 🔗 Foreign Key FK_Cluster_ClusterType Cluster ref ClusterType ( ClusterTypeID -> ID ) ClusterTypeID 🔗 Foreign Key FK_Cluster_Datacenter Cluster ref Datacenter ( DatacenterID -> ID ) 🔗 Foreign Key FK_Cluster_Datacenter Cluster ref Datacenter ( DatacenterID -> ID ) DatacenterID 🔗 Foreign Key FK_Code_CodeClass Code ref CodeClass ( CodeClassID -> ID ) 🔗 Foreign Key FK_Code_CodeClass Code ref CodeClass ( CodeClassID -> ID ) CodeClassID 🔗 Foreign Key FK_ConnectedSystem_ConnectedSystemType ConnectedSystem ref ConnectedSystemType ( ConnectedSystemTypeID -> ID ) 🔗 Foreign Key FK_ConnectedSystem_ConnectedSystemType ConnectedSystem ref ConnectedSystemType ( ConnectedSystemTypeID -> ID ) ConnectedSystemTypeID 🔗 Foreign Key FK_ConnectedSystemHistory_ConnectedSystem ConnectedSystemHistory ref ConnectedSystem ( ConnectedSystemID -> ID ) 🔗 Foreign Key FK_ConnectedSystemHistory_ConnectedSystem ConnectedSystemHistory ref ConnectedSystem ( ConnectedSystemID -> ID ) ConnectedSystemID 🔗 Foreign Key FK_Datacenter_VirtualizationManagementSystem Datacenter ref VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) 🔗 Foreign Key FK_Datacenter_VirtualizationManagementSystem Datacenter ref VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) VirtualizationManagementSystemID 🔗 Foreign Key FK_DirectoryMissingMachine_Organization DirectoryMissingMachine ref Organization ( OrganizationID -> ID ) 🔗 Foreign Key FK_DirectoryMissingMachine_Organization DirectoryMissingMachine ref Organization ( OrganizationID -> ID ) OrganizationID 🔗 Foreign Key FK_DirectoryMissingMachineGroup_DirectoryMissingMachine DirectoryMissingMachineGroup ref DirectoryMissingMachine ( DirectoryMissingMachineID -> ID ) 🔗 Foreign Key FK_DirectoryMissingMachineGroup_DirectoryMissingMachine DirectoryMissingMachineGroup ref DirectoryMissingMachine ( DirectoryMissingMachineID -> ID ) DirectoryMissingMachineID 🔗 Foreign Key FK_DirectoryMissingMachineGroup_Group DirectoryMissingMachineGroup ref Group ( GroupID -> ID ) 🔗 Foreign Key FK_DirectoryMissingMachineGroup_Group DirectoryMissingMachineGroup ref Group ( GroupID -> ID ) GroupID 🔗 Foreign Key FK_DirectoryMissingUser_Organization DirectoryMissingUser ref Organization ( OrganizationID -> ID ) 🔗 Foreign Key FK_DirectoryMissingUser_Organization DirectoryMissingUser ref Organization ( OrganizationID -> ID ) OrganizationID 🔗 Foreign Key FK_DirectoryMissingUserGroup_DirectoryMissingUser DirectoryMissingUserGroup ref DirectoryMissingUser ( DirectoryMissingUserID -> ID ) 🔗 Foreign Key FK_DirectoryMissingUserGroup_DirectoryMissingUser DirectoryMissingUserGroup ref DirectoryMissingUser ( DirectoryMissingUserID -> ID ) DirectoryMissingUserID 🔗 Foreign Key FK_DirectoryMissingUserGroup_Group DirectoryMissingUserGroup ref Group ( GroupID -> ID ) 🔗 Foreign Key FK_DirectoryMissingUserGroup_Group DirectoryMissingUserGroup ref Group ( GroupID -> ID ) GroupID 🔗 Foreign Key FK_Group_GroupType Group ref GroupType ( GroupTypeID -> ID ) 🔗 Foreign Key FK_Group_GroupType Group ref GroupType ( GroupTypeID -> ID ) GroupTypeID 🔗 Foreign Key FK_Group_GroupingProvider Group ref GroupingProvider ( GroupingProviderID -> ID ) 🔗 Foreign Key FK_Group_GroupingProvider Group ref GroupingProvider ( GroupingProviderID -> ID ) GroupingProviderID 🔗 Foreign Key FK_GroupScanHistory_Group GroupScanHistory ref Group ( GroupID -> ID ) 🔗 Foreign Key FK_GroupScanHistory_Group GroupScanHistory ref Group ( GroupID -> ID ) GroupID 🔗 Foreign Key FK_GroupingProviderScanHistory_GroupingProviderScanHistory GroupingProviderScanHistory ref GroupingProvider ( GroupingProviderID -> ID ) 🔗 Foreign Key FK_GroupingProviderScanHistory_GroupingProviderScanHistory GroupingProviderScanHistory ref GroupingProvider ( GroupingProviderID -> ID ) GroupingProviderID 🔗 Foreign Key FK_ImportControl_ImportFolder ImportControl ref ImportFolder ( ImportFolderID -> ID ) 🔗 Foreign Key FK_ImportControl_ImportFolder ImportControl ref ImportFolder ( ImportFolderID -> ID ) ImportFolderID 🔗 Foreign Key FK_ImportControl_Machine ImportControl ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_ImportControl_Machine ImportControl ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_ImportControl_User ImportControl ref User ( UserID -> ID ) 🔗 Foreign Key FK_ImportControl_User ImportControl ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_ImportControlMessage_ImportControl ImportControlMessage ref ImportControl ( ImportControlID -> ID ) 🔗 Foreign Key FK_ImportControlMessage_ImportControl ImportControlMessage ref ImportControl ( ImportControlID -> ID ) ImportControlID 🔗 Foreign Key FK_ImportFolder_ImportFolder ImportFolder ref ImportFolder ( ID ) 🔗 Foreign Key FK_ImportFolder_ImportFolder ImportFolder ref ImportFolder ( ID ) ID 🔗 Foreign Key FK_LicenseManagerRbacUserFavoriteFeature_RbacUser LicenseManagerRbacUserFavoriteFeature ref RbacUser ( RbacUserID -> ID ) 🔗 Foreign Key FK_LicenseManagerRbacUserFavoriteFeature_RbacUser LicenseManagerRbacUserFavoriteFeature ref RbacUser ( RbacUserID -> ID ) RbacUserID 🔗 Foreign Key FK_LicensenManagerRbacUserFavoriteFeature_LicensenseManagerRbacUserFavoriteFeature LicenseManagerRbacUserFavoriteFeature ref LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) 🔗 Foreign Key FK_LicensenManagerRbacUserFavoriteFeature_LicensenseManagerRbacUserFavoriteFeature LicenseManagerRbacUserFavoriteFeature ref LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) LicenseManagerServerFeatureID 🔗 Foreign Key FK_LicenseManagerServer_LicenseManagerServer LicenseManagerServer ref Organization ( OrganizationID -> ID ) 🔗 Foreign Key FK_LicenseManagerServer_LicenseManagerServer LicenseManagerServer ref Organization ( OrganizationID -> ID ) OrganizationID 🔗 Foreign Key FK_LicenseManagerServerBuffer_LicenseManagerServer LicenseManagerServerBuffer ref LicenseManagerServer ( LicenseManagerServerID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerBuffer_LicenseManagerServer LicenseManagerServerBuffer ref LicenseManagerServer ( LicenseManagerServerID -> ID ) LicenseManagerServerID 🔗 Foreign Key FK_LicenseManagerServerEvent_LicenseManagerServer LicenseManagerServerEvent ref LicenseManagerServer ( LicenseManagerServerID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerEvent_LicenseManagerServer LicenseManagerServerEvent ref LicenseManagerServer ( LicenseManagerServerID -> ID ) LicenseManagerServerID 🔗 Foreign Key FK_LicenseManagerServerFeature_LicenseManagerServer LicenseManagerServerFeature ref LicenseManagerServer ( LicenseManagerServerID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerFeature_LicenseManagerServer LicenseManagerServerFeature ref LicenseManagerServer ( LicenseManagerServerID -> ID ) LicenseManagerServerID 🔗 Foreign Key FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerFeature LicenseManagerServerFeatureSessionUsageDetail ref LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerFeature LicenseManagerServerFeatureSessionUsageDetail ref LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) LicenseManagerServerFeatureID 🔗 Foreign Key FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerMachine LicenseManagerServerFeatureSessionUsageDetail ref LicenseManagerServerMachine ( LicenseManagerServerMachineID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerMachine LicenseManagerServerFeatureSessionUsageDetail ref LicenseManagerServerMachine ( LicenseManagerServerMachineID -> ID ) LicenseManagerServerMachineID 🔗 Foreign Key FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerUser LicenseManagerServerFeatureSessionUsageDetail ref LicenseManagerServerUser ( LicenseManagerServerUserID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerUser LicenseManagerServerFeatureSessionUsageDetail ref LicenseManagerServerUser ( LicenseManagerServerUserID -> ID ) LicenseManagerServerUserID 🔗 Foreign Key FK_LicenseManagerServerFeatureUageDetail_LicenseManagerServerFeatureUageDetail LicenseManagerServerFeatureUsageDetail ref LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerFeatureUageDetail_LicenseManagerServerFeatureUageDetail LicenseManagerServerFeatureUsageDetail ref LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) LicenseManagerServerFeatureID 🔗 Foreign Key FK_LIcenseManagerServerFeatureVersion_LIcenseManagerServerFeature LicenseManagerServerFeatureVersion ref LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) 🔗 Foreign Key FK_LIcenseManagerServerFeatureVersion_LIcenseManagerServerFeature LicenseManagerServerFeatureVersion ref LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) LicenseManagerServerFeatureID 🔗 Foreign Key FK_LicenseManagerServerMachine_LicenseManagerServer LicenseManagerServerMachine ref LicenseManagerServer ( LicenseManagerServerID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerMachine_LicenseManagerServer LicenseManagerServerMachine ref LicenseManagerServer ( LicenseManagerServerID -> ID ) LicenseManagerServerID 🔗 Foreign Key FK_LicenseManagerServerMachine_Machine LicenseManagerServerMachine ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerMachine_Machine LicenseManagerServerMachine ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_LicenseManagerServerObserverLog_LicenseManagerServer LicenseManagerServerObserverLog ref LicenseManagerServer ( LicenseManagerServerID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerObserverLog_LicenseManagerServer LicenseManagerServerObserverLog ref LicenseManagerServer ( LicenseManagerServerID -> ID ) LicenseManagerServerID 🔗 Foreign Key FK_LicenseManagerServerObserverLog_LicenseManagerServerFeature LicenseManagerServerObserverLog ref LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerObserverLog_LicenseManagerServerFeature LicenseManagerServerObserverLog ref LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) LicenseManagerServerFeatureID 🔗 Foreign Key FK_LicenseManagerServerScan_LicenseManagerServer LicenseManagerServerScan ref LicenseManagerServer ( LicenseManagerServerID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerScan_LicenseManagerServer LicenseManagerServerScan ref LicenseManagerServer ( LicenseManagerServerID -> ID ) LicenseManagerServerID 🔗 Foreign Key FK_LicenseManagerServerUser_LicenseManagerServer LicenseManagerServerUser ref LicenseManagerServer ( LicenseManagerServerID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerUser_LicenseManagerServer LicenseManagerServerUser ref LicenseManagerServer ( LicenseManagerServerID -> ID ) LicenseManagerServerID 🔗 Foreign Key FK_LicenseManagerServerUser_User LicenseManagerServerUser ref User ( UserID -> ID ) 🔗 Foreign Key FK_LicenseManagerServerUser_User LicenseManagerServerUser ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_Machine_Manufacturer Machine ref Manufacturer ( ManufacturerID -> ID ) 🔗 Foreign Key FK_Machine_Manufacturer Machine ref Manufacturer ( ManufacturerID -> ID ) ManufacturerID 🔗 Foreign Key FK_Machine_ProcessorManufacturer Machine ref Manufacturer ( ProcessorManufacturerID -> ID ) 🔗 Foreign Key FK_Machine_ProcessorManufacturer Machine ref Manufacturer ( ProcessorManufacturerID -> ID ) ProcessorManufacturerID 🔗 Foreign Key FK_Machine_Organization Machine ref Organization ( OrganizationID -> ID ) 🔗 Foreign Key FK_Machine_Organization Machine ref Organization ( OrganizationID -> ID ) OrganizationID 🔗 Foreign Key FK_Machine_SoftwarePublisher Machine ref SoftwarePublisher ( OperatingSystemSoftwarePublisherID -> ID ) 🔗 Foreign Key FK_Machine_SoftwarePublisher Machine ref SoftwarePublisher ( OperatingSystemSoftwarePublisherID -> ID ) OperatingSystemSoftwarePublisherID 🔗 Foreign Key FK_Machine_LastUser Machine ref User ( LastUserID -> ID ) 🔗 Foreign Key FK_Machine_LastUser Machine ref User ( LastUserID -> ID ) LastUserID 🔗 Foreign Key FK_Machine_MostFrequentUser Machine ref User ( MostFrequentUserID -> ID ) 🔗 Foreign Key FK_Machine_MostFrequentUser Machine ref User ( MostFrequentUserID -> ID ) MostFrequentUserID 🔗 Foreign Key FK_Machine_VirtualizationManagementSystem Machine ref VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) 🔗 Foreign Key FK_Machine_VirtualizationManagementSystem Machine ref VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) VirtualizationManagementSystemID 🔗 Foreign Key FK_Machine_ObjectState Machine ref ObjectState ( ObjectStateID -> ID ) 🔗 Foreign Key FK_Machine_ObjectState Machine ref ObjectState ( ObjectStateID -> ID ) ObjectStateID 🔗 Foreign Key FK_Machine_CloudProviderAccount Machine ref CloudProviderAccount ( CloudProviderAccountID -> ID ) 🔗 Foreign Key FK_Machine_CloudProviderAccount Machine ref CloudProviderAccount ( CloudProviderAccountID -> ID ) CloudProviderAccountID 🔗 Foreign Key FK_MachineAutoStart_AutoStartType MachineAutoStart ref AutoStartType ( AutoStartTypeID -> ID ) 🔗 Foreign Key FK_MachineAutoStart_AutoStartType MachineAutoStart ref AutoStartType ( AutoStartTypeID -> ID ) AutoStartTypeID 🔗 Foreign Key FK_MachineAutoStart_Machine MachineAutoStart ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_MachineAutoStart_Machine MachineAutoStart ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_MachineCluster_Cluster MachineCluster ref Cluster ( ClusterID -> ID ) 🔗 Foreign Key FK_MachineCluster_Cluster MachineCluster ref Cluster ( ClusterID -> ID ) ClusterID 🔗 Foreign Key FK_MachineCluster_Machine MachineCluster ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_MachineCluster_Machine MachineCluster ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_MachineGroup_Group MachineGroup ref Group ( GroupID -> ID ) 🔗 Foreign Key FK_MachineGroup_Group MachineGroup ref Group ( GroupID -> ID ) GroupID 🔗 Foreign Key FK_MachineGroup_Machine MachineGroup ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_MachineGroup_Machine MachineGroup ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_MachineOfficeAddIn_Machine MachineOfficeAddIn ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_MachineOfficeAddIn_Machine MachineOfficeAddIn ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_MachineOfficeAddIn_SoftwarePublisher MachineOfficeAddIn ref SoftwarePublisher ( SoftwarePublisherID -> ID ) 🔗 Foreign Key FK_MachineOfficeAddIn_SoftwarePublisher MachineOfficeAddIn ref SoftwarePublisher ( SoftwarePublisherID -> ID ) SoftwarePublisherID 🔗 Foreign Key FK_MachineRawData_Machine MachineRawData ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_MachineRawData_Machine MachineRawData ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_MachineSoftwarePackage_Machine MachineSoftwarePackage ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_MachineSoftwarePackage_Machine MachineSoftwarePackage ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_MachineSoftwarePackage_SoftwarePackage MachineSoftwarePackage ref SoftwarePackage ( SoftwarePackageID -> ID ) 🔗 Foreign Key FK_MachineSoftwarePackage_SoftwarePackage MachineSoftwarePackage ref SoftwarePackage ( SoftwarePackageID -> ID ) SoftwarePackageID 🔗 Foreign Key FK_MachineSoftwarePackage_LifecycleDefinitionType MachineSoftwarePackage ref LifecycleDefinitionType ( LifecycleDefinitionTypeID -> ID ) 🔗 Foreign Key FK_MachineSoftwarePackage_LifecycleDefinitionType MachineSoftwarePackage ref LifecycleDefinitionType ( LifecycleDefinitionTypeID -> ID ) LifecycleDefinitionTypeID 🔗 Foreign Key FK_MachineSoftwareSignature_InformationSource MachineSoftwareSignature ref InformationSource ( InformationSourceID -> ID ) 🔗 Foreign Key FK_MachineSoftwareSignature_InformationSource MachineSoftwareSignature ref InformationSource ( InformationSourceID -> ID ) InformationSourceID 🔗 Foreign Key FK_MachineSoftwareSignature_Machine MachineSoftwareSignature ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_MachineSoftwareSignature_Machine MachineSoftwareSignature ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_MachineSoftwareSignature_SoftwareRepackager MachineSoftwareSignature ref SoftwareRepackager ( SoftwareRepackagerID -> ID ) 🔗 Foreign Key FK_MachineSoftwareSignature_SoftwareRepackager MachineSoftwareSignature ref SoftwareRepackager ( SoftwareRepackagerID -> ID ) SoftwareRepackagerID 🔗 Foreign Key FK_MachineSoftwareSignature_SoftwareSignature MachineSoftwareSignature ref SoftwareSignature ( SoftwareSignatureID -> ID ) 🔗 Foreign Key FK_MachineSoftwareSignature_SoftwareSignature MachineSoftwareSignature ref SoftwareSignature ( SoftwareSignatureID -> ID ) SoftwareSignatureID 🔗 Foreign Key FK_MachineSoftwareSignatureInstance_MachineSoftwareSignature MachineSoftwareSignatureInstance ref MachineSoftwareSignature ( MachineSoftwareSignatureID -> ID ) 🔗 Foreign Key FK_MachineSoftwareSignatureInstance_MachineSoftwareSignature MachineSoftwareSignatureInstance ref MachineSoftwareSignature ( MachineSoftwareSignatureID -> ID ) MachineSoftwareSignatureID 🔗 Foreign Key FK_MachineUsbDevice_Machine MachineUsbDevice ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_MachineUsbDevice_Machine MachineUsbDevice ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_MachineUsbDevice_UsbDevice MachineUsbDevice ref UsbDevice ( UsbDeviceID -> ID ) 🔗 Foreign Key FK_MachineUsbDevice_UsbDevice MachineUsbDevice ref UsbDevice ( UsbDeviceID -> ID ) UsbDeviceID 🔗 Foreign Key FK_MachineUser_Machine MachineUser ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_MachineUser_Machine MachineUser ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_MachineUser_MachineUser MachineUser ref MachineUser ( ID ) 🔗 Foreign Key FK_MachineUser_MachineUser MachineUser ref MachineUser ( ID ) ID 🔗 Foreign Key FK_MachineUser_User MachineUser ref User ( UserID -> ID ) 🔗 Foreign Key FK_MachineUser_User MachineUser ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_MachineUserAutoStart_MachineUser MachineUserAutoStart ref MachineUser ( MachineUserID -> ID ) 🔗 Foreign Key FK_MachineUserAutoStart_MachineUser MachineUserAutoStart ref MachineUser ( MachineUserID -> ID ) MachineUserID 🔗 Foreign Key FK_MachineUserHistory_MachineUser MachineUserHistory ref MachineUser ( MachineUserID -> ID ) 🔗 Foreign Key FK_MachineUserHistory_MachineUser MachineUserHistory ref MachineUser ( MachineUserID -> ID ) MachineUserID 🔗 Foreign Key FK_MachineUserHistoryViewClientInformation_MachineUserHistory MachineUserHistoryViewClientInformation ref MachineUserHistory ( MachineUserHistoryID -> ID ) 🔗 Foreign Key FK_MachineUserHistoryViewClientInformation_MachineUserHistory MachineUserHistoryViewClientInformation ref MachineUserHistory ( MachineUserHistoryID -> ID ) MachineUserHistoryID 🔗 Foreign Key FK_MachineUserHistoryVirtualEnvironment_MachineUserHistory MachineUserHistoryVolatileEnvironment ref MachineUserHistory ( MachineUserHistoryID -> ID ) 🔗 Foreign Key FK_MachineUserHistoryVirtualEnvironment_MachineUserHistory MachineUserHistoryVolatileEnvironment ref MachineUserHistory ( MachineUserHistoryID -> ID ) MachineUserHistoryID 🔗 Foreign Key FK_MachineUserHistoryWTSSessionInformation_MachineUserHistory MachineUserHistoryWTSSessionInformation ref MachineUserHistory ( MachineUserHistoryID -> ID ) 🔗 Foreign Key FK_MachineUserHistoryWTSSessionInformation_MachineUserHistory MachineUserHistoryWTSSessionInformation ref MachineUserHistory ( MachineUserHistoryID -> ID ) MachineUserHistoryID 🔗 Foreign Key FK_MachineUserMUICache_MachineUser MachineUserMUICache ref MachineUser ( MachineUserID -> ID ) 🔗 Foreign Key FK_MachineUserMUICache_MachineUser MachineUserMUICache ref MachineUser ( MachineUserID -> ID ) MachineUserID 🔗 Foreign Key FK_MachineUserOfficeAddIn_MachineUser MachineUserOfficeAddIn ref MachineUser ( MachineUserID -> ID ) 🔗 Foreign Key FK_MachineUserOfficeAddIn_MachineUser MachineUserOfficeAddIn ref MachineUser ( MachineUserID -> ID ) MachineUserID 🔗 Foreign Key FK_MachineUserOfficeAddIn_SoftwarePublisher MachineUserOfficeAddIn ref SoftwarePublisher ( SoftwarePublisherID -> ID ) 🔗 Foreign Key FK_MachineUserOfficeAddIn_SoftwarePublisher MachineUserOfficeAddIn ref SoftwarePublisher ( SoftwarePublisherID -> ID ) SoftwarePublisherID 🔗 Foreign Key FK_MachineUserSecurityGroup_MachineUser MachineUserSecurityGroup ref MachineUser ( MachineUserID -> ID ) 🔗 Foreign Key FK_MachineUserSecurityGroup_MachineUser MachineUserSecurityGroup ref MachineUser ( MachineUserID -> ID ) MachineUserID 🔗 Foreign Key FK_MachineUserSoftwareSignature_InformationSource MachineUserSoftwareSignature ref InformationSource ( InformationSourceID -> ID ) 🔗 Foreign Key FK_MachineUserSoftwareSignature_InformationSource MachineUserSoftwareSignature ref InformationSource ( InformationSourceID -> ID ) InformationSourceID 🔗 Foreign Key FK_MachineUserSoftwareSignature_MachineUser MachineUserSoftwareSignature ref MachineUser ( MachineUserID -> ID ) 🔗 Foreign Key FK_MachineUserSoftwareSignature_MachineUser MachineUserSoftwareSignature ref MachineUser ( MachineUserID -> ID ) MachineUserID 🔗 Foreign Key FK_MachineUserSoftwareSignature_SoftwareSignature MachineUserSoftwareSignature ref SoftwareSignature ( SoftwareSignatureID -> ID ) 🔗 Foreign Key FK_MachineUserSoftwareSignature_SoftwareSignature MachineUserSoftwareSignature ref SoftwareSignature ( SoftwareSignatureID -> ID ) SoftwareSignatureID 🔗 Foreign Key FK_MailboxProvider_CloudProvider MailboxProvider ref CloudProvider ( CloudProviderID -> ID ) 🔗 Foreign Key FK_MailboxProvider_CloudProvider MailboxProvider ref CloudProvider ( CloudProviderID -> ID ) CloudProviderID 🔗 Foreign Key FK_MailboxProvider_MailboxProviderType MailboxProvider ref MailboxProviderType ( MailboxProviderTypeID -> ID ) 🔗 Foreign Key FK_MailboxProvider_MailboxProviderType MailboxProvider ref MailboxProviderType ( MailboxProviderTypeID -> ID ) MailboxProviderTypeID 🔗 Foreign Key FK_OrganizationToken_Organization OrganizationToken ref Organization ( OrganizationID -> ID ) 🔗 Foreign Key FK_OrganizationToken_Organization OrganizationToken ref Organization ( OrganizationID -> ID ) OrganizationID 🔗 Foreign Key FK_PublishedSoftwarePackage_Group PublishedSoftwarePackage ref Group ( GroupID -> ID ) 🔗 Foreign Key FK_PublishedSoftwarePackage_Group PublishedSoftwarePackage ref Group ( GroupID -> ID ) GroupID 🔗 Foreign Key FK_PublishedSoftwarePackage_SoftwarePackage PublishedSoftwarePackage ref SoftwarePackage ( SoftwarePackageID -> ID ) 🔗 Foreign Key FK_PublishedSoftwarePackage_SoftwarePackage PublishedSoftwarePackage ref SoftwarePackage ( SoftwarePackageID -> ID ) SoftwarePackageID 🔗 Foreign Key FK_RbacGroupRole_RbacRole1 RbacGroupRole ref RbacGroup ( RbacGroupID -> ID ) 🔗 Foreign Key FK_RbacGroupRole_RbacRole1 RbacGroupRole ref RbacGroup ( RbacGroupID -> ID ) RbacGroupID 🔗 Foreign Key FK_RbacGroupRole_RbacRole RbacGroupRole ref RbacRole ( RbacRoleID -> ID ) 🔗 Foreign Key FK_RbacGroupRole_RbacRole RbacGroupRole ref RbacRole ( RbacRoleID -> ID ) RbacRoleID 🔗 Foreign Key FK_RbacGroupRole_RbacUser RbacGroupRole ref RbacUser ( CreatedByRbacUserID -> ID ) 🔗 Foreign Key FK_RbacGroupRole_RbacUser RbacGroupRole ref RbacUser ( CreatedByRbacUserID -> ID ) CreatedByRbacUserID 🔗 Foreign Key FK_RbacPrivilege_RbacObject RbacPrivilege ref RbacObject ( ConstrainedRbacObjectID -> ID ) 🔗 Foreign Key FK_RbacPrivilege_RbacObject RbacPrivilege ref RbacObject ( ConstrainedRbacObjectID -> ID ) ConstrainedRbacObjectID 🔗 Foreign Key FK_RbacRolePrivilege_RbacRolePrivilege RbacRolePrivilege ref RbacPrivilege ( RbacPrivilegeID -> ID ) 🔗 Foreign Key FK_RbacRolePrivilege_RbacRolePrivilege RbacRolePrivilege ref RbacPrivilege ( RbacPrivilegeID -> ID ) RbacPrivilegeID 🔗 Foreign Key FK_RbacRolePrivilege_RbacRole RbacRolePrivilege ref RbacRole ( RbacRoleID -> ID ) 🔗 Foreign Key FK_RbacRolePrivilege_RbacRole RbacRolePrivilege ref RbacRole ( RbacRoleID -> ID ) RbacRoleID 🔗 Foreign Key FK_RbacUser_User RbacUser ref User ( UserID -> ID ) 🔗 Foreign Key FK_RbacUser_User RbacUser ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_RbacUserPreferences_RbacUser RbacUserPreferences ref RbacUser ( RbacUserID -> ID ) 🔗 Foreign Key FK_RbacUserPreferences_RbacUser RbacUserPreferences ref RbacUser ( RbacUserID -> ID ) RbacUserID 🔗 Foreign Key FK_RbacUserRole_RbacRole RbacUserRole ref RbacRole ( RbacRoleID -> ID ) 🔗 Foreign Key FK_RbacUserRole_RbacRole RbacUserRole ref RbacRole ( RbacRoleID -> ID ) RbacRoleID 🔗 Foreign Key FK_RbacUserRole_RbacUser RbacUserRole ref RbacUser ( RbacUserID -> ID ) 🔗 Foreign Key FK_RbacUserRole_RbacUser RbacUserRole ref RbacUser ( RbacUserID -> ID ) RbacUserID 🔗 Foreign Key FK_RbacUserRole_RbacUser_Created RbacUserRole ref RbacUser ( CreatedByRbacUserID -> ID ) 🔗 Foreign Key FK_RbacUserRole_RbacUser_Created RbacUserRole ref RbacUser ( CreatedByRbacUserID -> ID ) CreatedByRbacUserID 🔗 Foreign Key FK_RecentlyUsedObject_RbacUser RecentlyUsedObject ref RbacUser ( RbacUserID -> ID ) 🔗 Foreign Key FK_RecentlyUsedObject_RbacUser RecentlyUsedObject ref RbacUser ( RbacUserID -> ID ) RbacUserID 🔗 Foreign Key FK_RecentlyUsedObject_RecentlyUsedObjectType RecentlyUsedObject ref RecentlyUsedObjectType ( RecentlyUsedObjectTypeID -> ID ) 🔗 Foreign Key FK_RecentlyUsedObject_RecentlyUsedObjectType RecentlyUsedObject ref RecentlyUsedObjectType ( RecentlyUsedObjectTypeID -> ID ) RecentlyUsedObjectTypeID 🔗 Foreign Key FK_SoftwareCatalogConflict_SoftwarePackage SoftwareCatalogConflict ref SoftwarePackage ( SoftwarePackageID -> ID ) 🔗 Foreign Key FK_SoftwareCatalogConflict_SoftwarePackage SoftwareCatalogConflict ref SoftwarePackage ( SoftwarePackageID -> ID ) SoftwarePackageID 🔗 Foreign Key FK_SoftwareCatalogConflict_SoftwareSignature SoftwareCatalogConflict ref SoftwareSignature ( SoftwareSignatureID -> ID ) 🔗 Foreign Key FK_SoftwareCatalogConflict_SoftwareSignature SoftwareCatalogConflict ref SoftwareSignature ( SoftwareSignatureID -> ID ) SoftwareSignatureID 🔗 Foreign Key FK_SoftwareItem_InitialCostCurrency SoftwareItem ref Currency ( InitialCostCurrencyID -> ID ) 🔗 Foreign Key FK_SoftwareItem_InitialCostCurrency SoftwareItem ref Currency ( InitialCostCurrencyID -> ID ) InitialCostCurrencyID 🔗 Foreign Key FK_SoftwareItem_RecurringCostCurrency SoftwareItem ref Currency ( RecurringCostCurrencyID -> ID ) 🔗 Foreign Key FK_SoftwareItem_RecurringCostCurrency SoftwareItem ref Currency ( RecurringCostCurrencyID -> ID ) RecurringCostCurrencyID 🔗 Foreign Key FK_SoftwareItem_SoftwarePublisher SoftwareItem ref SoftwarePublisher ( SoftwarePublisherID -> ID ) 🔗 Foreign Key FK_SoftwareItem_SoftwarePublisher SoftwareItem ref SoftwarePublisher ( SoftwarePublisherID -> ID ) SoftwarePublisherID 🔗 Foreign Key FK_SoftwareItemLicenseManagerServer_LicenseManagerServer SoftwareItemLicenseManagerServer ref LicenseManagerServer ( LicenseManagerServerID -> ID ) 🔗 Foreign Key FK_SoftwareItemLicenseManagerServer_LicenseManagerServer SoftwareItemLicenseManagerServer ref LicenseManagerServer ( LicenseManagerServerID -> ID ) LicenseManagerServerID 🔗 Foreign Key FK_SoftwareItemLicenseManagerServer_SoftwareItem SoftwareItemLicenseManagerServer ref SoftwareItem ( SoftwareItemID -> ID ) 🔗 Foreign Key FK_SoftwareItemLicenseManagerServer_SoftwareItem SoftwareItemLicenseManagerServer ref SoftwareItem ( SoftwareItemID -> ID ) SoftwareItemID 🔗 Foreign Key FK_SoftwareItemMachine_Machine SoftwareItemMachine ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_SoftwareItemMachine_Machine SoftwareItemMachine ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_SoftwareItemMachine_SoftwareItem SoftwareItemMachine ref SoftwareItem ( SoftwareItemID -> ID ) 🔗 Foreign Key FK_SoftwareItemMachine_SoftwareItem SoftwareItemMachine ref SoftwareItem ( SoftwareItemID -> ID ) SoftwareItemID 🔗 Foreign Key FK_SoftwareItemOrganization_Organization SoftwareItemOrganization ref Organization ( OrganizationID -> ID ) 🔗 Foreign Key FK_SoftwareItemOrganization_Organization SoftwareItemOrganization ref Organization ( OrganizationID -> ID ) OrganizationID 🔗 Foreign Key FK_SoftwareItemOrganization_SoftwareItem SoftwareItemOrganization ref SoftwareItem ( SoftwareItemID -> ID ) 🔗 Foreign Key FK_SoftwareItemOrganization_SoftwareItem SoftwareItemOrganization ref SoftwareItem ( SoftwareItemID -> ID ) SoftwareItemID 🔗 Foreign Key FK_SoftwareItemOwner_RbacUser SoftwareItemOwner ref RbacUser ( RbacUserID -> ID ) 🔗 Foreign Key FK_SoftwareItemOwner_RbacUser SoftwareItemOwner ref RbacUser ( RbacUserID -> ID ) RbacUserID 🔗 Foreign Key FK_SoftwareItemOwner_SoftwareItemOwner SoftwareItemOwner ref SoftwareItemOwner ( ID ) 🔗 Foreign Key FK_SoftwareItemOwner_SoftwareItemOwner SoftwareItemOwner ref SoftwareItemOwner ( ID ) ID 🔗 Foreign Key FK_SoftwareItemSoftwarePackage_SoftwareItem SoftwareItemSoftwarePackage ref SoftwareItem ( SoftwareItemID -> ID ) 🔗 Foreign Key FK_SoftwareItemSoftwarePackage_SoftwareItem SoftwareItemSoftwarePackage ref SoftwareItem ( SoftwareItemID -> ID ) SoftwareItemID 🔗 Foreign Key FK_SoftwareItemSoftwarePackage_SoftwarePackage SoftwareItemSoftwarePackage ref SoftwarePackage ( SoftwarePackageID -> ID ) 🔗 Foreign Key FK_SoftwareItemSoftwarePackage_SoftwarePackage SoftwareItemSoftwarePackage ref SoftwarePackage ( SoftwarePackageID -> ID ) SoftwarePackageID 🔗 Foreign Key FK_SoftwareItemUser_SoftwareItem SoftwareItemUser ref SoftwareItem ( SoftwareItemID -> ID ) 🔗 Foreign Key FK_SoftwareItemUser_SoftwareItem SoftwareItemUser ref SoftwareItem ( SoftwareItemID -> ID ) SoftwareItemID 🔗 Foreign Key FK_SoftwareItemUser_User SoftwareItemUser ref User ( UserID -> ID ) 🔗 Foreign Key FK_SoftwareItemUser_User SoftwareItemUser ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_SoftwarePackage_SoftwareCategory SoftwarePackage ref SoftwareCategory ( SoftwareCategoryID -> ID ) 🔗 Foreign Key FK_SoftwarePackage_SoftwareCategory SoftwarePackage ref SoftwareCategory ( SoftwareCategoryID -> ID ) SoftwareCategoryID 🔗 Foreign Key FK_SoftwarePackage_SoftwareLicensingType SoftwarePackage ref SoftwareLicensingType ( SoftwareLicensingTypeID -> ID ) 🔗 Foreign Key FK_SoftwarePackage_SoftwareLicensingType SoftwarePackage ref SoftwareLicensingType ( SoftwareLicensingTypeID -> ID ) SoftwareLicensingTypeID 🔗 Foreign Key FK_SoftwarePackage_SoftwarePackage1 SoftwarePackage ref SoftwarePackage ( ID ) 🔗 Foreign Key FK_SoftwarePackage_SoftwarePackage1 SoftwarePackage ref SoftwarePackage ( ID ) ID 🔗 Foreign Key FK_SoftwarePackage_SoftwarePackage_DeploymentReplacementSoftwarePackageID SoftwarePackage ref SoftwarePackage ( DeploymentReplacementSoftwarePackageID -> ID ) 🔗 Foreign Key FK_SoftwarePackage_SoftwarePackage_DeploymentReplacementSoftwarePackageID SoftwarePackage ref SoftwarePackage ( DeploymentReplacementSoftwarePackageID -> ID ) DeploymentReplacementSoftwarePackageID 🔗 Foreign Key FK_SoftwarePackage_SoftwarePublisher SoftwarePackage ref SoftwarePublisher ( SoftwarePublisherID -> ID ) 🔗 Foreign Key FK_SoftwarePackage_SoftwarePublisher SoftwarePackage ref SoftwarePublisher ( SoftwarePublisherID -> ID ) SoftwarePublisherID 🔗 Foreign Key FK_SoftwarePackageAppVGuid_SoftwarePackage SoftwarePackageAppVGuid ref SoftwarePackage ( SoftwarePackageID -> ID ) 🔗 Foreign Key FK_SoftwarePackageAppVGuid_SoftwarePackage SoftwarePackageAppVGuid ref SoftwarePackage ( SoftwarePackageID -> ID ) SoftwarePackageID 🔗 Foreign Key FK_SoftwarePackageUsageDetail_Machine SoftwarePackageUsageDetail ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_SoftwarePackageUsageDetail_Machine SoftwarePackageUsageDetail ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_SoftwarePackageUsageDetail_SoftwarePackage SoftwarePackageUsageDetail ref SoftwarePackage ( SoftwarePackageID -> ID ) 🔗 Foreign Key FK_SoftwarePackageUsageDetail_SoftwarePackage SoftwarePackageUsageDetail ref SoftwarePackage ( SoftwarePackageID -> ID ) SoftwarePackageID 🔗 Foreign Key FK_SoftwarePackageUsageDetail_User SoftwarePackageUsageDetail ref User ( UserID -> ID ) 🔗 Foreign Key FK_SoftwarePackageUsageDetail_User SoftwarePackageUsageDetail ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_SoftwarePublisherSwidRegid_SoftwarePublisher SoftwarePublisherSwidRegid ref SoftwarePublisher ( SoftwarePublisherID -> ID ) 🔗 Foreign Key FK_SoftwarePublisherSwidRegid_SoftwarePublisher SoftwarePublisherSwidRegid ref SoftwarePublisher ( SoftwarePublisherID -> ID ) SoftwarePublisherID 🔗 Foreign Key FK_SoftwareSignature_SoftwarePackage SoftwareSignature ref SoftwarePackage ( SoftwarePackageID -> ID ) 🔗 Foreign Key FK_SoftwareSignature_SoftwarePackage SoftwareSignature ref SoftwarePackage ( SoftwarePackageID -> ID ) SoftwarePackageID 🔗 Foreign Key FK_SoftwareSignature_SoftwarePublisher SoftwareSignature ref SoftwarePublisher ( SoftwarePublisherID -> ID ) 🔗 Foreign Key FK_SoftwareSignature_SoftwarePublisher SoftwareSignature ref SoftwarePublisher ( SoftwarePublisherID -> ID ) SoftwarePublisherID 🔗 Foreign Key FK_SoftwareSignature_ObjectState SoftwareSignature ref ObjectState ( ObjectStateID -> ID ) 🔗 Foreign Key FK_SoftwareSignature_ObjectState SoftwareSignature ref ObjectState ( ObjectStateID -> ID ) ObjectStateID 🔗 Foreign Key FK_StatisticsSummary_Organization StatisticsSummary ref Organization ( OrganizationID -> ID ) 🔗 Foreign Key FK_StatisticsSummary_Organization StatisticsSummary ref Organization ( OrganizationID -> ID ) OrganizationID 🔗 Foreign Key FK_SwidDocument_MachineSoftwareSignature SwidDocument ref MachineSoftwareSignature ( MachineSoftwareSignatureID -> ID ) 🔗 Foreign Key FK_SwidDocument_MachineSoftwareSignature SwidDocument ref MachineSoftwareSignature ( MachineSoftwareSignatureID -> ID ) MachineSoftwareSignatureID 🔗 Foreign Key FK_UalDeviceAccess_ClientMachine UalDeviceAccess ref Machine ( ClientMachineID -> ID ) 🔗 Foreign Key FK_UalDeviceAccess_ClientMachine UalDeviceAccess ref Machine ( ClientMachineID -> ID ) ClientMachineID 🔗 Foreign Key FK_UalDeviceAccess_Machine UalDeviceAccess ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_UalDeviceAccess_Machine UalDeviceAccess ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_UalDeviceAccess_UalRole UalDeviceAccess ref UalRole ( UalRoleID -> ID ) 🔗 Foreign Key FK_UalDeviceAccess_UalRole UalDeviceAccess ref UalRole ( UalRoleID -> ID ) UalRoleID 🔗 Foreign Key FK_UalUserAccess_Machine UalUserAccess ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_UalUserAccess_Machine UalUserAccess ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_UalUserAccess_UalRole UalUserAccess ref UalRole ( UalRoleID -> ID ) 🔗 Foreign Key FK_UalUserAccess_UalRole UalUserAccess ref UalRole ( UalRoleID -> ID ) UalRoleID 🔗 Foreign Key FK_UalUserAccess_User UalUserAccess ref User ( UserID -> ID ) 🔗 Foreign Key FK_UalUserAccess_User UalUserAccess ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_UsageDetail_Machine UsageDetail ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_UsageDetail_Machine UsageDetail ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_UsageDetail_SoftwareSignature UsageDetail ref SoftwareSignature ( SoftwareSignatureID -> ID ) 🔗 Foreign Key FK_UsageDetail_SoftwareSignature UsageDetail ref SoftwareSignature ( SoftwareSignatureID -> ID ) SoftwareSignatureID 🔗 Foreign Key FK_UsageDetail_User UsageDetail ref User ( UserID -> ID ) 🔗 Foreign Key FK_UsageDetail_User UsageDetail ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_UsbDevice_UsbDeviceVendor UsbDevice ref UsbDeviceVendor ( UsbDeviceVendorID -> ID ) 🔗 Foreign Key FK_UsbDevice_UsbDeviceVendor UsbDevice ref UsbDeviceVendor ( UsbDeviceVendorID -> ID ) UsbDeviceVendorID 🔗 Foreign Key FK_User_LastMachine User ref Machine ( LastMachineID -> ID ) 🔗 Foreign Key FK_User_LastMachine User ref Machine ( LastMachineID -> ID ) LastMachineID 🔗 Foreign Key FK_User_MostFrequentlyUsedMachine User ref Machine ( MostFrequentlyUsedMachineID -> ID ) 🔗 Foreign Key FK_User_MostFrequentlyUsedMachine User ref Machine ( MostFrequentlyUsedMachineID -> ID ) MostFrequentlyUsedMachineID 🔗 Foreign Key FK_User_Organization User ref Organization ( OrganizationID -> ID ) 🔗 Foreign Key FK_User_Organization User ref Organization ( OrganizationID -> ID ) OrganizationID 🔗 Foreign Key FK_User_CloudProviderAccount User ref CloudProviderAccount ( CloudProviderAccountID -> ID ) 🔗 Foreign Key FK_User_CloudProviderAccount User ref CloudProviderAccount ( CloudProviderAccountID -> ID ) CloudProviderAccountID 🔗 Foreign Key FK_User_ObjectState User ref ObjectState ( ObjectStateID -> ID ) 🔗 Foreign Key FK_User_ObjectState User ref ObjectState ( ObjectStateID -> ID ) ObjectStateID 🔗 Foreign Key FK_UserCloudProviderAccountLicensingPlan_CloudProviderAccountLicensingPlan UserCloudProviderAccountLicensingPlan ref CloudProviderAccountLicensingPlan ( CloudProviderAccountLicensingPlanID -> ID ) 🔗 Foreign Key FK_UserCloudProviderAccountLicensingPlan_CloudProviderAccountLicensingPlan UserCloudProviderAccountLicensingPlan ref CloudProviderAccountLicensingPlan ( CloudProviderAccountLicensingPlanID -> ID ) CloudProviderAccountLicensingPlanID 🔗 Foreign Key FK_UserCloudProviderAccountLicensingPlan_User UserCloudProviderAccountLicensingPlan ref User ( UserID -> ID ) 🔗 Foreign Key FK_UserCloudProviderAccountLicensingPlan_User UserCloudProviderAccountLicensingPlan ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_UserCloudProviderAccountLicensingPlanCloudProviderService_CloudProviderAccountLicensingPlanCloudProviderService UserCloudProviderAccountLicensingPlanCloudProviderService ref CloudProviderAccountLicensingPlanCloudProviderService ( CloudProviderAccountLicensingPlanCloudProviderServiceID -> ID ) 🔗 Foreign Key FK_UserCloudProviderAccountLicensingPlanCloudProviderService_CloudProviderAccountLicensingPlanCloudProviderService UserCloudProviderAccountLicensingPlanCloudProviderService ref CloudProviderAccountLicensingPlanCloudProviderService ( CloudProviderAccountLicensingPlanCloudProviderServiceID -> ID ) CloudProviderAccountLicensingPlanCloudProviderServiceID 🔗 Foreign Key FK_UserCloudProviderAccountLicensingPlanCloudProviderService_CloudProviderAccountLicensingPlan UserCloudProviderAccountLicensingPlanCloudProviderService ref UserCloudProviderAccountLicensingPlan ( UserCloudProviderAccountLicensingPlanID -> ID ) 🔗 Foreign Key FK_UserCloudProviderAccountLicensingPlanCloudProviderService_CloudProviderAccountLicensingPlan UserCloudProviderAccountLicensingPlanCloudProviderService ref UserCloudProviderAccountLicensingPlan ( UserCloudProviderAccountLicensingPlanID -> ID ) UserCloudProviderAccountLicensingPlanID 🔗 Foreign Key FK_UserGroup_Group UserGroup ref Group ( GroupID -> ID ) 🔗 Foreign Key FK_UserGroup_Group UserGroup ref Group ( GroupID -> ID ) GroupID 🔗 Foreign Key FK_UserGroup_User UserGroup ref User ( UserID -> ID ) 🔗 Foreign Key FK_UserGroup_User UserGroup ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_UserMachineAffinity_Machine UserMachineAffinity ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_UserMachineAffinity_Machine UserMachineAffinity ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_UserMachineAffinity_User UserMachineAffinity ref User ( UserID -> ID ) 🔗 Foreign Key FK_UserMachineAffinity_User UserMachineAffinity ref User ( UserID -> ID ) UserID 🔗 Foreign Key FK_UserMachineAffinity_UserMachineAffinity UserMachineAffinity ref UserMachineAffinityProvider ( UserMachineAffinityProviderID -> ID ) 🔗 Foreign Key FK_UserMachineAffinity_UserMachineAffinity UserMachineAffinity ref UserMachineAffinityProvider ( UserMachineAffinityProviderID -> ID ) UserMachineAffinityProviderID 🔗 Foreign Key FK_UserMachineAffinityProviderScanHistory_UserMachineAffinityProviderScanHistory UserMachineAffinityProviderScanHistory ref UserMachineAffinityProvider ( UserMachineAffinityProviderID -> ID ) 🔗 Foreign Key FK_UserMachineAffinityProviderScanHistory_UserMachineAffinityProviderScanHistory UserMachineAffinityProviderScanHistory ref UserMachineAffinityProvider ( UserMachineAffinityProviderID -> ID ) UserMachineAffinityProviderID 🔗 Foreign Key FK_UserMachineAffinityProviderScanHistory_UserMachineAffinityProviderScanHistory1 UserMachineAffinityProviderScanHistory ref UserMachineAffinityProviderScanHistory ( ID ) 🔗 Foreign Key FK_UserMachineAffinityProviderScanHistory_UserMachineAffinityProviderScanHistory1 UserMachineAffinityProviderScanHistory ref UserMachineAffinityProviderScanHistory ( ID ) ID 🔗 Foreign Key FK_VirtualMachine_Datacenter VirtualMachine ref Datacenter ( DatacenterID -> ID ) 🔗 Foreign Key FK_VirtualMachine_Datacenter VirtualMachine ref Datacenter ( DatacenterID -> ID ) DatacenterID 🔗 Foreign Key FK_VirtualMachine_HostMachine VirtualMachine ref Machine ( HostMachineID -> ID ) 🔗 Foreign Key FK_VirtualMachine_HostMachine VirtualMachine ref Machine ( HostMachineID -> ID ) HostMachineID 🔗 Foreign Key FK_VirtualMachine_Machine VirtualMachine ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_VirtualMachine_Machine VirtualMachine ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_VirtualMachineHistory_Machine VirtualMachineHistory ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_VirtualMachineHistory_Machine VirtualMachineHistory ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_VirtualMachineHistory_VirtualMachineHistory VirtualMachineHistory ref Machine ( HostMachineID -> ID ) 🔗 Foreign Key FK_VirtualMachineHistory_VirtualMachineHistory VirtualMachineHistory ref Machine ( HostMachineID -> ID ) HostMachineID 🔗 Foreign Key FK_VirtualMachineHistory_VirtualMachine VirtualMachineHistory ref VirtualMachine ( VirtualMachineID -> ID ) 🔗 Foreign Key FK_VirtualMachineHistory_VirtualMachine VirtualMachineHistory ref VirtualMachine ( VirtualMachineID -> ID ) VirtualMachineID 🔗 Foreign Key FK_VirtualMachineMobilityHistory_Machine VirtualMachineMobilityHistory ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_VirtualMachineMobilityHistory_Machine VirtualMachineMobilityHistory ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_VirtualMachineMobilityHistory_NewHostMachine VirtualMachineMobilityHistory ref Machine ( NewHostMachineID -> ID ) 🔗 Foreign Key FK_VirtualMachineMobilityHistory_NewHostMachine VirtualMachineMobilityHistory ref Machine ( NewHostMachineID -> ID ) NewHostMachineID 🔗 Foreign Key FK_VirtualMachineMobilityHistory_VirtualMachine VirtualMachineMobilityHistory ref VirtualMachine ( VirtualMachineID -> ID ) 🔗 Foreign Key FK_VirtualMachineMobilityHistory_VirtualMachine VirtualMachineMobilityHistory ref VirtualMachine ( VirtualMachineID -> ID ) VirtualMachineID 🔗 Foreign Key FK_VirtualizationManagementSystemScanHistory_VirtualizationManagementSystem VirtualizationManagementSystemScanHistory ref VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) 🔗 Foreign Key FK_VirtualizationManagementSystemScanHistory_VirtualizationManagementSystem VirtualizationManagementSystemScanHistory ref VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) VirtualizationManagementSystemID 🔗 Foreign Key FK_VirtualizationManagementSystemSetting_VirtualizationManagementSystem VirtualizationManagementSystemSetting ref VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) 🔗 Foreign Key FK_VirtualizationManagementSystemSetting_VirtualizationManagementSystem VirtualizationManagementSystemSetting ref VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) VirtualizationManagementSystemID 🔗 Foreign Key FK_WmiInstance_InformationSource WmiInstance ref InformationSource ( InformationSourceID -> ID ) 🔗 Foreign Key FK_WmiInstance_InformationSource WmiInstance ref InformationSource ( InformationSourceID -> ID ) InformationSourceID 🔗 Foreign Key FK_WmiInstance_Machine WmiInstance ref Machine ( MachineID -> ID ) 🔗 Foreign Key FK_WmiInstance_Machine WmiInstance ref Machine ( MachineID -> ID ) MachineID 🔗 Foreign Key FK_WmiInstance_WmiInstance WmiInstance ref WmiInstance ( ID ) 🔗 Foreign Key FK_WmiInstance_WmiInstance WmiInstance ref WmiInstance ( ID ) ID 🔗 Foreign Key FK_WmiInstanceHistory_InformationSource WmiInstanceHistory ref InformationSource ( InformationSourceID -> ID ) 🔗 Foreign Key FK_WmiInstanceHistory_InformationSource WmiInstanceHistory ref InformationSource ( InformationSourceID -> ID ) InformationSourceID 🔗 Foreign Key FK_WmiInstanceHistory_MachineUserHistory WmiInstanceHistory ref MachineUserHistory ( MachineUserHistoryID -> ID ) 🔗 Foreign Key FK_WmiInstanceHistory_MachineUserHistory WmiInstanceHistory ref MachineUserHistory ( MachineUserHistoryID -> ID ) MachineUserHistoryID 🔗 Foreign Key FK_WmiInstanceHistoryProperty_WmiClassProperty WmiInstanceHistoryProperty ref WmiClassProperty ( WmiClassPropertyID -> ID ) 🔗 Foreign Key FK_WmiInstanceHistoryProperty_WmiClassProperty WmiInstanceHistoryProperty ref WmiClassProperty ( WmiClassPropertyID -> ID ) WmiClassPropertyID 🔗 Foreign Key FK_WmiInstanceHistoryProperty_WmiInstanceHistory WmiInstanceHistoryProperty ref WmiInstanceHistory ( WmiInstanceHistoryID -> ID ) 🔗 Foreign Key FK_WmiInstanceHistoryProperty_WmiInstanceHistory WmiInstanceHistoryProperty ref WmiInstanceHistory ( WmiInstanceHistoryID -> ID ) WmiInstanceHistoryID 🔗 Foreign Key FK_WmiInstanceHistoryPropertyArray_WmiInstanceHistoryProperty WmiInstanceHistoryPropertyArray ref WmiInstanceHistoryProperty ( WmiInstanceHistoryPropertyID -> ID ) 🔗 Foreign Key FK_WmiInstanceHistoryPropertyArray_WmiInstanceHistoryProperty WmiInstanceHistoryPropertyArray ref WmiInstanceHistoryProperty ( WmiInstanceHistoryPropertyID -> ID ) WmiInstanceHistoryPropertyID 🔗 Foreign Key FK_WmiInstanceProperty_WmiClassProperty WmiInstanceProperty ref WmiClassProperty ( WmiClassPropertyID -> ID ) 🔗 Foreign Key FK_WmiInstanceProperty_WmiClassProperty WmiInstanceProperty ref WmiClassProperty ( WmiClassPropertyID -> ID ) WmiClassPropertyID 🔗 Foreign Key FK_WmiInstanceProperty_WmiInstance WmiInstanceProperty ref WmiInstance ( WmiInstanceID -> ID ) 🔗 Foreign Key FK_WmiInstanceProperty_WmiInstance WmiInstanceProperty ref WmiInstance ( WmiInstanceID -> ID ) WmiInstanceID 🔗 Foreign Key FK_WmiInstancePropertyArray_WmiInstanceProperty WmiInstancePropertyArray ref WmiInstanceProperty ( WmiInstancePropertyID -> ID ) 🔗 Foreign Key FK_WmiInstancePropertyArray_WmiInstanceProperty WmiInstancePropertyArray ref WmiInstanceProperty ( WmiInstancePropertyID -> ID ) WmiInstancePropertyID AnnotationTable dbo.Annotation ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Annotations can be used to store user-defined attributes of a source system with any OctoSAM entity. Not to be used to store system defined attributes of source systems (extend the schema to hold such attributes). Annotations are not used for internal data logic within OctoSAM, but can be referenced in custom queries and reports. 🔑 Pk PK_Annotation ( ID ) ID⧉ ID * bigint ↙ AnnotationLabel( ID ) ↙ AnnotationProperty( ID ) bigint🔗 Referred by AnnotationLabel ( AnnotationID -> ID ) Referred by AnnotationProperty ( AnnotationID -> ID ) 🔍 Unq IX_Annotation_AnnotationClassID_Name ( AnnotationClassID, Name ) AnnotationClassID⧉ AnnotationClassID * bigint ↗ Annotation( ID ) bigint🔗 References AnnotationClass ( AnnotationClassID -> ID ) Type⧉ Type * nvarchar(3) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ S for strings, I for numbers, M for Money, B for boolean values, D for dates, C for lookup codes nvarchar(3) 🔍 Unq IX_Annotation_AnnotationClassID_Name ( AnnotationClassID, Name ) Name⧉ Name * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the annotation nvarchar(64) Description⧉ Description * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description nvarchar(max) Regex⧉ Regex nvarchar(265) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For annotations that can be edited through the GUI, a regular expression that specifies acceptable values. nvarchar(265) MaxValue⧉ MaxValue decimal(18,2) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For Annotations that can be edited through the GUI the Max Value that can be entered decimal(18,2) MinValue⧉ MinValue decimal(18,2) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For Annotations that can be edited through the GUI the Max Value that can be entered decimal(18,2) Hyperlink⧉ Hyperlink * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If true, value of the field should be rendered as Hyperlink bit MultiSelect⧉ MultiSelect * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For code Annotations, true if multiple codes can be selected bit MultiLine⧉ MultiLine * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If true, the text field supports multiple lines bit Visible⧉ Visible * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Select if this annotation should be initially visible in queries that reference annotations bit VisibleInColumnChooser⧉ VisibleInColumnChooser * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Select if this annotation should be visible in the column chooser in queries that reference annotations. If false and Visible is also false, that annotation will not be displayed in queries. bit LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity was last mondified datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last modified this annotation nvarchar(128) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity was created datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan file that created this annotation uniqueidentifier SortOrder⧉ SortOrder * int default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Sort Order of Annotations of the same Class int Section⧉ Section nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Optional section name if a dialog or webpage supports multiple sections of extended attributes nvarchar(64) DefaultValue⧉ DefaultValue nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Optional default value nvarchar(max) DefaultDecimalValue⧉ DefaultDecimalValue decimal(18,2) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Optional default value for numeric annotations decimal(18,2) WebVisible⧉ WebVisible * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Visibility of this annotation in web grids bit CurrencyVisible⧉ CurrencyVisible * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Default visibility of the currency column for Money fields. Allows to hide the Currency column even though the Money column is visible bit AnnotationClassTable dbo.AnnotationClass ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Provides a namespace mechanism to prevent clashes of Annotation names, especially if they are generated from other systems where we cannot control the naming. For example VMWare provides a mechanism for custom attributes that we replicate. 🔑 Pk PK_AnnotationClass ( ID ) ID⧉ ID * bigint ↙ Annotation( ID ) bigint🔗 Referred by Annotation ( AnnotationClassID -> ID ) 🔍 Unq IX_AnnotationClass_AnnotatedObject_GUID ( Guid, AnnotatedObjectName ) Guid⧉ Guid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A uniqe identifier set by the creator of the annotation. Cannot be changed after creation (Name can be changed). Use the GUID in combination with AnnotatedObjectName when referencing annotations in custom queries. uniqueidentifier 🔍 Unq IX_AnnotationClass_AnnotatedObject_Name ( Name, AnnotatedObjectName ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the annotation class nvarchar(128) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the class was created datetime2 🔍 Unq IX_AnnotationClass_AnnotatedObject_GUID ( Guid, AnnotatedObjectName ) 🔍 Unq IX_AnnotationClass_AnnotatedObject_Name ( Name, AnnotatedObjectName ) AnnotatedObjectName⧉ AnnotatedObjectName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the annotated object (table) nvarchar(128) DefaultVisible⧉ DefaultVisible * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Default visibility in grids for new annotations of this class bit DefaultVisibleInColumnChooser⧉ DefaultVisibleInColumnChooser * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Default visibility in grids column chooser for new annotations of this class bit AnnotationCodeTable dbo.AnnotationCode ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup codes for annotations, can be used to provide a list of options for an annotation. 🔑 Pk PK_AnnotationSelectCode ( ID ) ID⧉ ID * bigint ↙ AnnotationCodeLocalizedDisplayName( ID ) ↙ AnnotationPropertyAnnotationCode( ID ) bigint🔗 Referred by AnnotationCodeLocalizedDisplayName ( AnnotationCodeID -> ID ) Referred by AnnotationPropertyAnnotationCode ( AnnotationCodeID -> ID ) AnnotationID⧉ AnnotationID * bigint bigint Value⧉ Value * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Annotation code value nvarchar(50) AnnotationCodeLocalizedDisplayNameTable dbo.AnnotationCodeLocalizedDisplayName ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Localized names of annotation codes. 🔑 Pk PK_AnnotationCodeDisplayName ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_AnnotationCodeLocalizedDisplayName_Annotation_Language ( AnnotationCodeID, LanguageID ) AnnotationCodeID⧉ AnnotationCodeID * bigint ↗ AnnotationCodeLocalizedDisplayName( ID ) bigint🔗 References AnnotationCode ( AnnotationCodeID -> ID ) 🔍 Unq IX_AnnotationCodeLocalizedDisplayName_Annotation_Language ( AnnotationCodeID, LanguageID ) LanguageID⧉ LanguageID * bigint ↗ AnnotationCodeLocalizedDisplayName( ID ) bigint🔗 References Language ( LanguageID -> ID ) DisplayName⧉ DisplayName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Localized display name of the code nvarchar(128) AnnotationLabelTable dbo.AnnotationLabel ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Language specific labels and other text resources per annotation. 🔑 Pk PK_AnnotationLabel ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_AnnotationLabel_Annotation_Language_Type ( AnnotationID, LanguageID, Type ) AnnotationID⧉ AnnotationID * bigint ↗ AnnotationLabel( ID ) bigint🔗 References Annotation ( AnnotationID -> ID ) 🔍 Unq IX_AnnotationLabel_Annotation_Language_Type ( AnnotationID, LanguageID, Type ) LanguageID⧉ LanguageID * bigint ↗ AnnotationLabel( ID ) bigint🔗 References Language ( LanguageID -> ID ) 🔍 Unq IX_AnnotationLabel_Annotation_Language_Type ( AnnotationID, LanguageID, Type ) Type⧉ Type * nvarchar(3) default 'L' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Type of Label. 'L' for labels, 'T' for tooltips nvarchar(3) Text⧉ Text * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Text. Depending on the usage, the text can contain HTML formatting. nvarchar(max) AnnotationPropertyTable dbo.AnnotationProperty ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Keeps per instance storage of annotation. 🔑 Pk PK_AnnotationProperty ( ID ) ID⧉ ID * bigint ↙ AnnotationPropertyAnnotationCode( ID ) bigint🔗 Referred by AnnotationPropertyAnnotationCode ( AnnotationPropertyID -> ID ) 🔍 IX_AnnotationProperty_AnnotationID ( AnnotationID ) AnnotationID⧉ AnnotationID * bigint ↗ AnnotationProperty( ID ) bigint🔗 References Annotation ( AnnotationID -> ID ) 🔍 IX_AnnotationProperty_AnnotatedObjectID ( AnnotatedObjectID ) AnnotatedObjectID⧉ AnnotatedObjectID * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ID of the original item the annotation extends bigint Value⧉ Value * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Value in string representation. Must be given for all value types nvarchar(max) DecimalValue⧉ DecimalValue decimal(18,2) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Decimal representation of the value for numeric data decimal(18,2) BooleanValue⧉ BooleanValue bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Boolean representation of the value for boolean data bit Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this property was created datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan file that created this property uniqueidentifier LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this property was last modified (typically this is the import time) datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last modified this property for properties that are maintained through UI interaction (Extended Attributes) nvarchar(128) LastScan⧉ LastScan datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this property was last scanned datetime2 LastScanGUID⧉ LastScanGUID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan file uniqueidentifier CurrencyID⧉ CurrencyID bigint ↗ AnnotationProperty( ID ) bigint🔗 References Currency ( CurrencyID -> ID ) AnnotationPropertyAnnotationCodeTable dbo.AnnotationPropertyAnnotationCode ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ N:m relation for annotation properties that can have multiple values (multi select). 🔑 Pk PK_AnnotationPropertyAnnotationCode ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_AnnotationPropertyAnnotationCode_UniqueSelection ( AnnotationCodeID, AnnotationPropertyID ) 🔍 IX_AnnotationPropertyAnnotationCode_AnnotationProperty ( AnnotationPropertyID ) AnnotationPropertyID⧉ AnnotationPropertyID * bigint ↗ AnnotationPropertyAnnotationCode( ID ) bigint🔗 References AnnotationProperty ( AnnotationPropertyID -> ID ) 🔍 Unq IX_AnnotationPropertyAnnotationCode_UniqueSelection ( AnnotationCodeID, AnnotationPropertyID ) AnnotationCodeID⧉ AnnotationCodeID * bigint ↗ AnnotationPropertyAnnotationCode( ID ) bigint🔗 References AnnotationCode ( AnnotationCodeID -> ID ) ApplicationLogTable dbo.ApplicationLog ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Used by various OctoSAM components to write log messages. 🔑 Pk PK_ApplicationLog ( ID ) ID⧉ ID * bigint bigint TimeStamp⧉ TimeStamp * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this log entry was created datetime2 Message⧉ Message * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Log message nvarchar(255) UserName⧉ UserName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Client user ID of the process that generated the log message nvarchar(255) AuditDetailTable dbo.AuditDetail ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Application audit table for entities that are manually maintained. 🔑 Pk PK_AuditLog ( ID ) ID⧉ ID * bigint bigint AuditObjectID⧉ AuditObjectID * bigint ↗ AuditDetail( ID ) bigint🔗 References AuditObject ( AuditObjectID -> ID ) 🔍 IX_AuditDetail_ObjectGuid ( ObjectGuid ) ObjectGuid⧉ ObjectGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The Guid of the audited object uniqueidentifier ObjectDisplayName⧉ ObjectDisplayName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The display name for the audited object. This name can change during the lifetime of the object. nvarchar(128) Operation⧉ Operation * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Audited operation nvarchar(16) User⧉ User * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that performed the operation nvarchar(128) ChangeSet⧉ ChangeSet * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A json document that contains the changed attributes and values nvarchar(max) Info⧉ Info * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A json document that may contain additional information about the audit nvarchar(max) 🔍 IX_AuditDetail_Created ( Created ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the audit was created datetime2 AuditObjectTable dbo.AuditObject ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for audit objects. 🔑 Pk PK_AuditObject ( ID ) ID⧉ ID * bigint ↙ AuditDetail( ID ) bigint🔗 Referred by AuditDetail ( AuditObjectID -> ID ) 🔍 Unq IX_AuditObject_Name ( Name ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the audited object nvarchar(128) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the item got created datetime2 AutoStartTypeTable dbo.AutoStartType ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for auto start configuration types. 🔑 Pk PK_AutoStartType ( ID ) ID⧉ ID * bigint ↙ MachineAutoStart( ID ) ↙ MachineUserAutoStart( ID ) bigint🔗 Referred by MachineAutoStart ( AutoStartTypeID -> ID ) Referred by MachineUserAutoStart ( AutoStartTypeID -> ID ) OctopusID⧉ OctopusID * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM internal ID nvarchar(50) Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ AutoStart type name nvarchar(255) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this item was created datetime2 CatalogUpdateLogTable dbo.CatalogUpdateLog ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Information about OctoSAM catalog updates and statistics sent to the central update service. The table also keeps a license history and log statistics used for java consolidation projects. 🔑 Pk PK_CatalogUpdateLog ( ID ) ID⧉ ID * bigint bigint Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/time this record was created datetime2 Machine⧉ Machine * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of machine where the update was executed. Usually the OctoSAM Server machine name. nvarchar(50) MachineCount⧉ MachineCount * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of machines in the inventory at time of update bigint UserCount⧉ UserCount * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of users in the inventory at time of update bigint InstallationGuid⧉ InstallationGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Installation Guid at time of update uniqueidentifier LicenseUnits⧉ LicenseUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of license units at time of update bigint LicenseGraceUnits⧉ LicenseGraceUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of license grace units bigint LicenseOptions⧉ LicenseOptions * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ License Options at time of the update nvarchar(512) DisplayVersion⧉ DisplayVersion * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM display version that did the update nvarchar(50) BuildVersion⧉ BuildVersion * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM build version that did the update nvarchar(50) BuildDate⧉ BuildDate * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM build date that did the update datetime2 LicenseValidThrough⧉ LicenseValidThrough * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ License Valid Through Date datetime2 LicenseReadonlyAfter⧉ LicenseReadonlyAfter * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ License read-only date datetime2 LastCatalogUpdate⧉ LastCatalogUpdate * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date the catalog was last updated datetime2 CatalogUpdateStatus⧉ CatalogUpdateStatus * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Status returned by the central update service nvarchar(16) CatalogUpdateFileName⧉ CatalogUpdateFileName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ File name of the used catalog update file nvarchar(255) ErrorsLast24Hrs⧉ ErrorsLast24Hrs * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Total Number of errors encountered in the last 24 hours bigint IncompleteScanFileErrorsLast24Hrs⧉ IncompleteScanFileErrorsLast24Hrs * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of incomplete scan file errors in the last 24 hours bigint LicenseManagerServerErrorsLast24Hrs⧉ LicenseManagerServerErrorsLast24Hrs * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of license manager server errors in the last 24 hours bigint WarningsLast24Hrs⧉ WarningsLast24Hrs * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of warnings encountered in the last 24 hours bigint ImportsLast24Hrs⧉ ImportsLast24Hrs * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of imported files in the last 24 hours bigint CatalogConflicts⧉ CatalogConflicts * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of conflicts encountered during catalog update bigint ServerCount⧉ ServerCount * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of machines with a server operating system bigint LicenseServerUnits⧉ LicenseServerUnits * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of server license units bigint MachinesDeletedInDirectory⧉ MachinesDeletedInDirectory * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of machines that are are found as deleted in active directory bigint ServersDeletedInDirectory⧉ ServersDeletedInDirectory * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of machines with a server operating system that are found as deleted in active directory bigint MacMachineCount⧉ MacMachineCount * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Macs bigint EsxMachineCount⧉ EsxMachineCount * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Esx machines bigint LinuxMachineCount⧉ LinuxMachineCount * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Linux machines bigint WindowsWorkstationCount⧉ WindowsWorkstationCount * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Windows workstations bigint WindowsServerCount⧉ WindowsServerCount * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Windows servers bigint JavaPackages⧉ JavaPackages * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of different Java software packages bigint JavaInstallations⧉ JavaInstallations * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Total number of found Java installations bigint LicensingRelevantJavaInstallations⧉ LicensingRelevantJavaInstallations * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of found Java installations that require an Oracle license (based on version) bigint ApprovedJavaInstallations⧉ ApprovedJavaInstallations * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of approved Java installations that require an Oracle license bigint OracleJavaMsiInstallations⧉ OracleJavaMsiInstallations * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of found Oracle Java installations that seem to have used a commercial .MSI installation that requires an Oracle license. bigint ScannerErrorsLast24Hrs⧉ ScannerErrorsLast24Hrs * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of scanner errors encountered in the last 24 hrs bigint ScannerWarningsLast24Hrs⧉ ScannerWarningsLast24Hrs * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of scanner warnings encountered in the last 24 hrs bigint CloudAppTable dbo.CloudApp ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cloud Application  🔑 Pk PK_CloudApp ( ID ) ID⧉ ID * bigint ↙ CloudAppUsage( ID ) bigint🔗 Referred by CloudAppUsage ( CloudAppID -> ID ) CloudProviderAccountID⧉ CloudProviderAccountID * bigint ↗ CloudApp( ID ) bigint🔗 References CloudProviderAccount ( CloudProviderAccountID -> ID ) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the application nvarchar(50) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this application got last scanned datetime2 Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created datetime2 CloudAppUsageTable dbo.CloudAppUsage 🔑 Pk PK_CloudAppUsage ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_CloudAppUsage_Unique ( CloudUserID, CloudAppID, Date ) CloudAppID⧉ CloudAppID * bigint ↗ CloudAppUsage( ID ) bigint🔗 References CloudApp ( CloudAppID -> ID ) 🔍 Unq IX_CloudAppUsage_Unique ( CloudUserID, CloudAppID, Date ) CloudUserID⧉ CloudUserID * bigint ↗ CloudAppUsage( ID ) bigint🔗 References CloudUser ( CloudUserID -> ID ) 🔍 Unq IX_CloudAppUsage_Unique ( CloudUserID, CloudAppID, Date ) Date⧉ Date * date ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Usage date as reported by the cloud system date CloudProviderTable dbo.CloudProvider ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cloud provider information. 🔑 Pk PK_CloudProvider ( ID ) ID⧉ ID * bigint ↙ CloudProviderAccount( ID ) ↙ CloudProviderService( ID ) ↙ MailboxProvider( ID ) bigint🔗 Referred by CloudProviderAccount ( CloudProviderID -> ID ) Referred by CloudProviderService ( CloudProviderID -> ID ) Referred by MailboxProvider ( CloudProviderID -> ID ) OctopusID⧉ OctopusID * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM internal name nvarchar(50) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cloud provider name nvarchar(128) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created datetime2 CloudProviderAccountTable dbo.CloudProviderAccount ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cloud provider specific account. 🔑 Pk PK_CloudProviderAccount ( ID ) ID⧉ ID * bigint ↙ CloudProviderAccountLicensingPlan( ID ) ↙ CloudProviderAccountScanHistory( ID ) ↙ EntraIdMissingDevice( ID ) ↙ Machine( ID ) ↙ User( ID ) ↙ CloudApp( ID ) ↙ CloudUser( ID ) ↙ EntraIdMissingUser( ID ) bigint🔗 Referred by CloudProviderAccountLicensingPlan ( CloudProviderAccountID -> ID ) Referred by CloudProviderAccountScanHistory ( CloudProviderAccountID -> ID ) Referred by EntraIdMissingDevice ( CloudProviderAccountID -> ID ) Referred by Machine ( CloudProviderAccountID -> ID ) Referred by User ( CloudProviderAccountID -> ID ) Referred by CloudApp ( CloudProviderAccountID -> ID ) Referred by CloudUser ( CloudProviderAccountID -> ID ) Referred by EntraIdMissingUser ( CloudProviderAccountID -> ID ) CloudProviderID⧉ CloudProviderID * bigint ↗ CloudProviderAccount( ID ) bigint🔗 References CloudProvider ( CloudProviderID -> ID ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cloud provider account name nvarchar(128) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this account record got created datetime2 CreatedGuid⧉ CreatedGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created the account record uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this account got last scanned datetime2 LastScanGuid⧉ LastScanGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan uniqueidentifier EntraIdTenantId⧉ EntraIdTenantId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID tenant id uniqueidentifier CloudProviderAccountLicensingPlanTable dbo.CloudProviderAccountLicensingPlan ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cloud provider licensing plan information 🔑 Pk PK_CloutProviderAccountLicensingPlang ( ID ) ID⧉ ID * bigint ↙ UserCloudProviderAccountLicensingPlan( ID ) ↙ CloudProviderAccountLicensingPlanHistory( ID ) bigint🔗 Referred by UserCloudProviderAccountLicensingPlan ( CloudProviderAccountLicensingPlanID -> ID ) Referred by CloudProviderAccountLicensingPlanHistory ( CloudProviderAccountLicensingPlanID -> ID ) CloudProviderAccountID⧉ CloudProviderAccountID * bigint ↗ CloudProviderAccountLicensingPlan( ID ) bigint🔗 References CloudProviderAccount ( CloudProviderAccountID -> ID ) Sku⧉ Sku * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SKU of the licensing plan nvarchar(128) FriendlyName⧉ FriendlyName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Friendly name, code translation from the SKU if available, SKU otherwise nvarchar(255) ActiveUnits⧉ ActiveUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of active license units bigint ConsumedUnits⧉ ConsumedUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of license units consumed bigint WarningUnits⧉ WarningUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of license units that are in warning state bigint LockedOutUnits⧉ LockedOutUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of locked out license units bigint Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this record got created datetime2 CreatedGuid⧉ CreatedGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created this record uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this account licensing plan got last scanned datetime2 LastScanGuid⧉ LastScanGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan uniqueidentifier CloudProviderAccountLicensingPlanCloudProviderServiceTable dbo.CloudProviderAccountLicensingPlanCloudProviderService ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ N:m relation between licensing plan and service. 🔑 Pk PK_CloudProviderAccountLicensingPlanCloudProviderService ( ID ) ID⧉ ID * bigint ↙ UserCloudProviderAccountLicensingPlanCloudProviderService( ID ) bigint🔗 Referred by UserCloudProviderAccountLicensingPlanCloudProviderService ( CloudProviderAccountLicensingPlanCloudProviderServiceID -> ID ) CloudProviderAccountLicensingPlanID⧉ CloudProviderAccountLicensingPlanID * bigint bigint CloudProviderServiceID⧉ CloudProviderServiceID * bigint ↗ CloudProviderAccountLicensingPlanCloudProviderService( ID ) bigint🔗 References CloudProviderService ( CloudProviderServiceID -> ID ) ProvisioningStatus⧉ ProvisioningStatus * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Provider dependend provisioning state nvarchar(50) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this record got created datetime2 CreatedGuid⧉ CreatedGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created this record uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got last scanned datetime2 LastScanGuid⧉ LastScanGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that last scanned this relation uniqueidentifier CloudProviderAccountLicensingPlanHistoryTable dbo.CloudProviderAccountLicensingPlanHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Licensing Plan history information 🔑 Pk PK_CloudProviderAccountLicensingPlanHistory ( ID ) ID⧉ ID * bigint bigint 🔍 IX_CloudProviderAccountLicensingPlanHistory_CloudProviderAccountLicensingPlanID ( CloudProviderAccountLicensingPlanID ) CloudProviderAccountLicensingPlanID⧉ CloudProviderAccountLicensingPlanID * bigint ↗ CloudProviderAccountLicensingPlanHistory( ID ) bigint🔗 References CloudProviderAccountLicensingPlan ( CloudProviderAccountLicensingPlanID -> ID ) Date⧉ Date * date ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date of the history record date 🔍 IX_CloudProviderAccountLicensingPlanHistory_Created ( Created ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the history record got created datetime2 ActiveUnits⧉ ActiveUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of active licensing units bigint ConsumedUnits⧉ ConsumedUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of consumed licensing units bigint WarningUnits⧉ WarningUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of licensing units that are in warning state bigint LockedOutUnits⧉ LockedOutUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of locked-out licensing units bigint ScanGuid⧉ ScanGuid * uniqueidentifier uniqueidentifier CloudProviderAccountScanHistoryTable dbo.CloudProviderAccountScanHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cloud scan history information. 🔑 Pk PK_CloudProviderAccountScanHistory ( ID ) ID⧉ ID * bigint bigint CloudProviderAccountID⧉ CloudProviderAccountID * bigint ↗ CloudProviderAccountScanHistory( ID ) bigint🔗 References CloudProviderAccount ( CloudProviderAccountID -> ID ) Scan⧉ Scan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/TIme of the scan datetime2 Import⧉ Import * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the scanfile got imported datetime2 ScanGUID⧉ ScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan file uniqueidentifier Build⧉ Build * nvarchar(65) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Build of the scanner that produced the scan file nvarchar(65) CloudProviderServiceTable dbo.CloudProviderService ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cloud service information. 🔑 Pk PK_CloudProviderService ( ID ) ID⧉ ID * bigint ↙ CloudProviderAccountLicensingPlanCloudProviderService( ID ) bigint🔗 Referred by CloudProviderAccountLicensingPlanCloudProviderService ( CloudProviderServiceID -> ID ) CloudProviderID⧉ CloudProviderID * bigint ↗ CloudProviderService( ID ) bigint🔗 References CloudProvider ( CloudProviderID -> ID ) Sku⧉ Sku * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SKU of the service, nvarchar(128) FriendlyName⧉ FriendlyName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Friendly name of the service if available by code translation, SKU otherwise nvarchar(255) TargetClass⧉ TargetClass * nvarchar(50) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Target class of the service nvarchar(50) CloudUserTable dbo.CloudUser ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Provider specific cloud user information 🔑 Pk PK_CloudUser ( ID ) ID⧉ ID * bigint ↙ CloudAppUsage( ID ) bigint🔗 Referred by CloudAppUsage ( CloudUserID -> ID ) CloudProviderAccountID⧉ CloudProviderAccountID * bigint ↗ CloudUser( ID ) bigint🔗 References CloudProviderAccount ( CloudProviderAccountID -> ID ) 🔍 IX_CloudUser_UserID ( UserID ) UserID⧉ UserID * bigint ↗ CloudUser( ID ) bigint🔗 References User ( UserID -> ID ) LastActivationDate⧉ LastActivationDate * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Last activation date of the user as reported by the cloud provider datetime2 LastActivityDate⧉ LastActivityDate * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Last activity date of the user as reported by the cloud provider datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Last activity scan of this cloud user  datetime2 Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this cloud user object got created datetime2 ClusterTable dbo.Cluster ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cluster information. 🔑 Pk PK_Cluster ( ID ) ID⧉ ID * bigint ↙ MachineCluster( ID ) bigint🔗 Referred by MachineCluster ( ClusterID -> ID ) Guid⧉ Guid * uniqueidentifier default newid() uniqueidentifier Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cluster name.  nvarchar(255) Description⧉ Description * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cluster description nvarchar(255) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the cluster object got created in the database datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan file that created the cluster object in the database uniqueidentifier ClusterTypeID⧉ ClusterTypeID * bigint ↗ Cluster( ID ) bigint🔗 References ClusterType ( ClusterTypeID -> ID ) DatacenterID⧉ DatacenterID bigint ↗ Cluster( ID ) bigint🔗 References Datacenter ( DatacenterID -> ID ) MoRef⧉ MoRef nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For VMware clusters, contains the managed object ID (relative to vCenter). nvarchar(128) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time time the cluster got scanned last datetime2 LastScanGuid⧉ LastScanGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan file that contained information about this cluster uniqueidentifier AnalysisExtras⧉ AnalysisExtras xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds additional analysis data xml ServiceNowSysID⧉ ServiceNowSysID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Service Now: sys_id of replicated object uniqueidentifier ServiceNowTargetClass⧉ ServiceNowTargetClass nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Service Now: class of replicated object nvarchar(128) ServiceNowLastExport⧉ ServiceNowLastExport datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last export to Service Now datetime2 ServiceNowLastImport⧉ ServiceNowLastImport datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last import from Service Now datetime2 ClusterTypeTable dbo.ClusterType ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for cluster types. 🔑 Pk PK_ClusterType ( ID ) ID⧉ ID * bigint ↙ Cluster( ID ) bigint🔗 Referred by Cluster ( ClusterTypeID -> ID ) OctopusID⧉ OctopusID * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Internal ID of this cluster type. Used by OctoSAM to identify cluster types. nvarchar(16) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cluster type name to show in the UI nvarchar(50) Description⧉ Description * nvarchar(200) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cluster type description nvarchar(200) CodeTable dbo.Code ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Used to translate various encoded values into clear text. An example of codes are numeric WMI status values. 🔑 Pk PK_Code ( ID ) ID⧉ ID * bigint bigint 🔍 IX_Code_UniqueKey ( CodeClassID, Key ) CodeClassID⧉ CodeClassID * bigint ↗ Code( ID ) bigint🔗 References CodeClass ( CodeClassID -> ID ) 🔍 IX_Code_UniqueKey ( CodeClassID, Key ) Key⧉ Key * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name used to reference the code from applications and queries nvarchar(255) Value⧉ Value * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Translated code value, useually a friendly name for the code. nvarchar(max) CodeClassTable dbo.CodeClass ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Used to translate various encoded values into clear text. 🔑 Pk PK_CodeToClearTextSection ( ID ) ID⧉ ID * bigint ↙ Code( ID ) bigint🔗 Referred by Code ( CodeClassID -> ID ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Code Class Name used to reference the code class from OctoSAM application and queries nvarchar(128) ConfigurationInformationTable dbo.ConfigurationInformation ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds internal configuration information for various OctoSAM components 🔑 Pk PK_ConfigurationInformation ( ID ) ID⧉ ID * bigint bigint 🔍 IX_ConfigurationInformation ( Name ) Name⧉ Name * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the configuration parameter nvarchar(64) Value⧉ Value * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Value of the configuration parameter as string. Note that some configuration values cannot be represented in string form.  nvarchar(max) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Last modification of this configruation parameter datetime2 XmlValue⧉ XmlValue xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Configuration value of type XML document  xml BlobValue⧉ BlobValue varbinary(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Binary configuration value varbinary(max) DateTimeValue⧉ DateTimeValue datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For date/time values, holds the information in database internal format (in addition to the string format in the Value column). This facilitates usage of the value in SQL. datetime2 JsonValue⧉ JsonValue nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Configuration value of type JSON element nvarchar(max) ConnectedSystemTable dbo.ConnectedSystem ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Records data about systems connected to OctoSAM 🔑 Pk PK_ConnectedSystem ( ID ) ID⧉ ID * bigint ↙ ConnectedSystemHistory( ID ) bigint🔗 Referred by ConnectedSystemHistory ( ConnectedSystemID -> ID ) ConnectedSystemTypeID⧉ ConnectedSystemTypeID * bigint ↗ ConnectedSystem( ID ) bigint🔗 References ConnectedSystemType ( ConnectedSystemTypeID -> ID ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the connected system nvarchar(128) Guid⧉ Guid uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Guid of the connected system, as provided by the scanner or import logic uniqueidentifier Description⧉ Description * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of the connected system nvarchar(max) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the connected system got last scanned datetime2 Res1⧉ Res1 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(50) Res2⧉ Res2 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(50) AdditionalData⧉ AdditionalData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Optionally contains JSON formatted additional information about the system nvarchar(max) ConnectedSystemHistoryTable dbo.ConnectedSystemHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ History about connected systems. This table is used to control and diagnose connections to systems such as ServiceNow, vCenter etc. 🔑 Pk PK_ConnectedSystemHistory ( ID ) ID⧉ ID * bigint bigint 🔍 IX_ConnectedSystemHistory_ConnectedSystem ( ConnectedSystemID ) ConnectedSystemID⧉ ConnectedSystemID * bigint ↗ ConnectedSystemHistory( ID ) bigint🔗 References ConnectedSystem ( ConnectedSystemID -> ID ) 🔍 IX_ConnectedSystemHistory_Scan ( Scan ) Scan⧉ Scan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the scan datetime2 Users⧉ Users bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User count for this scan if provided by the partner system bigint Machines⧉ Machines bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Machine count for this scan if provided by the partner system bigint VirtualMachines⧉ VirtualMachines bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Virtual machine count for this scan if provided by the partner system bigint Groups⧉ Groups bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Group count for this scan if provided by the partner system bigint Clusters⧉ Clusters bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cluster count for this scan if provided by the partner system bigint AdditionalData⧉ AdditionalData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Additional data for this scan in JSON format nvarchar(max) Items⧉ Items * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Total number of items for this scan bigint Warnings⧉ Warnings * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Warnings during import of this scan bigint Errors⧉ Errors * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Errors during import of this scan bigint ImportDurationMillis⧉ ImportDurationMillis * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Duratioon of the imoprt operation bigint ScanDurationMillis⧉ ScanDurationMillis bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Duration of the scan operation if provided by the partner system scanner / interface bigint ScanGuid⧉ ScanGuid uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Guid of the scan that created this item if available uniqueidentifier Filename⧉ Filename nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Filename of the import if available nvarchar(255) ConnectedSystemTypeTable dbo.ConnectedSystemType ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for connected system types. 🔑 Pk PK_ConnectedSystemType ( ID ) ID⧉ ID * bigint ↙ ConnectedSystem( ID ) bigint🔗 Referred by ConnectedSystem ( ConnectedSystemTypeID -> ID ) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Connected system type nvarchar(50) OctopusID⧉ OctopusID * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Internal program Id nvarchar(50) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created datetime2 CostCenterTable dbo.CostCenter 🔑 Pk PK_CostCenter ( ID ) ID⧉ ID * bigint bigint Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the cost center nvarchar(50) Descripton⧉ Descripton * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of the cost center nvarchar(512) Created⧉ Created * datetime2 default getdate() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this record was created datetime2 ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(max) CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this machine, not used by OctoSAM Inventory. nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this machine, not used by OctoSAM Inventory. nvarchar(255) CustomField3⧉ CustomField3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this machine, not used by OctoSAM Inventory. nvarchar(255) CustomField4⧉ CustomField4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this machine, not used by OctoSAM Inventory. nvarchar(255) CurrencyTable dbo.Currency ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for currencies. 🔑 Pk PK_Currency ( ID ) ID⧉ ID * bigint ↙ AnnotationProperty( ID ) ↙ SoftwareItem( ID ) ↙ SoftwareItem( ID ) bigint🔗 Referred by AnnotationProperty ( CurrencyID -> ID ) Referred by SoftwareItem ( InitialCostCurrencyID -> ID ) Referred by SoftwareItem ( RecurringCostCurrencyID -> ID ) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ International currency name nvarchar(50) DatacenterTable dbo.Datacenter ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For VMware virtualization: holds vSphere datacenter information. 🔑 Pk PK_Datacenter ( ID ) ID⧉ ID * bigint ↙ Cluster( ID ) ↙ VirtualMachine( ID ) bigint🔗 Referred by Cluster ( DatacenterID -> ID ) Referred by VirtualMachine ( DatacenterID -> ID ) Guid⧉ Guid * uniqueidentifier default newid() uniqueidentifier Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the datacenter nvarchar(255) Notes⧉ Notes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes nvarchar(max) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this datacenter object was created in the database datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan file that created this datacenter uniqueidentifier LastScan⧉ LastScan * datetime ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this datacenter got scanned last datetime LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan file for this datacenter uniqueidentifier MoRef⧉ MoRef * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ VMWare managed object ID of this datacenter, relative to VCenter - or VirtualizationManagementSystem in the database. nvarchar(128) VirtualizationManagementSystemID⧉ VirtualizationManagementSystemID * bigint ↗ Datacenter( ID ) bigint🔗 References VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) ServiceNowSysID⧉ ServiceNowSysID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Service Now: sys_id of the replicated object uniqueidentifier ServiceNowTargetClass⧉ ServiceNowTargetClass nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Service Now: class of the replicated object nvarchar(128) ServiceNowLastExport⧉ ServiceNowLastExport datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last export to Service Now datetime2 ServiceNowLastImport⧉ ServiceNowLastImport datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last import from Service Now datetime2 DirectoryMissingMachineTable dbo.DirectoryMissingMachine ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Machines that are in Active Directory but not in the OctoSAM Inventory database. Used to diagnose missing scanner invocation policies. 🔑 Pk PK_DirectoryMissingMachine ( ID ) ID⧉ ID * bigint ↙ DirectoryMissingMachineGroup( ID ) bigint🔗 Referred by DirectoryMissingMachineGroup ( DirectoryMissingMachineID -> ID ) 🔍 IX_DirectoryMissingMachine_OrganizationID ( OrganizationID ) OrganizationID⧉ OrganizationID * bigint ↗ DirectoryMissingMachine( ID ) bigint🔗 References Organization ( OrganizationID -> ID ) Name⧉ Name * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Machine name nvarchar(64) DomainName⧉ DomainName * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ NETBIOS domain name as specified in the import service configuration nvarchar(64) PrintableName⧉ PrintableName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Combined attributes to use for display and reports nvarchar(128) Path⧉ Path * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Distinguished name of this machine in Active Directory nvarchar(255) ContainerPath⧉ ContainerPath * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Distinguished name of the container of this machine. Provided for grouping and export  nvarchar(255) Description⧉ Description * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description attribute from Active Directory nvarchar(255) Location⧉ Location * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Location attribute from Active Directory nvarchar(255) LastLogonTimestamp⧉ LastLogonTimestamp * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ LastLogonTimestam attribute from Active Directory datetime2 UserAccountControl⧉ UserAccountControl * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ UserAccountControl attribute from Active Directory bigint OperatingSystem⧉ OperatingSystem * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OperatingSystem attribute from Active Directory nvarchar(50) OperatingSystemVersion⧉ OperatingSystemVersion * nvarchar(32) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OperatingSystemVersion attribute from Active Directory nvarchar(32) OperatingSystemServicePack⧉ OperatingSystemServicePack * nvarchar(32) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OperatingSystemServicePack attribute from Active Directory nvarchar(32) OperatingSystemServer⧉ OperatingSystemServer bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if a server operating system was detected bit OperatingSystemPublisher⧉ OperatingSystemPublisher nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Publisher of the OS. Denormalized from SoftwarePublisher.Name nvarchar(128) OperatingSystemFamily⧉ OperatingSystemFamily nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A short name for the operating system family. WIN for Windows, Linux for Linux, ESX for Vmware ESX etc. nvarchar(16) Disabled⧉ Disabled * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if UserAccountControl has the computer account disabled flag set bit Source⧉ Source * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Source from where this computer object was read. Refers to import service configuration. nvarchar(255) Checked⧉ Checked * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this machine was last checked from Active Directory with the database datetime2 Ext1⧉ Ext1 nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Site specific data, can optionally be used to load site-specific extended schema properties. nvarchar(128) Ext2⧉ Ext2 nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Site specific data, can optionally be used to load site-specific extended schema properties. nvarchar(128) Ext3⧉ Ext3 nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Site specific data, can optionally be used to load site-specific extended schema properties. nvarchar(128) Ext4⧉ Ext4 nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Site specific data, can optionally be used to load site-specific extended schema properties. nvarchar(128) ExtensionAttribute1⧉ ExtensionAttribute1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute2⧉ ExtensionAttribute2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute3⧉ ExtensionAttribute3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute4⧉ ExtensionAttribute4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute5⧉ ExtensionAttribute5 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute6⧉ ExtensionAttribute6 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute7⧉ ExtensionAttribute7 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute8⧉ ExtensionAttribute8 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute9⧉ ExtensionAttribute9 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute10⧉ ExtensionAttribute10 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute11⧉ ExtensionAttribute11 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute12⧉ ExtensionAttribute12 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute13⧉ ExtensionAttribute13 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute14⧉ ExtensionAttribute14 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) ExtensionAttribute15⧉ ExtensionAttribute15 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory nvarchar(255) WhenCreated⧉ WhenCreated datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory datetime2 WhenChanged⧉ WhenChanged datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory datetime2 🔍 IX_DirectoryMissingMachine_Guid ( Guid ) Guid⧉ Guid uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Active Directory objectGuid uniqueidentifier AccountExpires⧉ AccountExpires datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ From Active Directory datetime2 CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data, not used by OctoSAM Inventory. nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data, not used by OctoSAM Inventory. nvarchar(255) CustomField3⧉ CustomField3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data, not used by OctoSAM Inventory. nvarchar(255) CustomField4⧉ CustomField4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data, not used by OctoSAM Inventory. nvarchar(255) NoScan⧉ NoScan * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If true this machine should not be scanned. It is ignored for scan coverage reporting. bit ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data for this item. OctoSAM internal. nvarchar(max) EntraIdTenantId⧉ EntraIdTenantId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID tenant id uniqueidentifier MappingTag⧉ MappingTag nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for organization mapping nvarchar(255) DirectoryMissingMachineGroupTable dbo.DirectoryMissingMachineGroup ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ m:n relation Group to DirectoryMissingMachine 🔑 Pk PK_DirectoryMissingMachineGroup ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_DirectoryMissingMachineGroup_MissingMachineGroup ( DirectoryMissingMachineID, GroupID ) 🔍 IX_DirectoryMissingMachineGroup_GroupID ( GroupID ) GroupID⧉ GroupID * bigint ↗ DirectoryMissingMachineGroup( ID ) bigint🔗 References Group ( GroupID -> ID ) 🔍 Unq IX_DirectoryMissingMachineGroup_MissingMachineGroup ( DirectoryMissingMachineID, GroupID ) 🔍 IX_DirectoryMissingMachineGroup_DirectoryMissingMachineID ( DirectoryMissingMachineID ) DirectoryMissingMachineID⧉ DirectoryMissingMachineID * bigint ↗ DirectoryMissingMachineGroup( ID ) bigint🔗 References DirectoryMissingMachine ( DirectoryMissingMachineID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created in the database datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got scanned last datetime2 DirectoryMissingUserTable dbo.DirectoryMissingUser ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Users that are in Active Directory but not in the OctoSAM database. Used to diagnose missing scanner invocation policies. 🔑 Pk PK_DirectoryMissingUser ( ID ) ID⧉ ID * bigint ↙ DirectoryMissingUserGroup( ID ) bigint🔗 Referred by DirectoryMissingUserGroup ( DirectoryMissingUserID -> ID ) 🔍 IX_DirectoryMissingUser_OrganizationID ( OrganizationID ) OrganizationID⧉ OrganizationID * bigint ↗ DirectoryMissingUser( ID ) bigint🔗 References Organization ( OrganizationID -> ID ) LoginName⧉ LoginName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ sAMAccountName attribute from Active Directory nvarchar(128) DomainName⧉ DomainName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ NETBIOS domain name as specified in the import service configuration nvarchar(128) UserPrincipalName⧉ UserPrincipalName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ UserPrincipalName attribute from Active Directory nvarchar(128) PrintableName⧉ PrintableName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Combination of attributes for display and reporting nvarchar(128) Path⧉ Path * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DistinguishedName of this user object in Active Directory nvarchar(255) ContainerPath⧉ ContainerPath * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DistinguishedName of this objects container. Provided for grouping and export to other applications. nvarchar(255) DisplayName⧉ DisplayName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DisplayName attribute from Active Directory nvarchar(255) Description⧉ Description * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description attribute from Active Directory nvarchar(255) LastLogonTimestamp⧉ LastLogonTimestamp * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ LastLogonTimestamp attribute from Active Directory datetime2 EntraIdTenantId⧉ EntraIdTenantId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID tenant id uniqueidentifier MappingTag⧉ MappingTag nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for organization mapping nvarchar(255) MsDSConsistencyGuid⧉ MsDSConsistencyGuid uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A unique ID used by Microsoft Entra ID to synchronize user information, uniqueidentifier--more-- DirectoryMissingUserGroupTable dbo.DirectoryMissingUserGroup ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation Group to DirectoryMissingUser tables. 🔑 Pk PK_DirectoryMissingUserGroup ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_DirectoryMissingUserGroup_MissingUserGroup ( DirectoryMissingUserID, GroupID ) 🔍 IX_DirectoryMissingUserGroup_GroupID ( GroupID ) GroupID⧉ GroupID * bigint ↗ DirectoryMissingUserGroup( ID ) bigint🔗 References Group ( GroupID -> ID ) 🔍 Unq IX_DirectoryMissingUserGroup_MissingUserGroup ( DirectoryMissingUserID, GroupID ) 🔍 IX_DirectoryMissingUserGroup_DirectoryMissingUserID ( DirectoryMissingUserID ) DirectoryMissingUserID⧉ DirectoryMissingUserID * bigint ↗ DirectoryMissingUserGroup( ID ) bigint🔗 References DirectoryMissingUser ( DirectoryMissingUserID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created in the database datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation was scanned last datetime2 EntraIdMissingDeviceTable dbo.EntraIdMissingDevice ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Devices that we found in Entra ID that have not been scanned 🔑 Pk PK_EntraIDMissingDevice ( ID ) ID⧉ ID * bigint bigint CloudProviderAccountID⧉ CloudProviderAccountID * bigint ↗ EntraIdMissingDevice( ID ) bigint🔗 References CloudProviderAccount ( CloudProviderAccountID -> ID ) DisplayName⧉ DisplayName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The display name for the device nvarchar(255) AccountEnabled⧉ AccountEnabled * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the account is enabled bit ApproximateLastSignInDateTime⧉ ApproximateLastSignInDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Approximate date/time this device last signed in to Entra ID datetime2 ComplianceExpirationDateTime⧉ ComplianceExpirationDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The timestamp when the device is no longer deemed compliant datetime2 DeviceCategory⧉ DeviceCategory nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User-defined property set by Intune to automatically add devices to groups and simplify managing devices nvarchar(50) DeviceId⧉ DeviceId nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unique identifier set by Entra ID device registration service at the time of registration nvarchar(255) DeviceOwnership⧉ DeviceOwnership nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Ownership of the device. Set by Intune. nvarchar(255) EnrollmentProfileName⧉ EnrollmentProfileName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entrollment profile applied to the device nvarchar(255) ExtensionAttribute1⧉ ExtensionAttribute1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension Attribute 1 from Entra ID nvarchar(255)--more-- EntraIdMissingUserTable dbo.EntraIdMissingUser 🔑 Pk PK_EntraIdMissingUser ( ID ) ID⧉ ID * bigint bigint CloudProviderAccountID⧉ CloudProviderAccountID * bigint ↗ EntraIdMissingUser( ID ) bigint🔗 References CloudProviderAccount ( CloudProviderAccountID -> ID ) AboutMe⧉ AboutMe nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A free-form text entry field for the user to describe themselves nvarchar(max) AccountEnabled⧉ AccountEnabled * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the account is enabled bit Birthday⧉ Birthday datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Birthday datetime2 BusinessPhones⧉ BusinessPhones nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The telephone numbers of the user nvarchar(255) City⧉ City nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The city where the user is located nvarchar(255) CompanyName⧉ CompanyName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The name of the company the user is associated with nvarchar(255) Country⧉ Country nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The country or region where the user is located nvarchar(128) CreatedDateTime⧉ CreatedDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the user was created in Entra ID datetime2 CreationType⧉ CreationType nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Indicates the method through which the user account was created nvarchar(128)--more-- FileTable dbo.File ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains collected files per machine. 🔑 Pk PK_Files ( ID ) ID⧉ ID * bigint bigint 🔍 IX_Files_MachineID ( MachineID ) MachineID⧉ MachineID * bigint ↗ File( ID ) bigint🔗 References Machine ( MachineID -> ID ) FileTypeID⧉ FileTypeID * bigint ↗ File( ID ) bigint🔗 References FileType ( FileTypeID -> ID ) Filename⧉ Filename * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ File name nvarchar(512) Path⧉ Path * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Original full path of the file nvarchar(512) LastWriteTime⧉ LastWriteTime * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Last write time of the file datetime2 LastAccessTime⧉ LastAccessTime * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Last access time of the file datetime2 CreationTime⧉ CreationTime * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ CreationTime of the file datetime2 Data⧉ Data * varbinary(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ File data varbinary(max) FileTypeTable dbo.FileType ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for collected file types. 🔑 Pk PK_FileType ( ID ) ID⧉ ID * bigint ↙ File( ID ) bigint🔗 Referred by File ( FileTypeID -> ID ) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the FileType nvarchar(50) OctopusID⧉ OctopusID * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Octopus internal Name of the FileType nvarchar(16) Description⧉ Description * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of the FileType nvarchar(128) GroupTable dbo.Group ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Group of users or machines 🔑 Pk PK_Group ( ID ) ID⧉ ID * bigint ↙ DirectoryMissingMachineGroup( ID ) ↙ DirectoryMissingUserGroup( ID ) ↙ GroupScanHistory( ID ) ↙ MachineGroup( ID ) ↙ PublishedSoftwarePackage( ID ) ↙ UserGroup( ID ) bigint🔗 Referred by DirectoryMissingMachineGroup ( GroupID -> ID ) Referred by DirectoryMissingUserGroup ( GroupID -> ID ) Referred by GroupScanHistory ( GroupID -> ID ) Referred by MachineGroup ( GroupID -> ID ) Referred by PublishedSoftwarePackage ( GroupID -> ID ) Referred by UserGroup ( GroupID -> ID ) GroupTypeID⧉ GroupTypeID * bigint ↗ Group( ID ) bigint🔗 References GroupType ( GroupTypeID -> ID ) GroupingProviderID⧉ GroupingProviderID * bigint ↗ Group( ID ) bigint🔗 References GroupingProvider ( GroupingProviderID -> ID ) Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the group nvarchar(255) Domain⧉ Domain * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Domain of the group if provided by the group scanner nvarchar(50) DirectoryPath⧉ DirectoryPath * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For groups imported from Active Directory: holds the distinguishedName of the group nvarchar(255) Description⧉ Description * nvarchar(500) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of the group nvarchar(500) Keep⧉ Keep * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If True, existing groups are not deleted even if they are no longer scanned from the same grouping provider. Do not use this flag without consulting OctoSoft first. bit UsersNotFoundInDatabase⧉ UsersNotFoundInDatabase * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Users not found in either the User or DirectoryMissingUser table. If not 0, check import service logfile for problems. bigint MachinesNotFoundInDatabase⧉ MachinesNotFoundInDatabase * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Machines not found in either the Machine or DirectoryMissingMachine table. If not 0, check import service logfile for problems. bigint Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this group was created in the database datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this group was last scanned datetime2 LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this group object was last modified through the UI datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM Inventory UI user that last modified this object nvarchar(128) Notes⧉ Notes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes nvarchar(max) SID⧉ SID nvarchar(200) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Group SID for groups imported from Active Directory nvarchar(200) DirectoryWhenCreated⧉ DirectoryWhenCreated datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this group was created in Active Directory datetime2 DirectoryWhenChanged⧉ DirectoryWhenChanged datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this group was last modified in Active Directory datetime2 Error⧉ Error * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if there was an error enumerating the members of this group bit ErrorMessage⧉ ErrorMessage nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error message detailing the problem encountered when trying to enumerate the group nvarchar(max) 🔍 Unq UK_Group_Guid ( Guid ) Guid⧉ Guid * uniqueidentifier default newid() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A unique ID that can be used to link to this object from external applications uniqueidentifier AnalysisExtras⧉ AnalysisExtras xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds additional analysis data xml ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data collected for documentation of this machine to signature relation nvarchar(max) SoftwarePublishing⧉ SoftwarePublishing bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if this group is used to configure software publishing bit EntraIdId⧉ EntraIdId nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID ID nvarchar(128) EntraIdTenantId⧉ EntraIdTenantId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID Tenant ID uniqueidentifier EntraIdClassification⧉ EntraIdClassification nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ classification field from Entra ID nvarchar(128) EntraIdOnPremisesDomainName⧉ EntraIdOnPremisesDomainName nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ On premises domain name from Entra ID nvarchar(128) EntraIdOnPremisesLastSyncDateTime⧉ EntraIdOnPremisesLastSyncDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID on premises last sync date time datetime2 EntraIdOnPremisesNetbiosName⧉ EntraIdOnPremisesNetbiosName datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ On premises netbios name of the group from Entra ID datetime2 EntraIdOnPremisesSamAccountName⧉ EntraIdOnPremisesSamAccountName datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ On premises SAMAccountName of the group from Entra ID datetime2 EntraIdOnPremisesSyncEnabled⧉ EntraIdOnPremisesSyncEnabled bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID on premises sync enabled flag for this group bit EntraIdSecurityEnabled⧉ EntraIdSecurityEnabled bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if this Entra ID group is a security group bit EntraIdGroupTypes⧉ EntraIdGroupTypes nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID group types list nvarchar(128) CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 1, not used by OctoSAM logic nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 2, not used by OctoSAM logic nvarchar(255) CustomField3⧉ CustomField3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 3, not used by OctoSAM logic nvarchar(255) CustomField4⧉ CustomField4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 4, not used by OctoSAM logic nvarchar(255) GroupScanHistoryTable dbo.GroupScanHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use. 🔑 Pk PK_GroupScanHistory ( ID ) ID⧉ ID * bigint bigint 🔍 IX_GroupScanHistory_GroupID ( GroupID ) GroupID⧉ GroupID * bigint ↗ GroupScanHistory( ID ) bigint🔗 References Group ( GroupID -> ID ) Scan⧉ Scan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the scan datetime2 Import⧉ Import * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the import of the scan file datetime2 ScanGUID⧉ ScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan file uniqueidentifier Build⧉ Build * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Build information about the scanner that did this group scan nvarchar(64) GroupTypeTable dbo.GroupType ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for group types. 🔑 Pk PK_GroupType ( ID ) ID⧉ ID * bigint ↙ Group( ID ) bigint🔗 Referred by Group ( GroupTypeID -> ID ) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Group type name nvarchar(50) 🔍 Unq IX_GroupType_OctopusID ( OctopusID ) OctopusID⧉ OctopusID * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Internal ID of this group type. Used by the OctoSAM logic to identify group  types. nvarchar(16) Description⧉ Description * nvarchar(250) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description nvarchar(250) PublishedSoftware⧉ PublishedSoftware * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if groups of this type are used for software publishing or usage permission bit GroupingProviderTable dbo.GroupingProvider ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A uniquely identified source of group information. Used for identification and reorganization (cleanup) of groups. 🔑 Pk PK_GroupingProvider ( ID ) ID⧉ ID * bigint ↙ Group( ID ) ↙ GroupingProviderScanHistory( ID ) bigint🔗 Referred by Group ( GroupingProviderID -> ID ) Referred by GroupingProviderScanHistory ( GroupingProviderID -> ID ) DisplayName⧉ DisplayName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name that the GUI displays nvarchar(255) ProviderGUID⧉ ProviderGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A uuid that uniquely identifies the grouping provider. Must be set to a distinct value for each provider. uniqueidentifier Description⧉ Description * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description nvarchar(255) Notes⧉ Notes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes nvarchar(max) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity was created in the database datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this grouping provider did last scan its source information datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created this grouping privider uniqueidentifier LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan this grouping provider uniqueidentifier GroupingProviderScanHistoryTable dbo.GroupingProviderScanHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Scan history of a grouping provider. 🔑 Pk PK_GroupingProviderScanHistory ( ID ) ID⧉ ID * bigint bigint GroupingProviderID⧉ GroupingProviderID * bigint ↗ GroupingProviderScanHistory( ID ) bigint🔗 References GroupingProvider ( GroupingProviderID -> ID ) Scan⧉ Scan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this group scan was produced datetime2 Import⧉ Import * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the scan file was imported (different from Scan for offline capable scanners) datetime2 ScanGUID⧉ ScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan uniqueidentifier Build⧉ Build * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Scanner technical build information nvarchar(64) ImageTable dbo.Image ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use. 🔑 Pk PK_Image ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_Image_Guid ( Guid ) Guid⧉ Guid * uniqueidentifier uniqueidentifier Image⧉ Image * varbinary(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The binary image varbinary(max) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created in the database datetime2 LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got last modified datetime2 ImportControlTable dbo.ImportControl ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds the GUIDs of all imported .scan files. This helps to eliminate duplicate imports of the same data, which could influence for example the usage metering information. The table can also be used to collect information about active scanner versions and history. 🔑 Pk PK_ImportControl ( ID ) ID⧉ ID * bigint ↙ ImportControlMessage( ID ) bigint🔗 Referred by ImportControlMessage ( ImportControlID -> ID ) 🔍 Unq IX_ImportControl_ImportGUID ( ImportGUID ) ImportGUID⧉ ImportGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the imported .scan file. uniqueidentifier LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last write to this entity datetime2 Error⧉ Error * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the .scan file could not be imported properly. It will be moved to the archive/bad folder structure. bit 🔍 IX_ImportControl_LastScan ( LastScan ) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the scan (time from the scanned system - clock may be out of sync with global time) datetime2 🔍 IX_ImportControl_LastScanDate ( LastScanDate ) LastScanDate⧉ LastScanDate date ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date part of the LastScan field date OctoscanBuildInfo⧉ OctoscanBuildInfo nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Build info about the octoscan2 version that generated the .scan file. nvarchar(128) ImportFolderID⧉ ImportFolderID bigint ↗ ImportControl( ID ) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Can be Null if import was before version 1.9.2 bigint🔗 References ImportFolder ( ImportFolderID -> ID ) 🔍 IX_ImportControl_UserID ( UserID ) UserID⧉ UserID bigint ↗ ImportControl( ID ) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Can be Null if the user was deleted from the database, or if the scan did not provide user information. bigint🔗 References User ( UserID -> ID ) 🔍 IX_ImportControl_MachineID ( MachineID ) MachineID⧉ MachineID bigint ↗ ImportControl( ID ) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Can be Null if the machine was deleted from the database, or if the scan did not provide machine information. bigint🔗 References Machine ( MachineID -> ID ) Tag⧉ Tag nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Tag value to identifiy the scanner instance. Can be configured per scanner. nvarchar(64) ScanType⧉ ScanType nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Internal ID to identify different types of scans nvarchar(16) Encoding⧉ Encoding nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ XML Encoding of the imported file nvarchar(16) WindowsCodePage⧉ WindowsCodePage int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Windows Code Page of the imported file int ContainsUalData⧉ ContainsUalData bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the scan contains UAL data bit ContainsMeteringData⧉ ContainsMeteringData bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the scan contains Metering data bit ContainsWmiData⧉ ContainsWmiData bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the scan contains WMI (Hardware and Configuration) data bit ContainsVirtualizationHostData⧉ ContainsVirtualizationHostData bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the scan contains information from a virtualization host bit ContainsVirtualizationGuestData⧉ ContainsVirtualizationGuestData bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the scan contains information about a virtualization guest bit OctoSAMBuildInfo⧉ OctoSAMBuildInfo nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Scanner build information nvarchar(128) RuntimeInfo⧉ RuntimeInfo nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Scanner runtime information nvarchar(128) ImportControlMessageTable dbo.ImportControlMessage ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Messages generated by the scanner 🔑 Pk PK_ImportControlMessage ( ID ) ID⧉ ID * bigint bigint 🔍 IX_ImportControlMessage_ImportControlID ( ImportControlID ) ImportControlID⧉ ImportControlID * bigint ↗ ImportControlMessage( ID ) bigint🔗 References ImportControl ( ImportControlID -> ID ) SequenceNumber⧉ SequenceNumber * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Order in wich the messages were read from the .scan file. int MessageID⧉ MessageID * int default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unique message id defined by the scanner int Severity⧉ Severity * nchar(1) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ E for Error, W for Warning. nchar(1) Message⧉ Message * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Message generated by the scanner nvarchar(512) ImportFolderTable dbo.ImportFolder ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Infomation about import folders. Used for statistics and investigation for installations that have multiple import folders. 🔑 Pk PK_ImportFolder ( ID ) ID⧉ ID * bigint ↗ ImportFolder( ID ) ↙ ImportControl( ID ) ↙ ImportFolder( ID ) bigint🔗 References ImportFolder ( ID ) Referred by ImportControl ( ImportFolderID -> ID ) Referred by ImportFolder ( ID ) Path⧉ Path * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Import Folder Path nvarchar(256) InformationSourceTable dbo.InformationSource ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Defines different information sources in the case that different scanners update information for the same machine. 🔑 Pk PK_InformationSource ( ID ) ID⧉ ID * bigint ↙ MachineSoftwareSignature( ID ) ↙ MachineUserSoftwareSignature( ID ) ↙ WmiInstance( ID ) ↙ WmiInstanceHistory( ID ) bigint🔗 Referred by MachineSoftwareSignature ( InformationSourceID -> ID ) Referred by MachineUserSoftwareSignature ( InformationSourceID -> ID ) Referred by WmiInstance ( InformationSourceID -> ID ) Referred by WmiInstanceHistory ( InformationSourceID -> ID ) 🔍 Unq IX_InformationSource_OctopusID ( OctopusID ) OctopusID⧉ OctopusID * nvarchar(16) nvarchar(16) Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Information source name nvarchar(255) LanguageTable dbo.Language ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for languages. 🔑 Pk PK_Language ( ID ) ID⧉ ID * bigint ↙ AnnotationCodeLocalizedDisplayName( ID ) ↙ AnnotationLabel( ID ) bigint🔗 Referred by AnnotationCodeLocalizedDisplayName ( LanguageID -> ID ) Referred by AnnotationLabel ( LanguageID -> ID ) Code⧉ Code * nvarchar(3) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 2 letter language code nvarchar(3) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ language name nvarchar(50) LicenseManagerRbacUserFavoriteFeatureTable dbo.LicenseManagerRbacUserFavoriteFeature ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User specific selection of favorite license manager features to display. 🔑 Pk PK_LicenseManagerRbacUserFavoriteFeature ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_LicenseManagerRbacUserFavoriteFeature_RbacUserLicenseManagerServerFeature ( RbacUserID, LicenseManagerServerFeatureID ) 🔍 IX_LicenseManagerRbacUserFavoriteFeature_RbacUser ( RbacUserID ) RbacUserID⧉ RbacUserID * bigint ↗ LicenseManagerRbacUserFavoriteFeature( ID ) bigint🔗 References RbacUser ( RbacUserID -> ID ) 🔍 Unq UK_LicenseManagerRbacUserFavoriteFeature_RbacUserLicenseManagerServerFeature ( RbacUserID, LicenseManagerServerFeatureID ) 🔍 IX_LicenseManagerRbacUserFavoriteFeature_LicenseManagerServerFeature ( LicenseManagerServerFeatureID ) LicenseManagerServerFeatureID⧉ LicenseManagerServerFeatureID * bigint ↗ LicenseManagerRbacUserFavoriteFeature( ID ) bigint🔗 References LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) SortOrder⧉ SortOrder * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM Inventory sorts favorite features in ascending sort order by default int LastModified⧉ LastModified * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity was last modified datetime2 LicenseManagerServerTable dbo.LicenseManagerServer ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Defines a license manager server for use by the OctoSAM Monitor module. 🔑 Pk PK_LicenseManagerServer ( ID ) ID⧉ ID * bigint ↙ LicenseManagerServerBuffer( ID ) ↙ LicenseManagerServerEvent( ID ) ↙ LicenseManagerServerFeature( ID ) ↙ LicenseManagerServerMachine( ID ) ↙ LicenseManagerServerObserverLog( ID ) ↙ LicenseManagerServerScan( ID ) ↙ LicenseManagerServerUser( ID ) ↙ SoftwareItemLicenseManagerServer( ID ) bigint🔗 Referred by LicenseManagerServerBuffer ( LicenseManagerServerID -> ID ) Referred by LicenseManagerServerEvent ( LicenseManagerServerID -> ID ) Referred by LicenseManagerServerFeature ( LicenseManagerServerID -> ID ) Referred by LicenseManagerServerMachine ( LicenseManagerServerID -> ID ) Referred by LicenseManagerServerObserverLog ( LicenseManagerServerID -> ID ) Referred by LicenseManagerServerScan ( LicenseManagerServerID -> ID ) Referred by LicenseManagerServerUser ( LicenseManagerServerID -> ID ) Referred by SoftwareItemLicenseManagerServer ( LicenseManagerServerID -> ID ) DisplayName⧉ DisplayName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the LicenseManagerServer object that gets displayed in the UI nvarchar(128) LmType⧉ LmType * nvarchar(32) default 'FlexLM' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ LicenseMangerServer type nvarchar(32) Address⧉ Address * nvarchar(512) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Address of the remote server. Format of this value is specific to each LmType. nvarchar(512) Parameters⧉ Parameters * nvarchar(512) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(512) LicenseFileName⧉ LicenseFileName * nvarchar(1024) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ License filename as reported by FlexLM nvarchar(1024) Enabled⧉ Enabled * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If True, the server gets scanned. Set this flag to false to temporarily disable scanning of this server. bit OrganizationID⧉ OrganizationID * bigint ↗ LicenseManagerServer( ID ) bigint🔗 References Organization ( OrganizationID -> ID ) ScanDue⧉ ScanDue * datetime2 default getdate() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the next statistics scan should take place datetime2 IntervalMinutes⧉ IntervalMinutes * bigint default 15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Interval between scans during normal usage periods bigint Created⧉ Created * datetime2 default getdate() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created in the database datetime2 ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data for this object (JSON) nvarchar(max) HintFirstUsageDataAvailable⧉ HintFirstUsageDataAvailable datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of first usage date available in the database datetime2 HintHasSoftwareItems⧉ HintHasSoftwareItems bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if one or more software items exist for this license manager server bit--more-- LicenseManagerServerBufferTable dbo.LicenseManagerServerBuffer ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds the text of the response of the LM specific commands that the observer service parsed 🔑 Pk PK_LicenseManagerServerBuffer ( ID ) ID⧉ ID * bigint bigint LicenseManagerServerID⧉ LicenseManagerServerID * bigint ↗ LicenseManagerServerBuffer( ID ) bigint🔗 References LicenseManagerServer ( LicenseManagerServerID -> ID ) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this buffer was scanned datetime2 Buffer⧉ Buffer * text ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Message returned from the license manager statistics / diagnostics tools text Command⧉ Command * nvarchar(16) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For FLexLM this can either be 'lmstat' or 'lmdiag' nvarchar(16) LicenseManagerServerEventTable dbo.LicenseManagerServerEvent ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use. 🔑 Pk PK_LicenseManagerServerEvent ( ID ) ID⧉ ID * bigint bigint 🔍 IX_LicenseManagerServerEvent_LicenseMangerServerID ( LicenseManagerServerID ) LicenseManagerServerID⧉ LicenseManagerServerID * bigint ↗ LicenseManagerServerEvent( ID ) bigint🔗 References LicenseManagerServer ( LicenseManagerServerID -> ID ) Scan⧉ Scan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date of the scan datetime2 Type⧉ Type * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Event type nvarchar(50) Message⧉ Message * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Message from the scanned system nvarchar(max) Res1⧉ Res1 * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(255) Res2⧉ Res2 * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(255) AnalysisExtra⧉ AnalysisExtra xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use xml LicenseManagerServerFeatureTable dbo.LicenseManagerServerFeature ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Defines a feature within a license manager server. 🔑 Pk PK_LicenseManagerServerFeature ( ID ) ID⧉ ID * bigint ↙ LicenseManagerRbacUserFavoriteFeature( ID ) ↙ LicenseManagerServerFeatureSessionUsageDetail( ID ) ↙ LicenseManagerServerFeatureUsageDetail( ID ) ↙ LicenseManagerServerFeatureVersion( ID ) ↙ LicenseManagerServerObserverLog( ID ) bigint🔗 Referred by LicenseManagerRbacUserFavoriteFeature ( LicenseManagerServerFeatureID -> ID ) Referred by LicenseManagerServerFeatureSessionUsageDetail ( LicenseManagerServerFeatureID -> ID ) Referred by LicenseManagerServerFeatureUsageDetail ( LicenseManagerServerFeatureID -> ID ) Referred by LicenseManagerServerFeatureVersion ( LicenseManagerServerFeatureID -> ID ) Referred by LicenseManagerServerObserverLog ( LicenseManagerServerFeatureID -> ID ) 🔍 IX_LicenseManagerServerFeature_LicenseManagerID ( LicenseManagerServerID ) LicenseManagerServerID⧉ LicenseManagerServerID * bigint ↗ LicenseManagerServerFeature( ID ) bigint🔗 References LicenseManagerServer ( LicenseManagerServerID -> ID ) 🔍 IX_LicenseManagerServerFeature_Name ( Name ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Feature name nvarchar(128) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this feature was scanned last datetime2 LicensesIssued⧉ LicensesIssued * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of licenses issued on this feature bigint LicensesIssuedChanged⧉ LicensesIssuedChanged * datetime2 default '19000101' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the licenses issued value last changed datetime2 MaxLicensesUsed⧉ MaxLicensesUsed * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Max number of licenses used while scanning the feature (since FirstScan) bigint MaxLicensesUsedChanged⧉ MaxLicensesUsedChanged * datetime2 default '19000101' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the MaxLicensesUsed field last changed (this is the date/time that the maximum usage ratio was first reached) datetime2 BorrowableLicensesIssued⧉ BorrowableLicensesIssued * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of licenses available for borrowing (for servers that support limiting borrowable licenses) bigint FriendlyName⧉ FriendlyName * nvarchar(256) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Friendly name for this feature nvarchar(256) Description⧉ Description * nvarchar(256) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of a features nvarchar(256) 🔍 IX_LicenseManagerServerFeature_Guid ( Guid ) Guid⧉ Guid * uniqueidentifier default newid() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A unique ID that can be used to link to this object from external applications uniqueidentifier LastLicensesUsed⧉ LastLicensesUsed * int default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Licenses used at last scan int LastLicensesUsedRatio⧉ LastLicensesUsedRatio * float default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ LIcenses used/issued ratio at last scan float LastLicensesCheckedOut⧉ LastLicensesCheckedOut * int default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Licenses detected as checked out. Reserved licenses show up as used but may not be checked out. int LastLicensesCheckedOutRatio⧉ LastLicensesCheckedOutRatio * float default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Checked-out vs issued licenses.. float LastLicensesBorrowed⧉ LastLicensesBorrowed * int default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of borrowed licenses at last scan int LastLicensesBorrowedRatio⧉ LastLicensesBorrowedRatio * float default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Licenses borrowed/issued ratio at last scan float WorkdaysPeakLicensesUsed⧉ WorkdaysPeakLicensesUsed * int default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Max licenses used during the last 2 working weeks int WorkdaysPeakLicensesUsedRatio⧉ WorkdaysPeakLicensesUsedRatio * float default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Peak usage ratio over the last work days, used for usage ranking. float WorkdaysAvgLicensesUsedRatio⧉ WorkdaysAvgLicensesUsedRatio * float default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Average usage ratio over the last work days, used for usage ranking. float WorkdaysPeakLicensesCheckedOut⧉ WorkdaysPeakLicensesCheckedOut * int default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Peak checked-out ratio over the last work days, used for usage ranking. int WorkdaysAvgLicensesCheckedOutRatio⧉ WorkdaysAvgLicensesCheckedOutRatio * float default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Average checked-out ratio over the last work days, used for usage ranking. float WorkdaysPeakLicensesBorrowed⧉ WorkdaysPeakLicensesBorrowed * int default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Peak number of borrowed licenses over the last work days int WorkdaysPeakLicensesBorrowedRatio⧉ WorkdaysPeakLicensesBorrowedRatio * float default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Peak borrowed ratio over the last work days float WorkdaysAvgLicensesBorrowedRatio⧉ WorkdaysAvgLicensesBorrowedRatio * float default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Average borrowed ratio over the last work days float WorkdaysUsageCalculated⧉ WorkdaysUsageCalculated datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the work days usage was last calculated datetime2 WorkdaysFirstDate⧉ WorkdaysFirstDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ First date used for work days usage calculation datetime2 IndicatorFeature⧉ IndicatorFeature * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ This feature should be used for summaries about license usage. Indicates usage of the product. bit ExcludeFromUsageRanking⧉ ExcludeFromUsageRanking * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Exclude this feature from usage ranking. Can be set for features that are always 100% checked out due to license structure. bit CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this feature, not used by OctoSAM Inventory. nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this feature, not used by OctoSAM Inventory. nvarchar(255) CustomField3⧉ CustomField3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this feature, not used by OctoSAM Inventory. nvarchar(255) CustomField4⧉ CustomField4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this feature, not used by OctoSAM Inventory. nvarchar(255) Res1⧉ Res1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use.. nvarchar(255) Res2⧉ Res2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(255) AnalysisExtras⧉ AnalysisExtras xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use xml Starts⧉ Starts datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Start date of the license datetime2 Expires⧉ Expires datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Expiry date of the license datetime2 LastDiagScan⧉ LastDiagScan datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last diagnostics scan for this feature datetime2 HintShowCheckedOut⧉ HintShowCheckedOut * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Hint that this feature has reservations / checked-out licenses bit HintShowBorrowed⧉ HintShowBorrowed * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Hint that this feature has borrowed licenses bit LicenseManagerServerFeatureSessionUsageDetailTable dbo.LicenseManagerServerFeatureSessionUsageDetail ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Used to record license sessions (checkouts) per user. 🔑 Pk PK_LicenseManagerServerFeatureSessionUsageDetail ( ID ) ID⧉ ID * bigint bigint 🔍 IX_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerFeatureID ( LicenseManagerServerFeatureID ) LicenseManagerServerFeatureID⧉ LicenseManagerServerFeatureID * bigint ↗ LicenseManagerServerFeatureSessionUsageDetail( ID ) bigint🔗 References LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) 🔍 IX_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerMachineID ( LicenseManagerServerMachineID ) LicenseManagerServerMachineID⧉ LicenseManagerServerMachineID * bigint ↗ LicenseManagerServerFeatureSessionUsageDetail( ID ) bigint🔗 References LicenseManagerServerMachine ( LicenseManagerServerMachineID -> ID ) 🔍 IX_LicenseManagerServerFeatureSessionUsageDetail_LicenseMangerServerUserID ( LicenseManagerServerUserID ) LicenseManagerServerUserID⧉ LicenseManagerServerUserID * bigint ↗ LicenseManagerServerFeatureSessionUsageDetail( ID ) bigint🔗 References LicenseManagerServerUser ( LicenseManagerServerUserID -> ID ) 🔍 IX_LicenseManagerServerFeatureSessionUsageDetail_StartDate ( StartDate ) StartDate⧉ StartDate * datetime2 default getdate() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time for the checkout of this feature datetime2 DurationMinutes⧉ DurationMinutes * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Duration of the checkout in minutes (from StartDate to LastScan) bigint Version⧉ Version * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Client Version nvarchar(16) Display⧉ Display * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Display used when the license was checked out. Depending on the OS of the client, no useful information can be found here. nvarchar(64) 🔍 IX_LicenseManagerServerFeatureSessionUsageDetail_LastScan ( LastScan ) LastScan⧉ LastScan * datetime2 default getdate() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ When this session (Checkout) was last scanned datetime2 LingerSeconds⧉ LingerSeconds * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Linger time for borrowed licenses bigint LicensesUsed⧉ LicensesUsed * int default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Licenses used for token based licenses int LicenseManagerServerFeatureUsageDetailTable dbo.LicenseManagerServerFeatureUsageDetail ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Used to record issued/used/filtered used counts per feature. 🔑 Pk PK_LicenseManagerServerFeatureUageDetail ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_LicenseManagerServerFeatureUsageDetail_FeatureIDLastScan ( LicenseManagerServerFeatureID, LastScan ) LicenseManagerServerFeatureID⧉ LicenseManagerServerFeatureID * bigint ↗ LicenseManagerServerFeatureUsageDetail( ID ) bigint🔗 References LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) 🔍 Unq IX_LicenseManagerServerFeatureUsageDetail_FeatureIDLastScan ( LicenseManagerServerFeatureID, LastScan ) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this info was obtained datetime2 LicensesIssued⧉ LicensesIssued * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of licenses issued int LicensesUsed⧉ LicensesUsed * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of licenses used int LicensesCheckedOut⧉ LicensesCheckedOut int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of license that are checked-out int LicensesBorrowed⧉ LicensesBorrowed int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of borrowed licenses int LicenseManagerServerFeatureUsageDetailShortTermTable dbo.LicenseManagerServerFeatureUsageDetailShortTerm ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ See LicenseManagerServerFeatureUsageDetail table. Short term storage for performance. 🔑 Pk PK_LicenseManagerServerFeatureUsageDetailShortTerm ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_LicenseManagerServerFeatureUsageDetailShortTerm_FeatureIDLastScan ( LicenseManagerServerFeatureID, LastScan ) LicenseManagerServerFeatureID⧉ LicenseManagerServerFeatureID * bigint bigint 🔍 Unq IX_LicenseManagerServerFeatureUsageDetailShortTerm_FeatureIDLastScan ( LicenseManagerServerFeatureID, LastScan ) LastScan⧉ LastScan * datetime2 datetime2 LicensesIssued⧉ LicensesIssued * int int LicensesUsed⧉ LicensesUsed * int int LicensesCheckedOut⧉ LicensesCheckedOut int int LicensesBorrowed⧉ LicensesBorrowed int int LicenseManagerServerFeatureVersionTable dbo.LicenseManagerServerFeatureVersion ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A feature can have multiple versions each with its own starting and expiry date. Mainly used for expiry warnings. 🔑 Pk PK_LIcenseManagerServerFeatureVersion_FeatureIDVersion ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_LicenseManagerServerFeatureVersion ( LicenseManagerServerFeatureID, Version ) LicenseManagerServerFeatureID⧉ LicenseManagerServerFeatureID * bigint ↗ LicenseManagerServerFeatureVersion( ID ) bigint🔗 References LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) 🔍 Unq UK_LicenseManagerServerFeatureVersion ( LicenseManagerServerFeatureID, Version ) Version⧉ Version * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Feature version nvarchar(16) Vendor⧉ Vendor * nvarchar(64) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Vendor string nvarchar(64) Starts⧉ Starts datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time for start of license datetime2 Expires⧉ Expires datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time for expiration of the license datetime2 DiagMessage⧉ DiagMessage nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Diagnostics message nvarchar(512) LastDiagScan⧉ LastDiagScan datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last diagnostics scan of this feature version datetime2 LastStatisticsScan⧉ LastStatisticsScan datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last statistics scan of this feature version datetime2 Created⧉ Created datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created in the database datetime2 LicenseManagerServerMachineTable dbo.LicenseManagerServerMachine ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Used to store machine information for per user statistics (session/checkout statistics). 🔑 Pk PK_LicenseManagerServerMachine ( ID ) ID⧉ ID * bigint ↙ LicenseManagerServerFeatureSessionUsageDetail( ID ) bigint🔗 Referred by LicenseManagerServerFeatureSessionUsageDetail ( LicenseManagerServerMachineID -> ID ) 🔍 IX_LicenseManagerServerMachine_LicenseManagerID ( LicenseManagerServerID ) LicenseManagerServerID⧉ LicenseManagerServerID * bigint ↗ LicenseManagerServerMachine( ID ) bigint🔗 References LicenseManagerServer ( LicenseManagerServerID -> ID ) Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Machine name nvarchar(255) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entry was created in the database datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this machine was detected for the last time datetime2 MachineID⧉ MachineID bigint ↗ LicenseManagerServerMachine( ID ) bigint🔗 References Machine ( MachineID -> ID ) LicenseManagerServerObserverLogTable dbo.LicenseManagerServerObserverLog ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ This table is used to record the activity of the LM observer service. 🔑 Pk PK_LicenseManagerServerObserverLog ( ID ) ID⧉ ID * bigint bigint MessageID⧉ MessageID * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use bigint LicenseManagerServerID⧉ LicenseManagerServerID * bigint ↗ LicenseManagerServerObserverLog( ID ) bigint🔗 References LicenseManagerServer ( LicenseManagerServerID -> ID ) LicenseManagerServerFeatureID⧉ LicenseManagerServerFeatureID bigint ↗ LicenseManagerServerObserverLog( ID ) bigint🔗 References LicenseManagerServerFeature ( LicenseManagerServerFeatureID -> ID ) LastActionMilliSeconds⧉ LastActionMilliSeconds * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Can be used for statistical analyses of some areas of license manger server scanning bigint ScanDate⧉ ScanDate * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the scan datetime2 Severity⧉ Severity * nchar(1) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Severity of the message (I= Info, W=Warning, E=Error, F=Fatal). nchar(1) Message⧉ Message * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Message text nvarchar(512) LicenseManagerServerScanTable dbo.LicenseManagerServerScan ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Each statistics scan generates a record here. The Information can be used to observe license manager scan. 🔑 Pk PK_LicenseManagerServerScan ( ID ) ID⧉ ID * bigint bigint 🔍 IX_LicenseManagerServerScan_LicenseManagerServerID ( LicenseManagerServerID ) LicenseManagerServerID⧉ LicenseManagerServerID * bigint ↗ LicenseManagerServerScan( ID ) bigint🔗 References LicenseManagerServer ( LicenseManagerServerID -> ID ) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this record was created datetime2 ScanDurationMilliseconds⧉ ScanDurationMilliseconds * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Duration of this scan in milliseconds, int Features⧉ Features * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of features scanned, int UsageLevel⧉ UsageLevel * int default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Usage Level of this scan (-1 for low, 0 for normal, 1 for high usage), int LicenseManagerServerUserTable dbo.LicenseManagerServerUser ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Used to store user information for per user statistics (session/checkout statistics). 🔑 Pk PK_LicenseMangerServerUser ( ID ) ID⧉ ID * bigint ↙ LicenseManagerServerFeatureSessionUsageDetail( ID ) bigint🔗 Referred by LicenseManagerServerFeatureSessionUsageDetail ( LicenseManagerServerUserID -> ID ) 🔍 IX_LicenseManagerServerUser_LicenseManagerServerID ( LicenseManagerServerID ) LicenseManagerServerID⧉ LicenseManagerServerID * bigint ↗ LicenseManagerServerUser( ID ) bigint🔗 References LicenseManagerServer ( LicenseManagerServerID -> ID ) Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User name, nvarchar(255) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this user entity was created, datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this user entity was last detected, datetime2 UserID⧉ UserID bigint ↗ LicenseManagerServerUser( ID ) bigint🔗 References User ( UserID -> ID ) LifecycleDefinitionTypeTable dbo.LifecycleDefinitionType ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for lifecycle definition types. 🔑 Pk PK_LifecycleDefinitionType ( ID ) ID⧉ ID * bigint ↙ MachineSoftwarePackage( ID ) ↙ SoftwarePackage( ID ) bigint🔗 Referred by MachineSoftwarePackage ( LifecycleDefinitionTypeID -> ID ) Referred by SoftwarePackage ( LifecycleDefinitionTypeID -> ID ) 🔍 Unq UK_LifecycleDefinitionType_OctopusID ( OctopusID ) OctopusID⧉ OctopusID * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Internal Id used for catalog updates nvarchar(50) 🔍 Unq UK_LifecycleDefinitionType_Name ( Name ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Software life cycle definition type nvarchar(128) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created datetime2 MachineTable dbo.Machine ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Basic machine information. 🔑 Pk PK_Machine ( ID ) 🔍 Unq IX_Machine_Performance1 ( OrganizationID, ID ) ID⧉ ID * bigint ↙ File( ID ) ↙ ImportControl( ID ) ↙ LicenseManagerServerMachine( ID ) ↙ MachineAutoStart( ID ) ↙ MachineCluster( ID ) ↙ MachineGroup( ID ) ↙ MachineRawData( ID ) ↙ MachineSoftwarePackage( ID ) ↙ MachineSoftwareSignature( ID ) ↙ MachineUsbDevice( ID ) ↙ MachineUser( ID ) ↙ SoftwareItemMachine( ID ) ↙ SoftwarePackageUsageDetail( ID ) ↙ UalDeviceAccess( ID ) ↙ UalDeviceAccess( ID ) ↙ UalUserAccess( ID ) ↙ UsageDetail( ID ) ↙ User( ID ) ↙ User( ID ) ↙ UserMachineAffinity( ID ) ↙ VirtualMachine( ID ) ↙ VirtualMachine( ID ) ↙ VirtualMachineHistory( ID ) ↙ VirtualMachineHistory( ID ) ↙ VirtualMachineMobilityHistory( ID ) ↙ VirtualMachineMobilityHistory( ID ) ↙ WmiInstance( ID ) ↙ MachineOfficeAddIn( ID ) bigint🔗 Referred by File ( MachineID -> ID ) Referred by ImportControl ( MachineID -> ID ) Referred by LicenseManagerServerMachine ( MachineID -> ID ) Referred by MachineAutoStart ( MachineID -> ID ) Referred by MachineCluster ( MachineID -> ID ) Referred by MachineGroup ( MachineID -> ID ) Referred by MachineRawData ( MachineID -> ID ) Referred by MachineSoftwarePackage ( MachineID -> ID ) Referred by MachineSoftwareSignature ( MachineID -> ID ) Referred by MachineUsbDevice ( MachineID -> ID ) Referred by MachineUser ( MachineID -> ID ) Referred by SoftwareItemMachine ( MachineID -> ID ) Referred by SoftwarePackageUsageDetail ( MachineID -> ID ) Referred by UalDeviceAccess ( ClientMachineID -> ID ) Referred by UalDeviceAccess ( MachineID -> ID ) Referred by UalUserAccess ( MachineID -> ID ) Referred by UsageDetail ( MachineID -> ID ) Referred by User ( LastMachineID -> ID ) Referred by User ( MostFrequentlyUsedMachineID -> ID ) Referred by UserMachineAffinity ( MachineID -> ID ) Referred by VirtualMachine ( HostMachineID -> ID ) Referred by VirtualMachine ( MachineID -> ID ) Referred by VirtualMachineHistory ( MachineID -> ID ) Referred by VirtualMachineHistory ( HostMachineID -> ID ) Referred by VirtualMachineMobilityHistory ( MachineID -> ID ) Referred by VirtualMachineMobilityHistory ( NewHostMachineID -> ID ) Referred by WmiInstance ( MachineID -> ID ) Referred by MachineOfficeAddIn ( MachineID -> ID ) 🔍 IX_Machine_OrganizationID ( OrganizationID ) 🔍 Unq IX_Machine_Performance1 ( OrganizationID, ID ) OrganizationID⧉ OrganizationID * bigint ↗ Machine( ID ) bigint🔗 References Organization ( OrganizationID -> ID ) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the last imported scan for this machine as reported by the machine (may be out of sync) datetime2 Name⧉ Name * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Machine name (computer name) nvarchar(64) AlternateName⧉ AlternateName nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains the computer name for systems that may have different host and computer names, such as macOS. nvarchar(128) OperatingSystemFamily⧉ OperatingSystemFamily * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A short name to identify different operating system families nvarchar(16) OperatingSystem⧉ OperatingSystem * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Full name of the OS nvarchar(255) OperatingSystemVersion⧉ OperatingSystemVersion * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Additional version information about the OS nvarchar(255) OperatingSystemBuild⧉ OperatingSystemBuild * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Build number of the OS nvarchar(255) OperatingSystemMajor⧉ OperatingSystemMajor * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Major version int OperatingSystemMinor⧉ OperatingSystemMinor * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Minor version int RawManufacturer⧉ RawManufacturer * nvarchar(128) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Manufacturer of the machine as defined in WMI nvarchar(128) HintHasAutoStart⧉ HintHasAutoStart bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if machine has scanned Windows AutosStart information bit ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data collected for documentation of this machine nvarchar(max) CostCenter⧉ CostCenter nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cost center - typically replicated from another system nvarchar(255) OperatingSystemUpdateBuildRevision⧉ OperatingSystemUpdateBuildRevision bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Windows UBR number bigint OperatingSystemExtraData⧉ OperatingSystemExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data collected for operating system identification nvarchar(max) EntraIdTenantId⧉ EntraIdTenantId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID tenant id for machines that are Entra ID joined uniqueidentifier MappingTag⧉ MappingTag nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ This field can be used for custom mapping logic nvarchar(255) HintHasMuiCache⧉ HintHasMuiCache bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if this machine has scanned Windows MUI information bit EntraIdDeviceId⧉ EntraIdDeviceId nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Device ID from Entra ID nvarchar(255) EntraIdId⧉ EntraIdId nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ID from Entra ID nvarchar(50) CloudProviderAccountID⧉ CloudProviderAccountID bigint ↗ Machine( ID ) bigint🔗 References CloudProviderAccount ( CloudProviderAccountID -> ID ) EntraIdDeviceOwnership⧉ EntraIdDeviceOwnership nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DeviceOwnership field from Entra ID nvarchar(50) EntraIdEnrollmentProfileName⧉ EntraIdEnrollmentProfileName nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ EnrollmentProfileName field from Entra ID nvarchar(128) EntraIdOnPremisesLastSyncDateTime⧉ EntraIdOnPremisesLastSyncDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OnPremisesLastSyncDateTime field from Entra ID datetime2 EntraIdTrustType⧉ EntraIdTrustType nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ TrustType field from Entra ID nvarchar(50) EntraIdProfileType⧉ EntraIdProfileType nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ProfileType field from Entra ID nvarchar(50) EntraIdRegistrationDateTime⧉ EntraIdRegistrationDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ RegistrationDateTime field from Entra ID datetime2 LastFoundInEntraId⧉ LastFoundInEntraId datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this device was last found in Entra ID datetime2 EntraIdApproximateLastSignInDateTime⧉ EntraIdApproximateLastSignInDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ApproximateLastSignInDateTime field Entra ID datetime2 ObjectStateID⧉ ObjectStateID bigint ↗ Machine( ID ) bigint🔗 References ObjectState ( ObjectStateID -> ID ) EntraIdIsManaged⧉ EntraIdIsManaged bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if this machine is managed by Entra ID MDM policies  bit EntraIdIsCompliant⧉ EntraIdIsCompliant bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if this machine is deemed compliant to Entra ID MDM policies bit LastScannerTag⧉ LastScannerTag nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Command-line tag that was specified on the last scan of this machine nvarchar(255) EntraIdOnPremisesSyncEnabled⧉ EntraIdOnPremisesSyncEnabled bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if on premises sync is enabled for this machine in Entra ID bit EntraIdExtensionAttribute1⧉ EntraIdExtensionAttribute1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 1 from Entra ID nvarchar(255) EntraIdExtensionAttribute2⧉ EntraIdExtensionAttribute2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 2 from Entra ID nvarchar(255) EntraIdExtensionAttribute3⧉ EntraIdExtensionAttribute3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 3 from Entra ID nvarchar(255) EntraIdExtensionAttribute4⧉ EntraIdExtensionAttribute4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 4 from Entra ID nvarchar(255) EntraIdExtensionAttribute5⧉ EntraIdExtensionAttribute5 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 5 from Entra ID nvarchar(255) EntraIdExtensionAttribute6⧉ EntraIdExtensionAttribute6 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 6 from Entra ID nvarchar(255) EntraIdExtensionAttribute7⧉ EntraIdExtensionAttribute7 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 7 from Entra ID nvarchar(255) EntraIdExtensionAttribute8⧉ EntraIdExtensionAttribute8 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 8 from Entra ID nvarchar(255) EntraIdExtensionAttribute9⧉ EntraIdExtensionAttribute9 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 9 from Entra ID nvarchar(255) EntraIdExtensionAttribute10⧉ EntraIdExtensionAttribute10 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 10 from Entra ID nvarchar(255) EntraIdExtensionAttribute11⧉ EntraIdExtensionAttribute11 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 11 from Entra ID nvarchar(255) EntraIdExtensionAttribute12⧉ EntraIdExtensionAttribute12 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 12 from Entra ID nvarchar(255) EntraIdExtensionAttribute13⧉ EntraIdExtensionAttribute13 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 13 from Entra ID nvarchar(255) EntraIdExtensionAttribute14⧉ EntraIdExtensionAttribute14 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 14 from Entra ID nvarchar(255) EntraIdExtensionAttribute15⧉ EntraIdExtensionAttribute15 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extension attribute 15 from Entra ID nvarchar(255) LastBasicHardwareFromWmi⧉ LastBasicHardwareFromWmi datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time basic hardware info was last calculated from WMI for this machine datetime2 HintHasOfficeAddIns⧉ HintHasOfficeAddIns bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if this machine has registered Microsoft Office add-ins bit CostCenterID⧉ CostCenterID bigint bigint--more-- MachineAutoStartTable dbo.MachineAutoStart ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Machine specific auto start configuration. 🔑 Pk PK_MachineAutoStart ( ID ) ID⧉ ID * bigint bigint 🔍 IX_MachineAutoStart_Machine ( MachineID ) MachineID⧉ MachineID * bigint ↗ MachineAutoStart( ID ) bigint🔗 References Machine ( MachineID -> ID ) AutoStartTypeID⧉ AutoStartTypeID * bigint ↗ MachineAutoStart( ID ) bigint🔗 References AutoStartType ( AutoStartTypeID -> ID ) Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the configuration nvarchar(255) Value⧉ Value * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Command to run nvarchar(max) LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that last scanned this configuration item uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this item was last scanned datetime2 FirstScan⧉ FirstScan * datetime2 default getdate() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this item was first scanned datetime2 MachineClusterTable dbo.MachineCluster ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ m:n relation between machines and clusters 🔑 Pk PK_MachineCluster ( ID ) ID⧉ ID * bigint bigint 🔍 IX_MachineCluster_MachineID ( MachineID ) MachineID⧉ MachineID * bigint ↗ MachineCluster( ID ) bigint🔗 References Machine ( MachineID -> ID ) 🔍 IX_MachineCluster_ClusterID ( ClusterID ) ClusterID⧉ ClusterID * bigint ↗ MachineCluster( ID ) bigint🔗 References Cluster ( ClusterID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created in the database datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created this relation uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got scanned last datetime2 LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan for this relations uniqueidentifier MachineGroupTable dbo.MachineGroup ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ m:n relation between machines and groups 🔑 Pk PK_MachineGroup ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_MachineGroup_MachineGroup ( MachineID, GroupID ) 🔍 IX_MachineGroup_Machine ( MachineID ) MachineID⧉ MachineID * bigint ↗ MachineGroup( ID ) bigint🔗 References Machine ( MachineID -> ID ) 🔍 Unq IX_MachineGroup_MachineGroup ( MachineID, GroupID ) 🔍 IX_MachineGroup_Group ( GroupID ) GroupID⧉ GroupID * bigint ↗ MachineGroup( ID ) bigint🔗 References Group ( GroupID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created in the database datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ LastScan of this relation datetime2 MachineHardwareHistoryTable dbo.MachineHardwareHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use. 🔑 Pk PK_MachineHardwareHistory ( ID ) ID⧉ ID * bigint bigint MachineID⧉ MachineID * bigint bigint 🔍 IX_MachineHardwareHistory_SerialNumber ( SerialNumber ) SerialNumber⧉ SerialNumber nvarchar(100) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serial number of the device nvarchar(100) 🔍 IX_MachineHardwareHistory_BiosSmBiosUUID ( BiosSmBiosUUID ) BiosSmBiosUUID⧉ BiosSmBiosUUID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ BIOS SMBIOS UUID of the device uniqueidentifier 🔍 IX_MachineHardwareHistory_NetworkMacAddress ( NetworkMacAddress ) NetworkMacAddress⧉ NetworkMacAddress * nvarchar(100) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ MAC address of the primary interface of the device nvarchar(100) Name⧉ Name * nvarchar(100) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Machine name of the device at the time of the scan nvarchar(100) FirstScan⧉ FirstScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the device was first scanned datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the device was last scanned datetime2 Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created in the database datetime2 DirectoryPath⧉ DirectoryPath nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Path to the machine in active directory at time of the scan nvarchar(512) Guid⧉ Guid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Guid of the machine in a directory service at time of the scan uniqueidentifier FullyQualifiedDomainName⧉ FullyQualifiedDomainName nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ FQDN of the machine at time of scan nvarchar(512) MachineOfficeAddInTable dbo.MachineOfficeAddIn 🔑 Pk PK_MachineOfficeAddIn ( ID ) ID⧉ ID * bigint bigint 🔍 IX_MachineOfficeAddIn_MachineID ( MachineID ) MachineID⧉ MachineID * bigint ↗ MachineOfficeAddIn( ID ) bigint🔗 References Machine ( MachineID -> ID ) Application⧉ Application * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Application that this add-in is registered to nvarchar(128) Bits⧉ Bits * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Whether the add-in component is registered to the 32- or 64 bit vresion of the application int 🔍 IX_MachineOfficeAddIn_Name ( Name ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the add-in nvarchar(128) FriendlyName⧉ FriendlyName nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Friendlier name of the add-in nvarchar(256) Description⧉ Description nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of the add-in nvarchar(512) LoadBehavior⧉ LoadBehavior int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Add in load behavior, see Microsoft documentation int CommandLineSafe⧉ CommandLineSafe int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ See Microsoft documentation int RegistryKeyLastWriteTime⧉ RegistryKeyLastWriteTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the last write to the Registry key that registers the add-in datetime2 RegistryPath⧉ RegistryPath nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Registry path to the add-in registration nvarchar(256) ProgId⧉ ProgId nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ COM ProgramID of the add-in nvarchar(128) ClsId⧉ ClsId nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ COM CLSID of the add-in nvarchar(50) InProcServer⧉ InProcServer nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Path to the COM server nvarchar(512) ThreadingModel⧉ ThreadingModel nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Threading Model nvarchar(50) InProcServerDescription⧉ InProcServerDescription nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description from the InProcServer registration nvarchar(512) FileDescription⧉ FileDescription nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ File description from the resource of the registered COM server binary nvarchar(512) FileVersion⧉ FileVersion nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ File version from the resource of the registered COM server binary nvarchar(128) ProductName⧉ ProductName nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Product name form the resource of the registered COM server binary nvarchar(256) ProductVersion⧉ ProductVersion nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Product version from the resource of the registered COM server binary nvarchar(128) CompanyName⧉ CompanyName nvarchar(265) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Company name from the resource of the registered COM server binary nvarchar(265) SoftwarePublisherID⧉ SoftwarePublisherID bigint ↗ MachineOfficeAddIn( ID ) bigint🔗 References SoftwarePublisher ( SoftwarePublisherID -> ID ) RawSoftwarePublisher⧉ RawSoftwarePublisher nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Software publisher as scanned from the resource of the registered COM server binary nvarchar(128) DisplayVersion⧉ DisplayVersion nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Display version of the add-in nvarchar(128) MachineRawDataTable dbo.MachineRawData ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use. 🔑 Pk PK_MachineRawData ( ID ) ID⧉ ID * bigint bigint 🔍 IX_MachineRawData_Machine ( MachineID ) MachineID⧉ MachineID * bigint ↗ MachineRawData( ID ) bigint🔗 References Machine ( MachineID -> ID ) DataType⧉ DataType * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(50) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use datetime2 LastScanGuid⧉ LastScanGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use uniqueidentifier Data⧉ Data * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(max) MachineSoftwarePackageTable dbo.MachineSoftwarePackage ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ m:n relation between machines and software packages. This is mostly a redundant relation to speed up reports. A relation between machine and software package can also be found via software signature. There are exceptions where a signature does not define installation status of a package (for example left-over SWID tags). 🔑 Pk PK_MachineSoftwarePackage ( ID ) 🔍 IX_MachineSoftwarePackage_FilterHintLicensingRelevant ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_MachineSoftwarePackage_Unique ( MachineID, SoftwarePackageID ) 🔍 IX_MachineSoftwarePackage_MachineID ( MachineID ) MachineID⧉ MachineID * bigint ↗ MachineSoftwarePackage( ID ) bigint🔗 References Machine ( MachineID -> ID ) 🔍 Unq IX_MachineSoftwarePackage_Unique ( MachineID, SoftwarePackageID ) 🔍 IX_MachineSoftwarePackage_SoftwarePackage_ID ( SoftwarePackageID ) SoftwarePackageID⧉ SoftwarePackageID * bigint ↗ MachineSoftwarePackage( ID ) bigint🔗 References SoftwarePackage ( SoftwarePackageID -> ID ) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this machine to software package relation was last encountered in a scan, or update time due to updates to packages and signatures. datetime2 Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation was created in the database datetime2 CreatedGUID⧉ CreatedGUID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created this relation uniqueidentifier SynchTokenID⧉ SynchTokenID nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Can be used for synchronization with another inventory or CMDB system. Holds the key to the identical item in the CMDB. Currently not used by OctoSAM Inventory. nvarchar(255) SynchLastSynch⧉ SynchLastSynch datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Timestamp of last synchoronization of this machine software package relation with the partner CMDB. Currently not used by OctoSAM Inventory. datetime2 FirstScan⧉ FirstScan date ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this machine to software package relation was first detected date LastDiscovered⧉ LastDiscovered datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the SoftwarePackage to Machine relation was last discovered from scan results datetime2 LastUsage⧉ LastUsage date ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the SoftwarePackage was last used on the Machine. Redundant information to SoftwarePackageUsageDetail provided for easier querying and performance. date HintLicensingRelevant⧉ HintLicensingRelevant bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For software packages with licensing type multiple, this indicates that at least one installed signature has the LicensingRelevant flag set. bit InstallDate⧉ InstallDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Max value of all installed signature InstallDate if available. Not all packages provide an install date. datetime2 HintBaseVersion⧉ HintBaseVersion nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Consolidated BaseVersion of all signatures for this installation, if the individual BaseVersion fields of the signatures follow SemVer or another standard supported by OctoSAM. nvarchar(64) HintKeyLastWriteTime⧉ HintKeyLastWriteTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Newest write to any of the signatures for this installation for registry key based signatures datetime2 AnalysisExtras⧉ AnalysisExtras xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds additional analysis data xml Features⧉ Features nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Installation specific feature information nvarchar(512) ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data collected for documentation of this machine to signature relation nvarchar(max) ServiceNowSysID⧉ ServiceNowSysID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Service Now: sys_id of replicated object uniqueidentifier ServiceNowLastExport⧉ ServiceNowLastExport datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last export to Service Now datetime2 ServiceNowLastImport⧉ ServiceNowLastImport datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last import from Service Now datetime2 Guid⧉ Guid * uniqueidentifier default newid() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A unique id of this relation record uniqueidentifier CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field available for site-specific per installation data, Not used by OctoSAM logic. nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field available for site-specific per installation data, Not used by OctoSAM logic. nvarchar(255) CustomField3⧉ CustomField3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field available for site-specific per installation data, Not used by OctoSAM logic. nvarchar(255) CustomField4⧉ CustomField4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field available for site-specific per installation data, Not used by OctoSAM logic. nvarchar(255) Notes⧉ Notes nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Site-specific per installation notes, Not used by OctoSAM logic. nvarchar(max) LifecycleSupportPolicy⧉ LifecycleSupportPolicy nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Software Publisher specific lifecycle policy name nvarchar(50) LifecycleStartDate⧉ LifecycleStartDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Start of software lifecycle datetime2 LifecycleMainstreamEndDate⧉ LifecycleMainstreamEndDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ End of mainstream support date datetime2 LifecycleExtendedEndDate⧉ LifecycleExtendedEndDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ End of extended support date datetime2 LifecycleRetirementDate⧉ LifecycleRetirementDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Product retirement date datetime2 LifecycleReleaseStartDate⧉ LifecycleReleaseStartDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Release start date datetime2 LifecycleReleaseEndDate⧉ LifecycleReleaseEndDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Release end date datetime2 LastLifecycleLookup⧉ LastLifecycleLookup datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time a life-cycle look-up was last performed on this relation datetime2 LastLifecycleLookupResult⧉ LastLifecycleLookupResult nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A status comment generated by the last life-cycle look-up on this relation nvarchar(255) LifecycleLongTermSupport⧉ LifecycleLongTermSupport bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the installed release has long term support by the publisher bit LifecycleDefinitionTypeID⧉ LifecycleDefinitionTypeID bigint ↗ MachineSoftwarePackage( ID ) bigint🔗 References LifecycleDefinitionType ( LifecycleDefinitionTypeID -> ID ) InstallationApproved⧉ InstallationApproved bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Installation of this package on this machine is approved bit InstallationApprovedChanged⧉ InstallationApprovedChanged datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the approval flag was last changed datetime2 InstallationApprovedChangedBy⧉ InstallationApprovedChangedBy nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last changed the approval flag nvarchar(50) HintReleaseType⧉ HintReleaseType nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Most critical release type for this package installation. This is package-specific. For example for Oracle Java SE this may contain 'BPR' for licensing relevant BPR builds. nvarchar(50) MachineSoftwareSignatureTable dbo.MachineSoftwareSignature ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation between machines and software signatures. 🔑 Pk PK_MachineSoftwareSignature ( ID ) ID⧉ ID * bigint ↙ MachineSoftwareSignatureInstance( ID ) ↙ SwidDocument( ID ) bigint🔗 Referred by MachineSoftwareSignatureInstance ( MachineSoftwareSignatureID -> ID ) Referred by SwidDocument ( MachineSoftwareSignatureID -> ID ) 🔍 Unq IX_MachineSoftwareSignature_MachineSoftware_Unique ( MachineID, SoftwareSignatureID ) 🔍 IX_MachineSoftwareSignature_MachineID ( MachineID ) MachineID⧉ MachineID * bigint ↗ MachineSoftwareSignature( ID ) bigint🔗 References Machine ( MachineID -> ID ) 🔍 Unq IX_MachineSoftwareSignature_MachineSoftware_Unique ( MachineID, SoftwareSignatureID ) 🔍 IX_MachineSoftwareSignature_SoftwareSignatureID ( SoftwareSignatureID ) SoftwareSignatureID⧉ SoftwareSignatureID * bigint ↗ MachineSoftwareSignature( ID ) bigint🔗 References SoftwareSignature ( SoftwareSignatureID -> ID ) InformationSourceID⧉ InformationSourceID bigint ↗ MachineSoftwareSignature( ID ) bigint🔗 References InformationSource ( InformationSourceID -> ID ) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this machine to software signature was last updated datetime2 🔍 IX_MachineSoftwareSignature_LastScanGUID ( LastScanGUID ) LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that last updated this relation uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last scan that updated this software signature to machine relation datetime2 LastUsage⧉ LastUsage datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For metering signatures, date/time of last detected usage. Redundant to information in table UsageDetail, provided for easier querying and performance. datetime2 Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation was created in the database datetime2 CreatedGUID⧉ CreatedGUID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Scan GUID that created this object uniqueidentifier InstallDate⧉ InstallDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of installation if available. Not all packages provide an install date. datetime2 FirstScan⧉ FirstScan datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the scan that created this entity. Note that this differs from Created column in case of re-import of old .scan files. datetime2 SoftwareRepackagerInfo⧉ SoftwareRepackagerInfo nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Repackager Info for supported Repackagers nvarchar(128) SoftwareRepackagerID⧉ SoftwareRepackagerID bigint ↗ MachineSoftwareSignature( ID ) bigint🔗 References SoftwareRepackager ( SoftwareRepackagerID -> ID ) KeyLastWriteTime⧉ KeyLastWriteTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For registry based signatures, Date/Time the registry key was last written. Note that not only installations may write the registry keys. Typically, windows feature updates will reset this date. datetime2 InstallLocation⧉ InstallLocation nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The location where a software package is installed on the system - if available nvarchar(512) InstallSource⧉ InstallSource nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The source location of the installation package. For windows installer packages the path to the .msi file that was used for the installation. nvarchar(512) AnalysisExtras⧉ AnalysisExtras xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds additional analysis data xml Features⧉ Features nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Installation specific feature information nvarchar(512) ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data collected for documentation of this machine to signature relation nvarchar(max) CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this installation not used by OctoSAM Inventory nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this installation not used by OctoSAM Inventory nvarchar(255) CustomField3⧉ CustomField3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this installation not used by OctoSAM Inventory nvarchar(255) CustomField4⧉ CustomField4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data for this installation not used by OctoSAM Inventory nvarchar(255) Notes⧉ Notes nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Installation notes nvarchar(max) Res1⧉ Res1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(255) Res2⧉ Res2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(255) InstallationApproved⧉ InstallationApproved bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Installation of this signature on this machine is approved bit InstallationApprovedChanged⧉ InstallationApprovedChanged datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Data/Time the installation approval flag was last changed datetime2 InstallationApprovedChangedBy⧉ InstallationApprovedChangedBy nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last changed the approval flag nvarchar(50) FileHash⧉ FileHash nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A hash calculated over the contents of a file if the signature is file based. Not all scan scenarios calculate a hash. nvarchar(50) Guid⧉ Guid * uniqueidentifier default newid() uniqueidentifier MachineSoftwareSignatureInstanceTable dbo.MachineSoftwareSignatureInstance ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ if several instances of MachineSoftwareSignature can be found for the same signature (for example, process started multiple times), This table holds per instance information. 🔑 Pk PK_MachineSoftwareSignatureInstance ( ID ) ID⧉ ID * bigint bigint 🔍 IX_MachineSoftwareSignatureInstance_MachineSoftwareSignatureID ( MachineSoftwareSignatureID ) MachineSoftwareSignatureID⧉ MachineSoftwareSignatureID * bigint ↗ MachineSoftwareSignatureInstance( ID ) bigint🔗 References MachineSoftwareSignature ( MachineSoftwareSignatureID -> ID ) CommandLine⧉ CommandLine nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ CommandLine of the process if available nvarchar(max) Environment⧉ Environment nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Environment of the process if available nvarchar(max) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last scan of this process instance datetime2 StartDate⧉ StartDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ StartDate of this process instance datetime2 Features⧉ Features nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Instance specific feature information nvarchar(50) AnalysisExtras⧉ AnalysisExtras xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds additional analysis data xml ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data collected for documentation of this machine to signature relation nvarchar(max) MachineUsbDeviceTable dbo.MachineUsbDevice ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use 🔑 Pk PK_MachineUsbDevice ( ID ) ID⧉ ID * bigint bigint MachineID⧉ MachineID * bigint ↗ MachineUsbDevice( ID ) bigint🔗 References Machine ( MachineID -> ID ) UsbDeviceID⧉ UsbDeviceID * bigint ↗ MachineUsbDevice( ID ) bigint🔗 References UsbDevice ( UsbDeviceID -> ID ) MachineUserTable dbo.MachineUser ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ m:n relation between machines and users 🔑 Pk PK_MachineUser ( ID ) ID⧉ ID * bigint ↗ MachineUser( ID ) ↙ MachineUser( ID ) ↙ MachineUserAutoStart( ID ) ↙ MachineUserHistory( ID ) ↙ MachineUserMUICache( ID ) ↙ MachineUserSecurityGroup( ID ) ↙ MachineUserSoftwareSignature( ID ) ↙ MachineUserOfficeAddIn( ID ) bigint🔗 References MachineUser ( ID ) Referred by MachineUser ( ID ) Referred by MachineUserAutoStart ( MachineUserID -> ID ) Referred by MachineUserHistory ( MachineUserID -> ID ) Referred by MachineUserMUICache ( MachineUserID -> ID ) Referred by MachineUserSecurityGroup ( MachineUserID -> ID ) Referred by MachineUserSoftwareSignature ( MachineUserID -> ID ) Referred by MachineUserOfficeAddIn ( MachineUserID -> ID ) 🔍 IX_MachineUser_MachineID ( MachineID ) MachineID⧉ MachineID * bigint ↗ MachineUser( ID ) bigint🔗 References Machine ( MachineID -> ID ) 🔍 IX_MachineUser_UserID ( UserID ) UserID⧉ UserID * bigint ↗ MachineUser( ID ) bigint🔗 References User ( UserID -> ID ) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last write to this relation, datetime2 LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that last updated this relation, uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last scan that updated this relation, datetime2 LocalAdministrator⧉ LocalAdministrator * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the referenced user is member of the referenced machine's Administrators group, bit ScannedAsAdministrator⧉ ScannedAsAdministrator bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the scan that last scanned this relation was run with administrative privileges, bit RemoteSession⧉ RemoteSession * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if scan was during a remote session, bit Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this object was created in the database, datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created this relation in the database, uniqueidentifier SynchTokenID⧉ SynchTokenID nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Can be used for synchronization with another inventory or CMDB system. Holds the key to the identical item in the CMDB. Currently not used by OctoSAM Inventory. nvarchar(256) SynchLastSynch⧉ SynchLastSynch datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Timestamp of last synchoronization of this machine user relation with the partner CMDB. Currently not used by OctoSAM Inventory, datetime2 AnalysisExtras⧉ AnalysisExtras xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds additional analysis data xml LastScannerTag⧉ LastScannerTag nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Command-line tag that was specified on the last scan of this machine to user relation nvarchar(256) MachineUserAutoStartTable dbo.MachineUserAutoStart ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User and Machine specific auto start configuration 🔑 Pk PK_MachineUserAutoStart ( ID ) ID⧉ ID * bigint bigint 🔍 IX_MachineUserAutoStart_MachineUser ( MachineUserID ) MachineUserID⧉ MachineUserID * bigint ↗ MachineUserAutoStart( ID ) bigint🔗 References MachineUser ( MachineUserID -> ID ) AutoStartTypeID⧉ AutoStartTypeID * bigint ↗ MachineUserAutoStart( ID ) bigint🔗 References AutoStartType ( AutoStartTypeID -> ID ) Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the configuration nvarchar(255) Value⧉ Value * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Command to run nvarchar(max) LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that last scanned this configuration uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last scan datetime2 FirstScan⧉ FirstScan * datetime2 default getdate() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of first scan of this configuration datetime2 MachineUserHistoryTable dbo.MachineUserHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User logon history information 🔑 Pk PK_MachineUserHistory ( ID ) ID⧉ ID * bigint ↙ MachineUserHistoryViewClientInformation( ID ) ↙ MachineUserHistoryVolatileEnvironment( ID ) ↙ MachineUserHistoryWTSSessionInformation( ID ) ↙ WmiInstanceHistory( ID ) bigint🔗 Referred by MachineUserHistoryViewClientInformation ( MachineUserHistoryID -> ID ) Referred by MachineUserHistoryVolatileEnvironment ( MachineUserHistoryID -> ID ) Referred by MachineUserHistoryWTSSessionInformation ( MachineUserHistoryID -> ID ) Referred by WmiInstanceHistory ( MachineUserHistoryID -> ID ) 🔍 IX_MachineUserHistory ( MachineUserID ) MachineUserID⧉ MachineUserID * bigint ↗ MachineUserHistory( ID ) bigint🔗 References MachineUser ( MachineUserID -> ID ) Scan⧉ Scan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this machine to user relation was scanned datetime2 🔍 Unq IX_MachineUserHistory_GUID ( ScanGUID ) ScanGUID⧉ ScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan file that scanned this machine to user relation uniqueidentifier LocalAdministrator⧉ LocalAdministrator * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the user was member of the machine's local Administrators group at time of logon bit ScannedAsAdministrator⧉ ScannedAsAdministrator bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the scan run with Administrator privileges, bit RemoteSession⧉ RemoteSession * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the user was in a remote session with the machine, bit CitrixSession⧉ CitrixSession bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the Scan was made in a Citrix terminal server context. detection of Citrix not always reliable depending on scanner invocation, bit SessionName⧉ SessionName nvarchar(32) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Session name of the terminal session, nvarchar(32) OfflineScan⧉ OfflineScan bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if this record was generated by an offline scan (OctoOffline.exe), bit MsftDirectAccess⧉ MsftDirectAccess bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the machine was connected to the network via Microsoft Direct Access at time of scan, bit OctoscanBuildInfo⧉ OctoscanBuildInfo * nvarchar(128) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Detailed build information of the scanner that scanned this machine to user relation, nvarchar(128) EntraIdJoinType⧉ EntraIdJoinType nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID join type for this machine or this user, nvarchar(50) EntraIdDeviceId⧉ EntraIdDeviceId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID device id, uniqueidentifier EntraIdTenantId⧉ EntraIdTenantId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID tenant id, uniqueidentifier EntraIdIdpDomain⧉ EntraIdIdpDomain nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID identity provider domain, nvarchar(255) EntraIdJoinUserEmail⧉ EntraIdJoinUserEmail nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Mail address used to join Entra ID nvarchar(255) EntraIdTenantDisplayName⧉ EntraIdTenantDisplayName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Display name for this Entra ID tenant nvarchar(255) EntraIdUserInfoUserEmail⧉ EntraIdUserInfoUserEmail nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Email from Entra ID join info user info, nvarchar(255) EntraIdUserInfoUserKeyId⧉ EntraIdUserInfoUserKeyId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User id from Entra ID join info user info, uniqueidentifier EntraIdUserInfoUserKeyName⧉ EntraIdUserInfoUserKeyName nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User key name from Entra ID join info user info nvarchar(512) Created⧉ Created datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created. This is not the scan time but usually the import time.  datetime2 ScannerTag⧉ ScannerTag nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Command-line tag that was specified on the scan of this machine to user relation history record nvarchar(255) MachineUserHistoryViewClientInformationTable dbo.MachineUserHistoryViewClientInformation ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For VMware view client 🔑 Pk PK_MachineUserHistoryViewClientInformation ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_MachineUserHistoryViewClientInformation ( MachineUserHistoryID ) MachineUserHistoryID⧉ MachineUserHistoryID * bigint ↗ MachineUserHistoryViewClientInformation( ID ) bigint🔗 References MachineUserHistory ( MachineUserHistoryID -> ID ) IpAddress⧉ IpAddress * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The IP address of the client system, nvarchar(50) MacAddress⧉ MacAddress * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The MAC address of the client system, nvarchar(50) MachineName⧉ MachineName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The machine name of the client system, nvarchar(128) MachineDomain⧉ MachineDomain * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The domain of the client system, nvarchar(128) LoggedOnUserName⧉ LoggedOnUserName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The user name that was used to log in to the client system, nvarchar(128) LoggedOnDomainName⧉ LoggedOnDomainName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The domain name that was used to log in to the client system, nvarchar(128) Type⧉ Type * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The thin client name or operating system type of the client system, nvarchar(50) BrokerDnsName⧉ BrokerDnsName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The DNS name of the View Connection Server instance nvarchar(128) BrokerUrl⧉ BrokerUrl * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The URL of the View Connection Server instance nvarchar(128) BrokerTunneled⧉ BrokerTunneled * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The status of the tunnel connection for the view connection server nvarchar(128) BrokerTunnelUrl⧉ BrokerTunnelUrl * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The URL of the view connection server tunnel connection, if the tunnel connection is enabled. nvarchar(256) BrokerRemoteIpAddress⧉ BrokerRemoteIpAddress * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The IP address of the client system that is seen by the View Connection Server instance nvarchar(50) TZID⧉ TZID * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The Olson time zone ID nvarchar(50) WindowsTimezone⧉ WindowsTimezone * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The GMT standard time nvarchar(50) BrokerDomainName⧉ BrokerDomainName * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Domain name used to authenticate to View Connection Server nvarchar(50) BrokerUserName⧉ BrokerUserName * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Username used to authenticate to View Connection Server nvarchar(50) ClientID⧉ ClientID * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the unique client hardware id used as a link to the license key nvarchar(128) DisplaysNumber⧉ DisplaysNumber * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the number of monitors being used on the client bigint DisplaysTopology⧉ DisplaysTopology * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the arrangement, resolution, and dimensions of displays on the client. nvarchar(128) DisplaysTopologyV2⧉ DisplaysTopologyV2 * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the arrangement, resolution, and dimensions of displays on the client. nvarchar(128) KeyboardType⧉ KeyboardType * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the type of keyboard being used on the client nvarchar(50) KeyboardLayout⧉ KeyboardLayout * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the keyboard layout being used on the client nvarchar(50) KeyboardSubType⧉ KeyboardSubType * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the keyboard subtype being used on the client nvarchar(50) SessionType⧉ SessionType * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the session type. The type can be desktop or application. nvarchar(50) MouseIdentifier⧉ MouseIdentifier * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the type of mouse bigint MouseNumButtons⧉ MouseNumButtons * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the number of buttons supported by the mouse bigint MouseSampleRate⧉ MouseSampleRate * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the rate, in reports per second, at which input from a PS/2 mouse is sampled. bigint Protocol⧉ Protocol * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the protocol being used nvarchar(50) Language⧉ Language * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the operating system language nvarchar(50) LaunchID⧉ LaunchID * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the desktop pool Unique ID nvarchar(128) LaunchSessionType⧉ LaunchSessionType * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the launch session type nvarchar(50) MachineUserHistoryVolatileEnvironmentTable dbo.MachineUserHistoryVolatileEnvironment ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Inventories the volatile environment per machine user scan 🔑 Pk PK_MachineUserHistoryVirtualEnvironment ( ID ) ID⧉ ID * bigint bigint 🔍 IX_MachineUserHistoryVirtualEnvironment ( MachineUserHistoryID ) MachineUserHistoryID⧉ MachineUserHistoryID * bigint ↗ MachineUserHistoryVolatileEnvironment( ID ) bigint🔗 References MachineUserHistory ( MachineUserHistoryID -> ID ) Name⧉ Name * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the environment variable nvarchar(256) Value⧉ Value * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Value of the environment variable nvarchar(max) MachineUserHistoryWTSSessionInformationTable dbo.MachineUserHistoryWTSSessionInformation ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For remote terminal sessions, records the WTSSessionInformation, see WTSQuerySessionInformation MSDN documentation. 🔑 Pk PK_MachineUserHistoryWTSSessionInformation ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_MachineUserHistoryWTSSessionInformation_MachineUserHistoryID ( MachineUserHistoryID ) MachineUserHistoryID⧉ MachineUserHistoryID * bigint ↗ MachineUserHistoryWTSSessionInformation( ID ) bigint🔗 References MachineUserHistory ( MachineUserHistoryID -> ID ) InitialProgram⧉ InitialProgram nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the initial program that Remote Desktop Services runs when the user logs on nvarchar(255) ApplicationName⧉ ApplicationName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Published name of the application that the session is running. Not supported on all Windows versions. nvarchar(255) WorkingDirectory⧉ WorkingDirectory nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Default directory used when launching the initial program nvarchar(255) SessionID⧉ SessionID * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ID of the terminal server session bigint UserName⧉ UserName * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the user associated with the session nvarchar(64) WinStationName⧉ WinStationName nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the Remote Desktop Services session nvarchar(64) DomainName⧉ DomainName * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains the name of the domain to which the logged-on user belongs nvarchar(64) ClientName⧉ ClientName * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains the name of the client.. nvarchar(64) ClientAddress⧉ ClientAddress nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains the client's IP Address nvarchar(64) ClientDirectory⧉ ClientDirectory nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains the directory in which the client is installed nvarchar(255) ClientProductID⧉ ClientProductID int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains a client specific product identifier int ClientProtocolType⧉ ClientProtocolType * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Console, ICA or RDP. nvarchar(16) MachineUserMUICacheTable dbo.MachineUserMUICache ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Windows MUI cache information. 🔑 Pk PK_MachineUserMUICache ( ID ) ID⧉ ID * bigint bigint MachineUserID⧉ MachineUserID * bigint ↗ MachineUserMUICache( ID ) bigint🔗 References MachineUser ( MachineUserID -> ID ) Signature⧉ Signature * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Windows MUI signature nvarchar(max) Company⧉ Company * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Company information from the Windows MUI cache. nvarchar(255) FriendlyAppName⧉ FriendlyAppName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Friendly application name from the Windows MUI cache nvarchar(255) FirstScan⧉ FirstScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ First scan of this MUI cache entity in OctoSAM Inventory datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Last scan of this MUI cache entity in OctoSAM Inventory datetime2 Description⧉ Description nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description from the Windows MUI cache nvarchar(max) DisplayVersion⧉ DisplayVersion nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Display Version nvarchar(255) FileVersion⧉ FileVersion nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ File Version from the version resource nvarchar(255) InternalName⧉ InternalName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Internal name of the executable from the version resource nvarchar(255) RawPublisher⧉ RawPublisher nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Raw publisher name from the version resource nvarchar(255) Path⧉ Path nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Path of the executable nvarchar(512) OriginalFilename⧉ OriginalFilename nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Original file name from the version resource nvarchar(512) MachineUserOfficeAddInTable dbo.MachineUserOfficeAddIn 🔑 Pk PK_MachineUserOfficeAddIn ( ID ) ID⧉ ID * bigint bigint 🔍 IX_MachineUserOfficeAddIn_MachineUserID ( MachineUserID ) MachineUserID⧉ MachineUserID * bigint ↗ MachineUserOfficeAddIn( ID ) bigint🔗 References MachineUser ( MachineUserID -> ID ) Application⧉ Application * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Application that this add-in is registered to nvarchar(128) Bits⧉ Bits * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Whether the add-in component is registered to the 32- or 64-bit version of the application int 🔍 IX_MachineUserOfficeAddIn_Name ( Name ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the add-in nvarchar(128) FriendlyName⧉ FriendlyName nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Friendlier name of the add-in if provided nvarchar(256) Description⧉ Description nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of the add-in nvarchar(512) LoadBehavior⧉ LoadBehavior int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Add-in load behaviour, see Microsoft documentation int CommandLineSafe⧉ CommandLineSafe int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ See Microsoft documentation int RegistryKeyLastWriteTime⧉ RegistryKeyLastWriteTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last write to the Registry key that registers the add-in datetime2 RegistryPath⧉ RegistryPath nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Registry path of the add-in registration nvarchar(256) ProgId⧉ ProgId nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ COM ProgramID of the add-in nvarchar(128) ClsId⧉ ClsId nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ COM CLSID of the add-in nvarchar(50) InProcServer⧉ InProcServer nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Path to the COM  server nvarchar(512) ThreadingModel⧉ ThreadingModel nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Threading Model nvarchar(50) InProcServerDescription⧉ InProcServerDescription nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of the InProcServer registration nvarchar(512) FileDescription⧉ FileDescription nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ File description from the resource of the registered COM server binary nvarchar(512) FileVersion⧉ FileVersion nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ File version from the resource of the registered COM server binary nvarchar(128) ProductName⧉ ProductName nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Product name from the resource of the registered COM server binary nvarchar(256) ProductVersion⧉ ProductVersion nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Product version from the resource of the registered COM server binary nvarchar(128) CompanyName⧉ CompanyName nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Company name from the resource of the registered COM server binary nvarchar(256) RawSoftwarePublisher⧉ RawSoftwarePublisher nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Software publisher as scanned from the resource of the registered COM server binary nvarchar(128) SoftwarePublisherID⧉ SoftwarePublisherID bigint ↗ MachineUserOfficeAddIn( ID ) bigint🔗 References SoftwarePublisher ( SoftwarePublisherID -> ID ) DisplayVersion⧉ DisplayVersion nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Display version of the add-in nvarchar(128) MachineUserSecurityGroupTable dbo.MachineUserSecurityGroup ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for use in future versions of OctoSAM Inventory. 🔑 Pk PK_MachineUserSecurityGroups ( ID ) ID⧉ ID * bigint bigint MachineUserID⧉ MachineUserID * bigint ↗ MachineUserSecurityGroup( ID ) bigint🔗 References MachineUser ( MachineUserID -> ID ) Name⧉ Name * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the security group nvarchar(512) Resolved⧉ Resolved * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True, if group name could be resolved, otherwise the group name usually contains the SID. bit MachineUserSoftwareSignatureTable dbo.MachineUserSoftwareSignature ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation between MachineUser and SoftwareSignature for per user signatures. 🔑 Pk PK_MachineUserSoftwareSignature ( ID ) ID⧉ ID * bigint bigint 🔍 IX_MachineUserSoftwareSignature_MachineUserID ( MachineUserID ) MachineUserID⧉ MachineUserID * bigint ↗ MachineUserSoftwareSignature( ID ) bigint🔗 References MachineUser ( MachineUserID -> ID ) 🔍 IX_MachineUserSoftwareSignature_SoftwareSignature ( SoftwareSignatureID ) SoftwareSignatureID⧉ SoftwareSignatureID * bigint ↗ MachineUserSoftwareSignature( ID ) bigint🔗 References SoftwareSignature ( SoftwareSignatureID -> ID ) InformationSourceID⧉ InformationSourceID * bigint ↗ MachineUserSoftwareSignature( ID ) bigint🔗 References InformationSource ( InformationSourceID -> ID ) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last write to this entity datetime2 LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created this relation uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the last scan that updated this relation datetime2 LastUsage⧉ LastUsage * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For Metering signatures, date/time of last detected usage. Redundant to information in UsageDetail, provided for ease of querying and performance. datetime2 Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation was created in the database datetime2 InstallDate⧉ InstallDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of installation (if available) datetime2 FirstScan⧉ FirstScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the scan that created this relation datetime2 KeyLastWriteTime⧉ KeyLastWriteTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the Registry for this signature was last updated datetime2 AnalysisExtras⧉ AnalysisExtras xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds additional analysis data xml ScanHint⧉ ScanHint nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Additional information from the scanner for this machine to signature relation nvarchar(50) MailboxProviderTable dbo.MailboxProvider ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Mailbox provider information. 🔑 Pk PK_MailboxProvider ( ID ) ID⧉ ID * bigint bigint MailboxProviderTypeID⧉ MailboxProviderTypeID * bigint ↗ MailboxProvider( ID ) bigint🔗 References MailboxProviderType ( MailboxProviderTypeID -> ID ) CloudProviderID⧉ CloudProviderID * bigint ↗ MailboxProvider( ID ) bigint🔗 References CloudProvider ( CloudProviderID -> ID ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the mailbox provider nvarchar(128) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created in the database datetime2 CreatedGuid⧉ CreatedGuid * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Guid of the scan that created this mailbox provider datetime2 MailboxProviderTypeTable dbo.MailboxProviderType ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Type of mailbox provider 🔑 Pk PK_MailboxProviderType ( ID ) ID⧉ ID * bigint ↙ MailboxProvider( ID ) bigint🔗 Referred by MailboxProvider ( MailboxProviderTypeID -> ID ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Mailbox provider name nvarchar(128) OctopusID⧉ OctopusID * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM internal name of the mailbox provider nvarchar(50) ManufacturerTable dbo.Manufacturer ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Provides normalized hardware manufacturer info 🔑 Pk PK_Manufacturer ( ID ) ID⧉ ID * bigint ↙ Machine( ID ) ↙ Machine( ID ) bigint🔗 Referred by Machine ( ManufacturerID -> ID ) Referred by Machine ( ProcessorManufacturerID -> ID ) 🔍 Unq UK_Manufacturer_Guid ( Guid ) Guid⧉ Guid * uniqueidentifier uniqueidentifier 🔍 Unq UK_Manufacturer_Name ( Name ) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Normalized hardware manufacturer name nvarchar(50) Notes⧉ Notes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom notes nvarchar(max) MasterNotes⧉ MasterNotes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes from the master catalog nvarchar(max) Url⧉ Url * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Url to the manufacturers website nvarchar(128) AutoAssignRegex⧉ AutoAssignRegex * nvarchar(1024) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Regular expression to discover manufacturer from hardware strings nvarchar(1024) AutoAssignTestLikePattern⧉ AutoAssignTestLikePattern nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SQL like pattern and/or regular expression to build test data for this manufacturer nvarchar(128) PredefinedByOctopus⧉ PredefinedByOctopus * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the manufaturer definition is maintained by Octosoft.. bit Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this object was created datetime2 CreatedBy⧉ CreatedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that created this object nvarchar(128) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this manufacturer was last modified datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that modified this object nvarchar(128) MasterLastModdified⧉ MasterLastModdified datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Last modification timestamp of the manufacturer in the master catalog datetime2 LastUpdateFromMaster⧉ LastUpdateFromMaster datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this manufacturer definition was last updated from master datetime2 LastSynchWithMaster⧉ LastSynchWithMaster datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this manufacturer definition was last synchronized with master datetime2 CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 1, not used by OctoSAM. nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 2, not used by OctoSAM. nvarchar(255) CustomField3⧉ CustomField3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 3, not used by OctoSAM. nvarchar(255) CustomField4⧉ CustomField4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 4, not used by OctoSAM. nvarchar(255) ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data for this manufacturer nvarchar(max) ObjectStateTable dbo.ObjectState ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use. 🔑 Pk PK_ObjectState ( ID ) ID⧉ ID * bigint ↙ Machine( ID ) ↙ SoftwarePublisher( ID ) ↙ SoftwareSignature( ID ) ↙ User( ID ) bigint🔗 Referred by Machine ( ObjectStateID -> ID ) Referred by SoftwarePublisher ( ObjectStateID -> ID ) Referred by SoftwareSignature ( ObjectStateID -> ID ) Referred by User ( ObjectStateID -> ID ) OctopusID⧉ OctopusID * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Octopus technical name of this state nvarchar(16) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Object state name nvarchar(50) Description⧉ Description * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Object state description nvarchar(255) OptionalColumnTable dbo.OptionalColumn ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ This table allows to show/hide columns in queries that use fieldsets. Columns that are not enabled are omitted from the query. This can be used to improve performance and readability of the column choosers. 🔑 Pk PK_OptionalColumn ( ID ) ID⧉ ID * bigint bigint 🔍 UK_OptionalColumn_Name ( Name ) Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the column nvarchar(255) Enabled⧉ Enabled * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If False, the column is omitted from queries that use fieldsets bit Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this record got created datetime2 Build⧉ Build * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM build that created this record nvarchar(50) OrganizationTable dbo.Organization ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Defines the organizations of this OctoSAM installation. 🔑 Pk PK_Organization ( ID ) ID⧉ ID * bigint ↙ DirectoryMissingMachine( ID ) ↙ DirectoryMissingUser( ID ) ↙ LicenseManagerServer( ID ) ↙ Machine( ID ) ↙ OrganizationToken( ID ) ↙ SoftwareItemOrganization( ID ) ↙ User( ID ) ↙ StatisticsSummary( ID ) ↙ RbacUserOrganization( ID ) ↙ RbacUserSelectedOrganization( ID ) bigint🔗 Referred by DirectoryMissingMachine ( OrganizationID -> ID ) Referred by DirectoryMissingUser ( OrganizationID -> ID ) Referred by LicenseManagerServer ( OrganizationID -> ID ) Referred by Machine ( OrganizationID -> ID ) Referred by OrganizationToken ( OrganizationID -> ID ) Referred by SoftwareItemOrganization ( OrganizationID -> ID ) Referred by User ( OrganizationID -> ID ) Referred by StatisticsSummary ( OrganizationID -> ID ) Referred by RbacUserOrganization ( OrganizationID -> ID ) Referred by RbacUserSelectedOrganization ( OrganizationID -> ID ) 🔍 Unq UK_Organization_Guid ( Guid ) Guid⧉ Guid * uniqueidentifier default newid() uniqueidentifier 🔍 Unq IX_Organization ( Name ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the organization nvarchar(128) Description⧉ Description * nvarchar(255) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description nvarchar(255) Notes⧉ Notes * nvarchar(max) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom notes nvarchar(max) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this record was last modified through the UI datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Client user that last modified this record nvarchar(128) CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data, not used by OctoSAM Inventory, nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data, not used by OctoSAM Inventory, nvarchar(255) CustomField3⧉ CustomField3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data, not used by OctoSAM Inventory, nvarchar(255) CustomField4⧉ CustomField4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data, not used by OctoSAM Inventory, nvarchar(255) OrganizationTokenTable dbo.OrganizationToken ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Defines tokens for organization mapping 🔑 Pk PK_OrganizationToken ( ID ) ID⧉ ID * bigint bigint 🔍 IX_OrganizationToken_OrganizationID ( OrganizationID ) OrganizationID⧉ OrganizationID * bigint ↗ OrganizationToken( ID ) bigint🔗 References Organization ( OrganizationID -> ID ) 🔍 Unq IX_OrganizationToken_TokenUniqueConstraint ( Token ) Token⧉ Token * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A string that matches the token defined in the corresponding mapping rule nvarchar(64) Notes⧉ Notes * nvarchar(max) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom notes nvarchar(max) PublishedSoftwarePackageTable dbo.PublishedSoftwarePackage ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation between groups and software packages. Used for modelling published applications. 🔑 Pk PK_PublishedSoftwarePackage ( ID ) ID⧉ ID * bigint bigint SoftwarePackageID⧉ SoftwarePackageID * bigint ↗ PublishedSoftwarePackage( ID ) bigint🔗 References SoftwarePackage ( SoftwarePackageID -> ID ) GroupID⧉ GroupID * bigint ↗ PublishedSoftwarePackage( ID ) bigint🔗 References Group ( GroupID -> ID ) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation was last modified datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Client user that last modified this relation nvarchar(50) QueryPerformanceTable dbo.QueryPerformance ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ This table contains performance information for executed OctoSAM queries 🔑 Pk PK_QueryPerformance ( ID ) ID⧉ ID * bigint bigint 🔍 IX_QueryPerformance_Guid ( Guid ) Guid⧉ Guid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the query. Each query definition has a unique GUID. uniqueidentifier Path⧉ Path * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Repository path of the query at the time of execution nvarchar(512) StartDateTime⧉ StartDateTime * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the Query was started datetime2 DurationMillis⧉ DurationMillis * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Duration of the Query bigint Rows⧉ Rows * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of rows the query returned bigint 🔍 IX_QueryPerformance_User ( User ) User⧉ User * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that executed the query nvarchar(128) Parameters⧉ Parameters * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A JSON document containing the query parameters nvarchar(max) Frontend⧉ Frontend * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM frontend / application that started the query nvarchar(50) RbacGroupTable dbo.RbacGroup ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ RBAC groups. 🔑 Pk PK_RbacGroup ( ID ) ID⧉ ID * bigint ↙ RbacGroupRole( ID ) ↙ RbacUserGroup( ID ) bigint🔗 Referred by RbacGroupRole ( RbacGroupID -> ID ) Referred by RbacUserGroup ( RbacGroupID -> ID ) 🔍 Unq UK_RbacGroup_Name ( Name ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the group nvarchar(128) MailAddress⧉ MailAddress * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Mail address of this group in Active Directory nvarchar(128) 🔍 Unq IX_RbacGroup_DirectoryGUID ( DirectoryGUID ) DirectoryGUID⧉ DirectoryGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Object-Guid attribute of this gorup in Active Directory uniqueidentifier DirectoryDistinguishedName⧉ DirectoryDistinguishedName * nvarchar(512) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DN of this group in Active Directory nvarchar(512) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the group object was created in the database datetime2 CreatedBy⧉ CreatedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM user that created the group nvarchar(128) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the group object was last modified in the database datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM user that modified the group nvarchar(128) PredefinedGroup⧉ PredefinedGroup * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(50) LastFoundInDirectory⧉ LastFoundInDirectory datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the group was last found in Active Directory datetime2 DirectoryWhenChanged⧉ DirectoryWhenChanged datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ whenChanged attribute from Active Directory datetime2 DirectoryWhenCreated⧉ DirectoryWhenCreated datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ whenCreated attribute from Active Directory datetime2 EntraIdTenantId⧉ EntraIdTenantId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Tenant ID for groups imported from Entra ID uniqueidentifier EntraIdId⧉ EntraIdId nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ EntraID ID for groups imported from Entra ID nvarchar(128) Description⧉ Description nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of the group nvarchar(512) EntraIdOnPremisesSyncEnabled⧉ EntraIdOnPremisesSyncEnabled bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True,if this group was synchronized from an on premises Active Directory to Entra ID bit EntraIdOnPremisesLastSyncDateTime⧉ EntraIdOnPremisesLastSyncDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the group was last synchronized datetime2 EntraIdClassification⧉ EntraIdClassification nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ classification property from Entra ID nvarchar(128) EntraIdOnPremisesNetbiosName⧉ EntraIdOnPremisesNetbiosName nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ NETBIOS name of the on premises Group  nvarchar(128) EntraIdOnPremisesSamAccountName⧉ EntraIdOnPremisesSamAccountName nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SAMAccount name of the on premises Group nvarchar(128) EntraIdGroupTypes⧉ EntraIdGroupTypes nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ List of group types from Entra ID nvarchar(128) EntraIdSecurityEnabled⧉ EntraIdSecurityEnabled bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if this group is an Entra ID security group bit RbacGroupRoleTable dbo.RbacGroupRole ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation between group and role. A user can be directly in a role (via RbacUserRole) or indirectly via RbacUsergroup and RbacGroupRole 🔑 Pk PK_RbacGroupRole ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_RbacGroupRole_GroupIDRoleID ( RbacGroupID, RbacRoleID ) RbacGroupID⧉ RbacGroupID * bigint ↗ RbacGroupRole( ID ) bigint🔗 References RbacGroup ( RbacGroupID -> ID ) 🔍 Unq UK_RbacGroupRole_GroupIDRoleID ( RbacGroupID, RbacRoleID ) 🔍 IX_RbacGroupRole_RbacRoleID ( RbacRoleID ) RbacRoleID⧉ RbacRoleID * bigint ↗ RbacGroupRole( ID ) bigint🔗 References RbacRole ( RbacRoleID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/TIme the relation was created datetime2 CreatedByRbacUserID⧉ CreatedByRbacUserID bigint ↗ RbacGroupRole( ID ) bigint🔗 References RbacUser ( CreatedByRbacUserID -> ID ) RbacObjectTable dbo.RbacObject ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for object names for RbacRolePrivilegeConstraint 🔑 Pk PK_RbacObject ( ID ) ID⧉ ID * bigint ↙ RbacPrivilege( ID ) bigint🔗 Referred by RbacPrivilege ( ConstrainedRbacObjectID -> ID ) 🔍 Unq UK_RbacObject_Name ( Name ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the rbac object nvarchar(128) RbacPrivilegeTable dbo.RbacPrivilege ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains database representation of single privileges 🔑 Pk PK_RbacPrivilege ( ID ) ID⧉ ID * bigint ↙ RbacRolePrivilege( ID ) bigint🔗 Referred by RbacRolePrivilege ( RbacPrivilegeID -> ID ) Name⧉ Name * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the privilege. This name is internal to OctoSAM and cannot be changed. nvarchar(256) Description⧉ Description * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Descritpion of the privilege. Displayed in RBAC related user interfaces. nvarchar(256) ConstrainedRbacObjectID⧉ ConstrainedRbacObjectID * bigint ↗ RbacPrivilege( ID ) bigint🔗 References RbacObject ( ConstrainedRbacObjectID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this privilege object was created datetime2 CreatedBy⧉ CreatedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM user that created this privilege nvarchar(128) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this privilege object was last modified datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM user that last modified this entity nvarchar(128) RbacRoleTable dbo.RbacRole ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A role is a collection of privileges 🔑 Pk PK_RbacRole ( ID ) ID⧉ ID * bigint ↙ RbacGroupRole( ID ) ↙ RbacRolePrivilege( ID ) ↙ RbacUserRole( ID ) bigint🔗 Referred by RbacGroupRole ( RbacRoleID -> ID ) Referred by RbacRolePrivilege ( RbacRoleID -> ID ) Referred by RbacUserRole ( RbacRoleID -> ID ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the Role nvarchar(128) Description⧉ Description * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of the Role nvarchar(256) Notes⧉ Notes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes nvarchar(max) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the role object was created datetime2 LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the role object was last modified datetime2 CreatedBy⧉ CreatedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM user that created the object nvarchar(128) LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM user that last modified the object nvarchar(128) PredefinedByOctopus⧉ PredefinedByOctopus * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True for OctoSAM predefined Roles, these roles cannot be deleted. bit RbacRolePrivilegeTable dbo.RbacRolePrivilege ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation between Privileges and Roles 🔑 Pk PK_RbacRolePrivilege ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_RbacRolePrivilege_RoleIDPrivilegeID ( RbacRoleID, RbacPrivilegeID ) RbacRoleID⧉ RbacRoleID * bigint ↗ RbacRolePrivilege( ID ) bigint🔗 References RbacRole ( RbacRoleID -> ID ) 🔍 Unq UK_RbacRolePrivilege_RoleIDPrivilegeID ( RbacRoleID, RbacPrivilegeID ) 🔍 IX_RbacRolePrivilege_RbacPrivilegeID ( RbacPrivilegeID ) RbacPrivilegeID⧉ RbacPrivilegeID * bigint ↗ RbacRolePrivilege( ID ) bigint🔗 References RbacPrivilege ( RbacPrivilegeID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the object was created, datetime2 CreatedBy⧉ CreatedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM user that created the object nvarchar(128) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the object was last modified, datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM user that last modified the object, nvarchar(128) RbacUserTable dbo.RbacUser ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User object for RBAC. Typically replicated from Active Directory 🔑 Pk PK_RbacUser ( ID ) ID⧉ ID * bigint ↙ LicenseManagerRbacUserFavoriteFeature( ID ) ↙ RbacGroupRole( ID ) ↙ RbacUserGroup( ID ) ↙ RbacUserPreferences( ID ) ↙ RbacUserRole( ID ) ↙ RbacUserRole( ID ) ↙ RecentlyUsedObject( ID ) ↙ SoftwareItemOwner( ID ) ↙ RbacUserOrganization( ID ) ↙ RbacUserSelectedOrganization( ID ) bigint🔗 Referred by LicenseManagerRbacUserFavoriteFeature ( RbacUserID -> ID ) Referred by RbacGroupRole ( CreatedByRbacUserID -> ID ) Referred by RbacUserGroup ( RbacUserID -> ID ) Referred by RbacUserPreferences ( RbacUserID -> ID ) Referred by RbacUserRole ( RbacUserID -> ID ) Referred by RbacUserRole ( CreatedByRbacUserID -> ID ) Referred by RecentlyUsedObject ( RbacUserID -> ID ) Referred by SoftwareItemOwner ( RbacUserID -> ID ) Referred by RbacUserOrganization ( RbacUserID -> ID ) Referred by RbacUserSelectedOrganization ( RbacUserID -> ID ) 🔍 Unq UK_RbacUser_Name ( Name ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unique user name nvarchar(128) PrintableName⧉ PrintableName * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Printable name showed for this user in the user interface nvarchar(256) 🔍 Unq IX_RbacUser_DirectoryGUID ( DirectoryGUID ) DirectoryGUID⧉ DirectoryGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Object-GUID attribute from Active Directory uniqueidentifier DirectoryDistinguishedName⧉ DirectoryDistinguishedName * nvarchar(512) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DN of this user in Active Directory nvarchar(512) TelephoneNumber⧉ TelephoneNumber * nvarchar(256) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ telephoneNumber attribute of this user in ActiveDirectory nvarchar(256) UserPrincipalName⧉ UserPrincipalName * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ userPrincipalName attribute of this user in Active Directory nvarchar(256) MailAddress⧉ MailAddress * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ mail attribute of this user in Active Directory, nvarchar(256) 🔍 IX_RbacUser_UserID ( UserID ) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ access rbac user via inventory user idUserID⧉ UserID bigint ↗ RbacUser( ID ) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Optional, ID of OctoSAM Inventory user object if one can be mapped. bigint🔗 References User ( UserID -> ID ) Enabled⧉ Enabled * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the user is enabled in Active Directory bit Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this object was created datetime2 CreatedBy⧉ CreatedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM user that created the object nvarchar(128) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this object was last modified datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM user that last modified the object nvarchar(128) LastFoundInDirectory⧉ LastFoundInDirectory * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this object was last found in Active Directory datetime2 DirectoryWhenCreated⧉ DirectoryWhenCreated datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ whenCreated attribute from Active Directory datetime2 DirectoryWhenChanged⧉ DirectoryWhenChanged datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ whenChanged attribute from Active Directory datetime2 DeletedInDirectory⧉ DeletedInDirectory * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the account was deleted in Active Directory but cannot be removed from the database due to referential integrity. For example if set as SoftwareItem owner. bit DeletedInDirectoryFirstDetected⧉ DeletedInDirectoryFirstDetected datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the Deleted in Directory flag was set datetime2 DirectoryAccountExpires⧉ DirectoryAccountExpires datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ accountExpires attribute from ActiveDirectory datetime2 PasswordLastSet⧉ PasswordLastSet datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the password was last set in Active Directory datetime2 PasswordNeverExpires⧉ PasswordNeverExpires bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the Password Never Expires flag is set in Active Directory bit UserPasswordExpiryTime⧉ UserPasswordExpiryTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Calculated date/time the password will expire datetime2 EntraIdTenantId⧉ EntraIdTenantId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID tenant ID of this RBAC user uniqueidentifier 🔍 IX_RbacUser_EntraIdId ( EntraIdId ) EntraIdId⧉ EntraIdId nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID ID of this RBAC user nvarchar(128) Notes⧉ Notes nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes for this RBAC user nvarchar(max) HashedKey⧉ HashedKey nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(max) ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data in JSON format nvarchar(max) DirectoryMsDSConsistencyGuid⧉ DirectoryMsDSConsistencyGuid uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A unique ID used by Microsoft Entra ID to synchronize user information, uniqueidentifier Res1⧉ Res1 nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(256) Res2⧉ Res2 nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(256) Res3⧉ Res3 nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(256) Res4⧉ Res4 nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(256) EntraIdOnPremisesSyncEnabled⧉ EntraIdOnPremisesSyncEnabled bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the Entra ID user was synchronized from an on premises active directory bit EntraIdOnPremisesLastSyncDateTime⧉ EntraIdOnPremisesLastSyncDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the user was last synchronized datetime2 EntraIdLastSignInDateTime⧉ EntraIdLastSignInDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the user last signed in with Microsoft Entra ID datetime2 RbacUserGroupTable dbo.RbacUserGroup ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n User to Group relation. Replicated from Active Directory 🔑 Pk PK_RbacUserGroup ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_RbacUserGroup_UserIDGroupID ( RbacUserID, RbacGroupID ) RbacUserID⧉ RbacUserID * bigint ↗ RbacUserGroup( ID ) bigint🔗 References RbacUser ( RbacUserID -> ID ) 🔍 Unq UK_RbacUserGroup_UserIDGroupID ( RbacUserID, RbacGroupID ) 🔍 IX_RbacUserGroup_RbacGroupID ( RbacGroupID ) RbacGroupID⧉ RbacGroupID * bigint ↗ RbacUserGroup( ID ) bigint🔗 References RbacGroup ( RbacGroupID -> ID ) RbacUserOrganizationTable dbo.RbacUserOrganization ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ This n:m relation table models the RBAC User to Organization Privilege in a way that's easy to integrate into SQL Queries. The information is redundant to the Organization privileges assigned to the user 🔑 Pk PK_RbacUserOrganization ( ID ) ID⧉ ID * bigint ↗ RbacUserOrganization( ID ) ↙ RbacUserOrganization( ID ) bigint🔗 References RbacUserOrganization ( ID ) Referred by RbacUserOrganization ( ID ) 🔍 Unq UK_RbacUserOrganization_RbacUser_Organization ( RbacUserID, OrganizationID ) RbacUserID⧉ RbacUserID * bigint ↗ RbacUserOrganization( ID ) bigint🔗 References RbacUser ( RbacUserID -> ID ) 🔍 Unq UK_RbacUserOrganization_RbacUser_Organization ( RbacUserID, OrganizationID ) OrganizationID⧉ OrganizationID * bigint ↗ RbacUserOrganization( ID ) bigint🔗 References Organization ( OrganizationID -> ID ) UpdateEnabled⧉ UpdateEnabled * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If True, the RBAC user has update privileges in this organization. Update privileges for objects and fields are also required. bit RbacUserPreferencesTable dbo.RbacUserPreferences ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Stores user preferences for web applications. 🔑 Pk PK_RbacUserPreferences ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_RbacUserPreferences_RbacUserID_Name ( RbacUserID, Name ) RbacUserID⧉ RbacUserID * bigint ↗ RbacUserPreferences( ID ) bigint🔗 References RbacUser ( RbacUserID -> ID ) 🔍 Unq UK_RbacUserPreferences_RbacUserID_Name ( RbacUserID, Name ) Name⧉ Name * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the preference setting nvarchar(64) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this setting was last modified datetime2 Value⧉ Value * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ String representation of the value nvarchar(max) XmlValue⧉ XmlValue xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Optional for Xml Values that need to be referenced by SQL xml BlobValue⧉ BlobValue varbinary(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Optional for binary settings values varbinary(max) DateTimeValue⧉ DateTimeValue datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time representation of the value datetime2 BooleanValue⧉ BooleanValue bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Boolean representation of the value bit IntegerValue⧉ IntegerValue bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Integer representation of the value bigint RbacUserRoleTable dbo.RbacUserRole ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n User to Role relation for users with directly assigned roles. 🔑 Pk PK_RbacUserRole ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_RbacUserRole_UserIDRoleID ( RbacUserID, RbacRoleID ) RbacUserID⧉ RbacUserID * bigint ↗ RbacUserRole( ID ) bigint🔗 References RbacUser ( RbacUserID -> ID ) 🔍 Unq UK_RbacUserRole_UserIDRoleID ( RbacUserID, RbacRoleID ) 🔍 IX_RbacUserRole_RbacRoleID ( RbacRoleID ) RbacRoleID⧉ RbacRoleID * bigint ↗ RbacUserRole( ID ) bigint🔗 References RbacRole ( RbacRoleID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created datetime2 CreatedByRbacUserID⧉ CreatedByRbacUserID bigint ↗ RbacUserRole( ID ) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Rbac User that created this relationship bigint🔗 References RbacUser ( CreatedByRbacUserID -> ID ) RbacUserSelectedOrganizationTable dbo.RbacUserSelectedOrganization 🔑 Pk PK_RbacUserSelectedOrganization ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_RbacUserSelectedOrganization_RbacUser_Organization ( RbacUserID, OrganizationID ) RbacUserID⧉ RbacUserID * bigint ↗ RbacUserSelectedOrganization( ID ) bigint🔗 References RbacUser ( RbacUserID -> ID ) 🔍 Unq UK_RbacUserSelectedOrganization_RbacUser_Organization ( RbacUserID, OrganizationID ) OrganizationID⧉ OrganizationID * bigint ↗ RbacUserSelectedOrganization( ID ) bigint🔗 References Organization ( OrganizationID -> ID ) RecentlyUsedObjectTable dbo.RecentlyUsedObject ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Per user recently used objects. 🔑 Pk PK_RecentlyUsedObject ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_RecentlyUsedObject_RbacUserIDRecentyUsedObjctTypeIDObjectGuid ( RbacUserID, RecentlyUsedObjectTypeID, ObjectGuid ) RbacUserID⧉ RbacUserID * bigint ↗ RecentlyUsedObject( ID ) bigint🔗 References RbacUser ( RbacUserID -> ID ) 🔍 Unq UK_RecentlyUsedObject_RbacUserIDRecentyUsedObjctTypeIDObjectGuid ( RbacUserID, RecentlyUsedObjectTypeID, ObjectGuid ) RecentlyUsedObjectTypeID⧉ RecentlyUsedObjectTypeID * bigint ↗ RecentlyUsedObject( ID ) bigint🔗 References RecentlyUsedObjectType ( RecentlyUsedObjectTypeID -> ID ) 🔍 Unq UK_RecentlyUsedObject_RbacUserIDRecentyUsedObjctTypeIDObjectGuid ( RbacUserID, RecentlyUsedObjectTypeID, ObjectGuid ) ObjectGuid⧉ ObjectGuid * uniqueidentifier uniqueidentifier FirstUsed⧉ FirstUsed * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the object was first used datetime2 LastUsed⧉ LastUsed * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the object was last used datetime2 UsageCount⧉ UsageCount * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of times the object was used bigint Favorite⧉ Favorite bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the user selected this object as a favorite bit ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data for this recently used object nvarchar(max) RecentlyUsedObjectTypeTable dbo.RecentlyUsedObjectType ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Lookup table for recently used object types. 🔑 Pk PK_RecentlyUsedObjectType ( ID ) ID⧉ ID * bigint ↙ RecentlyUsedObject( ID ) bigint🔗 Referred by RecentlyUsedObject ( RecentlyUsedObjectTypeID -> ID ) 🔍 Unq UK_RecentlyUsedObjectType_ObjectName ( ObjectName ) ObjectName⧉ ObjectName * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the recently used object type nvarchar(50) DisplayName⧉ DisplayName * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Display name of the recently used object type nvarchar(50) RepositoryTable dbo.Repository ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Centrally store queries, reports and scripts that can be used by multiple components. 🔑 Pk PK_Repository ( ID ) ID⧉ ID * bigint bigint 🔍 IX_Repository ( GUID ) GUID⧉ GUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID if supported by the content type stored in the repository item uniqueidentifier CustomerID⧉ CustomerID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A Guid that identifies the customer for customer specific items uniqueidentifier InstallationID⧉ InstallationID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use uniqueidentifier Enabled⧉ Enabled * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ This item is selectable in the gui / runnable in services bit 🔍 Unq IX_Repository_Path ( Path ) Path⧉ Path * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A logical path name that optionally specifies the position of this item in tree structures nvarchar(256) Blob⧉ Blob * varbinary(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contents of this repository item varbinary(max) Description⧉ Description * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description if supported by the repository type nvarchar(max) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this item was created datetime2 CreatedBy⧉ CreatedBy * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that created this item nvarchar(64) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this item was last modified datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last modified this item nvarchar(128) RepositoryGroup⧉ RepositoryGroup * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ An identification string that can be be referenced when loading repository items nvarchar(16) SourceLastModified⧉ SourceLastModified * datetime2 default CONVERT([datetime2],'0001-01-01',(0)) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Last write time of the source file datetime2 SupportWeb⧉ SupportWeb * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ This resource can be used by web applications bit SupportDesktop⧉ SupportDesktop * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ This resource can be used by desktop applications bit RequiredPrivileges⧉ RequiredPrivileges nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ List of rbac privileges required to enable this item nvarchar(max) Hash⧉ Hash nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Hash calculated over the repository binary contents nvarchar(128) ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data for this repository item nvarchar(max) RequiredModules⧉ RequiredModules nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Required modules to enable this item nvarchar(256) DocumentationPath⧉ DocumentationPath nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Path into online documentation of this item nvarchar(256) SerilogEventTable dbo.SerilogEvent ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains events from the Serilog logging framework, see Serilog documentation. 🔑 Pk PK_SerilogEvent ( Id ) Id⧉ Id * bigint bigint Message⧉ Message nvarchar(max) nvarchar(max) MessageTemplate⧉ MessageTemplate nvarchar(max) nvarchar(max) Level⧉ Level nvarchar(128) nvarchar(128) 🔍 IX_SerilogEvent_Timestamp ( TimeStamp ) TimeStamp⧉ TimeStamp * datetime datetime Exception⧉ Exception nvarchar(max) nvarchar(max) Properties⧉ Properties nvarchar(max) nvarchar(max) SourceContext⧉ SourceContext nvarchar(max) nvarchar(max) SoftwareCatalogConflictTable dbo.SoftwareCatalogConflict ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains conflicts detected by the software catalog update mechanism. 🔑 Pk PK_SoftwareCatalogConflict ( ID ) ID⧉ ID * bigint bigint Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the entry was created datetime2 SoftwareSignatureID⧉ SoftwareSignatureID * bigint ↗ SoftwareCatalogConflict( ID ) bigint🔗 References SoftwareSignature ( SoftwareSignatureID -> ID ) SoftwarePackageID⧉ SoftwarePackageID bigint ↗ SoftwareCatalogConflict( ID ) bigint🔗 References SoftwarePackage ( SoftwarePackageID -> ID ) SoftwarePackageGuid⧉ SoftwarePackageGuid uniqueidentifier uniqueidentifier Action⧉ Action * nvarchar(50) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Catalog action that causes the conflict nvarchar(50) CatalogVersion⧉ CatalogVersion * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Version info of used catalog nvarchar(128) Notes⧉ Notes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes written during the catalog update process nvarchar(max) SoftwareCategoryTable dbo.SoftwareCategory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Defines the software categories. 🔑 Pk PK_SoftwareCategory ( ID ) ID⧉ ID * bigint ↙ SoftwarePackage( ID ) bigint🔗 Referred by SoftwarePackage ( SoftwareCategoryID -> ID ) 🔍 Unq IX_SoftwareCategory_Name ( Name ) Name⧉ Name * nvarchar(32) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the software category nvarchar(32) Description⧉ Description * nvarchar(255) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description nvarchar(255) SortOrder⧉ SortOrder * int default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM Inventory sorts categories in ascending sort order by default int Junk⧉ Junk * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Flag to signal a category as junk. junk categories can be ignored on some reports and queries. bit Custom1⧉ Custom1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom Field 1, not used by OctoSAM. nvarchar(255) Custom2⧉ Custom2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom Field 2, not used by OctoSAM. nvarchar(255) Notes⧉ Notes * nvarchar(max) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes nvarchar(max) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the category was last modified datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Client user that last modified this Software category nvarchar(128) 🔍 IX_SoftwareCategory_OctopusID ( OctopusID ) OctopusID⧉ OctopusID * nvarchar(32) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Internal ID for predefined software categories, used for catalog updates.  nvarchar(32) SoftwareItemTable dbo.SoftwareItem ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Software items hold customer specific information about software objects. 🔑 Pk PK_SoftwareItem ( ID ) ID⧉ ID * bigint ↙ SoftwareItemLicenseManagerServer( ID ) ↙ SoftwareItemMachine( ID ) ↙ SoftwareItemOrganization( ID ) ↙ SoftwareItemSoftwarePackage( ID ) ↙ SoftwareItemUser( ID ) bigint🔗 Referred by SoftwareItemLicenseManagerServer ( SoftwareItemID -> ID ) Referred by SoftwareItemMachine ( SoftwareItemID -> ID ) Referred by SoftwareItemOrganization ( SoftwareItemID -> ID ) Referred by SoftwareItemSoftwarePackage ( SoftwareItemID -> ID ) Referred by SoftwareItemUser ( SoftwareItemID -> ID ) 🔍 IX_SoftwareItem_SoftwarePublisherID ( SoftwarePublisherID ) SoftwarePublisherID⧉ SoftwarePublisherID bigint ↗ SoftwareItem( ID ) bigint🔗 References SoftwarePublisher ( SoftwarePublisherID -> ID ) 🔍 Unq UK_SoftwareItem_Guid ( Guid ) Guid⧉ Guid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unique ID of the item, can be used for export/import or for the web UI. uniqueidentifier 🔍 Unq IX_SoftwareItem_SiteUniqueID ( SiteUniqueID ) SiteUniqueID⧉ SiteUniqueID nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A site defined unique id for each item. Must be unique if not empty. nvarchar(128) 🔍 Unq UK_SoftwareItem_UniqueNameVersion ( Name, Version ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the software Item nvarchar(128) 🔍 Unq UK_SoftwareItem_UniqueNameVersion ( Name, Version ) Version⧉ Version * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Version of the software item nvarchar(128) StartDate⧉ StartDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Start date of the software item datetime2 EndDate⧉ EndDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ End date of the software item datetime2 AdditionalInfoLink⧉ AdditionalInfoLink nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Can contain a link to additional information nvarchar(256) Description⧉ Description * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of the item. Can be html formatted. nvarchar(max) Notes⧉ Notes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Remarks that are visible to all users that have read access to the item nvarchar(max) InitialCost⧉ InitialCost decimal(18,2) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Initial Cost decimal(18,2) InitialCostCurrencyID⧉ InitialCostCurrencyID bigint ↗ SoftwareItem( ID ) bigint🔗 References Currency ( InitialCostCurrencyID -> ID ) CustomField1⧉ CustomField1 nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 1, not used by OctoSAM. nvarchar(max) CustomField2⧉ CustomField2 nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 2, not used by OctoSAM. nvarchar(max) CustomField3⧉ CustomField3 nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 3, not used by OctoSAM. nvarchar(max) CustomField4⧉ CustomField4 nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 4, not used by OctoSAM. nvarchar(max) CustomField5⧉ CustomField5 nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 5, not used by OctoSAM. nvarchar(max) CustomField6⧉ CustomField6 nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom field 6, not used by OctoSAM. nvarchar(max) Res1⧉ Res1 nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(max) Res2⧉ Res2 nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(max) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the item got created datetime2 LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the item was last modified datetime2 CreatedByRbacUserID⧉ CreatedByRbacUserID * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ RBAC user that created the item bigint LastModifiedByRbacUserID⧉ LastModifiedByRbacUserID * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ RBAC user that last modified the item bigint VisibleStartDate⧉ VisibleStartDate * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Item becomes automatically visible after this date datetime2 Visible⧉ Visible * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Item is visible bit Enabled⧉ Enabled * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If not enabled, the Item cannot be edited. bit OwnerNotes⧉ OwnerNotes * nvarchar(max) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Remarks that can only be read by software package owners nvarchar(max) RecurringCost⧉ RecurringCost decimal(18,2) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Recurring Cost decimal(18,2) RecurringCostCurrencyID⧉ RecurringCostCurrencyID bigint ↗ SoftwareItem( ID ) bigint🔗 References Currency ( RecurringCostCurrencyID -> ID ) PrintableName⧉ PrintableName * nvarchar(255) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of this item for reports and queries nvarchar(255) Active⧉ Active * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Mark the Item as active. Inactive items can be hidden from most lists. bit AdministratorNotes⧉ AdministratorNotes * nvarchar(max) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Remarks that can only be read by a small group of users nvarchar(max) Units⧉ Units decimal(18,0) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A universal field that can contain a number decimal(18,0) ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data for this software item nvarchar(max) SoftwareInstallationApproval⧉ SoftwareInstallationApproval bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Installation approval logic is active for this software item bit Spla⧉ Spla bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True, if the Software Item describes a Microsoft SPLA item bit SoftwareItemLicenseManagerServerTable dbo.SoftwareItemLicenseManagerServer ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation between SoftwareItem and LicenseManagerServer tables 🔑 Pk PK_SoftwareItemLicenseManagerServer ( ID ) ID⧉ ID * bigint bigint 🔍 IX_SoftwareItemLicenseManagerServer_SoftawareItemID ( SoftwareItemID ) SoftwareItemID⧉ SoftwareItemID * bigint ↗ SoftwareItemLicenseManagerServer( ID ) bigint🔗 References SoftwareItem ( SoftwareItemID -> ID ) 🔍 IX_SoftwareItemLicenseManagerServer_LicenseManagerServerID ( LicenseManagerServerID ) LicenseManagerServerID⧉ LicenseManagerServerID * bigint ↗ SoftwareItemLicenseManagerServer( ID ) bigint🔗 References LicenseManagerServer ( LicenseManagerServerID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created in the database datetime2 CreatedBy⧉ CreatedBy nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that created this relation nvarchar(50) SoftwareItemMachineTable dbo.SoftwareItemMachine ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n SoftwareItem to Machine relation, for Items that are linked to specific machines 🔑 Pk PK_SoftwareItemMachine ( ID ) ID⧉ ID * bigint bigint SoftwareItemID⧉ SoftwareItemID * bigint ↗ SoftwareItemMachine( ID ) bigint🔗 References SoftwareItem ( SoftwareItemID -> ID ) MachineID⧉ MachineID * bigint ↗ SoftwareItemMachine( ID ) bigint🔗 References Machine ( MachineID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created datetime2 CreatedBy⧉ CreatedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that created this relation nvarchar(128) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got last modified datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last modified this relation nvarchar(128) ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(max) Res1⧉ Res1 nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(128) Res2⧉ Res2 nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(128) SoftwareItemOrganizationTable dbo.SoftwareItemOrganization ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n SoftwareItem to Organization relation for Items that are linked to specific organizattions 🔑 Pk PK_SoftwareItemOrganization ( ID ) ID⧉ ID * bigint bigint OrganizationID⧉ OrganizationID * bigint ↗ SoftwareItemOrganization( ID ) bigint🔗 References Organization ( OrganizationID -> ID ) SoftwareItemID⧉ SoftwareItemID * bigint ↗ SoftwareItemOrganization( ID ) bigint🔗 References SoftwareItem ( SoftwareItemID -> ID ) Visible⧉ Visible * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use bit MachineEntitled⧉ MachineEntitled * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if machines of the organizations are entitled bit UserEntitled⧉ UserEntitled * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if users of the organization are entitled bit SoftwareItemOwnerTable dbo.SoftwareItemOwner ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation between SoftwareItem and RBAC User. Models software item ownership. Software Item Owners can be assigned special privileges on their owned products. 🔑 Pk PK_SoftwareListOwner ( ID ) ID⧉ ID * bigint ↗ SoftwareItemOwner( ID ) ↙ SoftwareItemOwner( ID ) bigint🔗 References SoftwareItemOwner ( ID ) Referred by SoftwareItemOwner ( ID ) 🔍 IX_SoftwareItemOwner_RbacUserID ( RbacUserID ) RbacUserID⧉ RbacUserID * bigint ↗ SoftwareItemOwner( ID ) bigint🔗 References RbacUser ( RbacUserID -> ID ) 🔍 IX_SoftwareItemOwner_SoftwareItemID ( SoftwareItemID ) SoftwareItemID⧉ SoftwareItemID * bigint bigint Created⧉ Created * datetime ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created datetime CreatedByRbacUserID⧉ CreatedByRbacUserID * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Rbac User that created the relation bigint SoftwareItemSoftwarePackageTable dbo.SoftwareItemSoftwarePackage ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation between SoftwareItem and SoftwarePackage 🔑 Pk PK_SoftwareListSoftwarePackage ( ID ) ID⧉ ID * bigint bigint 🔍 IX_SoftwareItemSoftwarePackage_SoftwarePackageID ( SoftwarePackageID ) SoftwarePackageID⧉ SoftwarePackageID * bigint ↗ SoftwareItemSoftwarePackage( ID ) bigint🔗 References SoftwarePackage ( SoftwarePackageID -> ID ) 🔍 IX_SoftwareItemSoftwarePackage_SoftwareItemID ( SoftwareItemID ) SoftwareItemID⧉ SoftwareItemID * bigint ↗ SoftwareItemSoftwarePackage( ID ) bigint🔗 References SoftwareItem ( SoftwareItemID -> ID ) Created⧉ Created datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created datetime2 CreatedBy⧉ CreatedBy nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User who created this entity nvarchar(50) SoftwareItemUserTable dbo.SoftwareItemUser ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation between SoftwareItem and User for items that are linked to specific users 🔑 Pk PK_SoftwareItemUser ( ID ) ID⧉ ID * bigint bigint 🔍 IX_SoftwareItemUser_SoftwareItemID ( SoftwareItemID ) SoftwareItemID⧉ SoftwareItemID * bigint ↗ SoftwareItemUser( ID ) bigint🔗 References SoftwareItem ( SoftwareItemID -> ID ) 🔍 IX_SoftwareItemUser_UserID ( UserID ) UserID⧉ UserID * bigint ↗ SoftwareItemUser( ID ) bigint🔗 References User ( UserID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created datetime2 CreatedBy⧉ CreatedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that created the relation nvarchar(128) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got last updated datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last modified the relation nvarchar(128) SoftwareLicensingTypeTable dbo.SoftwareLicensingType ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Licensing Type (Freware, Shareware, Commercial etc.). 🔑 Pk PK_SoftwareLicensingType ( ID ) ID⧉ ID * bigint ↙ SoftwarePackage( ID ) bigint🔗 Referred by SoftwarePackage ( SoftwareLicensingTypeID -> ID ) OctopusID⧉ OctopusID * nvarchar(32) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Internal Id used for catalog updates nvarchar(32) 🔍 Unq IX_SoftwareLicensingType_Name ( Name ) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name nvarchar(50) LicensingRelevant⧉ LicensingRelevant * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True for commercial licensing types bit SoftwarePackageTable dbo.SoftwarePackage ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A software package defines a logical software entity. A software package can own 0 to n software signatures. 🔑 Pk PK_SoftwarePackage ( ID ) ID⧉ ID * bigint ↗ SoftwarePackage( ID ) ↙ MachineSoftwarePackage( ID ) ↙ PublishedSoftwarePackage( ID ) ↙ SoftwareCatalogConflict( ID ) ↙ SoftwareItemSoftwarePackage( ID ) ↙ SoftwarePackage( ID ) ↙ SoftwarePackage( ID ) ↙ SoftwarePackageAppVGuid( ID ) ↙ SoftwarePackageUsageDetail( ID ) ↙ SoftwareSignature( ID ) bigint🔗 References SoftwarePackage ( ID ) Referred by MachineSoftwarePackage ( SoftwarePackageID -> ID ) Referred by PublishedSoftwarePackage ( SoftwarePackageID -> ID ) Referred by SoftwareCatalogConflict ( SoftwarePackageID -> ID ) Referred by SoftwareItemSoftwarePackage ( SoftwarePackageID -> ID ) Referred by SoftwarePackage ( ID ) Referred by SoftwarePackage ( DeploymentReplacementSoftwarePackageID -> ID ) Referred by SoftwarePackageAppVGuid ( SoftwarePackageID -> ID ) Referred by SoftwarePackageUsageDetail ( SoftwarePackageID -> ID ) Referred by SoftwareSignature ( SoftwarePackageID -> ID ) 🔍 Unq IX_SoftwarePackage ( Name ) Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the software package nvarchar(255) Notes⧉ Notes * nvarchar(max) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom notes nvarchar(max) 🔍 IX_SoftwarePackage_Category ( SoftwareCategoryID ) SoftwareCategoryID⧉ SoftwareCategoryID * bigint ↗ SoftwarePackage( ID ) bigint🔗 References SoftwareCategory ( SoftwareCategoryID -> ID ) 🔍 IX_SoftwarePackage_Publisher ( SoftwarePublisherID ) SoftwarePublisherID⧉ SoftwarePublisherID * bigint ↗ SoftwarePackage( ID ) bigint🔗 References SoftwarePublisher ( SoftwarePublisherID -> ID ) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last write to this software package datetime2 DeploymentGroup⧉ DeploymentGroup nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Can be used to assign security groups to machine objects in the directory. Some software deployment systems use this to determine what package to install on what machine (or for which user). nvarchar(255) MeteringEnabled⧉ MeteringEnabled * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True, if the software package definition supports package metering. bit CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom data not used by OctoSAM nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom data not used by OctoSAM nvarchar(255) PredefinedByOctopus⧉ PredefinedByOctopus * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The package definition is maintained through OctoSAM master catalog updates bit ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data for this object (JSON), nvarchar(max) LifecycleSupportPolicy⧉ LifecycleSupportPolicy nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For package specific software life cycle: contains a publisher specific life cycle policy name, nvarchar(50) LifecycleStartDate⧉ LifecycleStartDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For package specific software life cycle: life cycle start date, datetime2 LifecycleExtendedEndDate⧉ LifecycleExtendedEndDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For package specific software life cycle:  extended support end date, datetime2 LifecycleRetirementDate⧉ LifecycleRetirementDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use, datetime2 LifecycleReleaseStartDate⧉ LifecycleReleaseStartDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use, datetime2 LifecycleReleaseEndDate⧉ LifecycleReleaseEndDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use, datetime2 LifecycleLongTermSupport⧉ LifecycleLongTermSupport bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ for package specific software life cycle: true if a long term support release bit LifecycleDefinitionTypeID⧉ LifecycleDefinitionTypeID bigint ↗ SoftwarePackage( ID ) bigint🔗 References LifecycleDefinitionType ( LifecycleDefinitionTypeID -> ID ) LifecycleNotes⧉ LifecycleNotes nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes from the lifcycle definition for packages that have a package specific lifecycle definition, nvarchar(max) AlwaysCreatePackage⧉ AlwaysCreatePackage bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If true, the package always gets created in the database regardless of installation status, bit LifecycleMainstreamEndDate⧉ LifecycleMainstreamEndDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For package specific software life cycle:  mainstream support end date, datetime2--more-- SoftwarePackageAppVGuidTable dbo.SoftwarePackageAppVGuid ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Allows site-specific Mapping of Microsoft AppV Guids to Software Packages 🔑 Pk PK_SoftwarePackageAppVGuid ( ID ) ID⧉ ID * bigint bigint 🔍 IX_SoftwarePackageAppVGuid_SoftwarePackageID ( SoftwarePackageID ) SoftwarePackageID⧉ SoftwarePackageID * bigint ↗ SoftwarePackageAppVGuid( ID ) bigint🔗 References SoftwarePackage ( SoftwarePackageID -> ID ) 🔍 IX_SoftwarePackageAppVGuid_AppVGuid ( AppVGuid ) AppVGuid⧉ AppVGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Guid as defined in App-V uniqueidentifier Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created datetime2 CreatedBy⧉ CreatedBy * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that created this entity nvarchar(50) SoftwarePackageUsageDetailTable dbo.SoftwarePackageUsageDetail ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Consolidated usage information per software package per user per machine per day. Perform OctoSAM Inventory housekeeping to update this table from UsageDetail. 🔑 Pk PK_SoftwarePackageUsageDetail ( ID ) ID⧉ ID * bigint bigint 🔍 IX_SoftwarePackageUsageDetail_MachineID_Clustered ( MachineID ) MachineID⧉ MachineID * bigint ↗ SoftwarePackageUsageDetail( ID ) bigint🔗 References Machine ( MachineID -> ID ) 🔍 IX_SoftwarePackageUsageDetail_UserID ( UserID ) UserID⧉ UserID * bigint ↗ SoftwarePackageUsageDetail( ID ) bigint🔗 References User ( UserID -> ID ) 🔍 IX_SoftwarePackageUsageDetail_PackageID ( SoftwarePackageID ) SoftwarePackageID⧉ SoftwarePackageID * bigint ↗ SoftwarePackageUsageDetail( ID ) bigint🔗 References SoftwarePackage ( SoftwarePackageID -> ID ) UsageDate⧉ UsageDate * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date the usage was detected. Note that the time portion of this column is always 00:00:00,000, This is because .net and older versions of SQL Server do not have a dedicated Date datatype. May change to Date in the future. datetime2 Minutes⧉ Minutes * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Consolidated usage time in minutes per day- int SoftwarePublisherTable dbo.SoftwarePublisher ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Normalized publisher information from the catalog. 🔑 Pk PK_SoftwarePublisher ( ID ) ID⧉ ID * bigint ↙ Machine( ID ) ↙ SoftwareItem( ID ) ↙ SoftwarePackage( ID ) ↙ SoftwarePublisherSwidRegid( ID ) ↙ SoftwareSignature( ID ) ↙ MachineOfficeAddIn( ID ) ↙ MachineUserOfficeAddIn( ID ) bigint🔗 Referred by Machine ( OperatingSystemSoftwarePublisherID -> ID ) Referred by SoftwareItem ( SoftwarePublisherID -> ID ) Referred by SoftwarePackage ( SoftwarePublisherID -> ID ) Referred by SoftwarePublisherSwidRegid ( SoftwarePublisherID -> ID ) Referred by SoftwareSignature ( SoftwarePublisherID -> ID ) Referred by MachineOfficeAddIn ( SoftwarePublisherID -> ID ) Referred by MachineUserOfficeAddIn ( SoftwarePublisherID -> ID ) 🔍 Unq UK_SoftwarePublisher_Guid ( Guid ) Guid⧉ Guid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unique identifier for objects that are synchronized with the master catalog uniqueidentifier PredefinedByOctopus⧉ PredefinedByOctopus * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if publisher is to be synchronized with the master catalog bit 🔍 Unq UK_SoftwarePublisher_Name ( Name ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Software publisher's name nvarchar(128) Url⧉ Url * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Link to the Website nvarchar(128) Notes⧉ Notes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Customers notes to the publisher. Not synchronized from the master catalog. nvarchar(max) MasterNotes⧉ MasterNotes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes that are synchronized from the master catalog, nvarchar(max) AutoAssignEnabled⧉ AutoAssignEnabled * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if signture publisher are to be discovered, bit AutoAssignRegex⧉ AutoAssignRegex * nvarchar(1024) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Regex to discover the publisher in signtures, nvarchar(1024) AutoAssignTestLikePattern⧉ AutoAssignTestLikePattern nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SQL LIKE type filter used to select signatures for auto assign testing nvarchar(128) AutoAssignNotes⧉ AutoAssignNotes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes about the discovery rules from master catalog, nvarchar(max) JunkFilterEnabled⧉ JunkFilterEnabled * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if junk signatures are to be discovered, bit JunkFilterRegex⧉ JunkFilterRegex * nvarchar(1024) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Regex to discover junk signatures per publisher, nvarchar(1024) JunkFilterTestLikePattern⧉ JunkFilterTestLikePattern nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SQL LIKE type filter used to select signatures for junk filter testing nvarchar(128) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DateTime this entity got created, datetime2 CreatedBy⧉ CreatedBy * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that created the entity, nvarchar(50) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DateTime this entity got last modified, datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last modified the entity, nvarchar(128) MasterLastModified⧉ MasterLastModified datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DateTime the master catalog entity got last modified, datetime2 MasterLastModifiedBy⧉ MasterLastModifiedBy nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last modified the master catalog information (not replicated), nvarchar(128) LastUpdateFromMaster⧉ LastUpdateFromMaster datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DateTime the entity got last updated from master, datetime2 LastSynchWithMaster⧉ LastSynchWithMaster datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DateTime the entity last synchronized with master, datetime2 CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM, nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM, nvarchar(255) CustomField3⧉ CustomField3 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM, nvarchar(50) CustomField4⧉ CustomField4 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM, nvarchar(50) HintHasSoftwareItems⧉ HintHasSoftwareItems * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if software items assigned to this publisher exist, bit ObjectStateID⧉ ObjectStateID bigint ↗ SoftwarePublisher( ID ) bigint🔗 References ObjectState ( ObjectStateID -> ID ) SoftwarePublisherSwidRegidTable dbo.SoftwarePublisherSwidRegid ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use 🔑 Pk PK_SoftwarePublisherSwidRegid ( ID ) ID⧉ ID * bigint bigint SoftwarePublisherID⧉ SoftwarePublisherID * bigint ↗ SoftwarePublisherSwidRegid( ID ) bigint🔗 References SoftwarePublisher ( SoftwarePublisherID -> ID ) Regid⧉ Regid * nvarchar(128) nvarchar(128) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got created in the database datetime2 CreatedBy⧉ CreatedBy * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that created this entity nvarchar(64) LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entity got last modified datetime2 LastModifiedBy⧉ LastModifiedBy * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last modified this entity nvarchar(128) SoftwareRepackagerTable dbo.SoftwareRepackager ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Detected software repackagers. Relies on the Import Service detecting special signatures that software repackagers add to the install. 🔑 Pk PK_SoftwareRepackager ( ID ) ID⧉ ID * bigint ↙ MachineSoftwareSignature( ID ) bigint🔗 Referred by MachineSoftwareSignature ( SoftwareRepackagerID -> ID ) Name⧉ Name * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of a detected repackager nvarchar(50) Description⧉ Description * nvarchar(250) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description of a detected repackager nvarchar(250) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time a repackager was first detected datetime2 SoftwareSignatureTable dbo.SoftwareSignature ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A software signature is a unique pattern detected by software scan, like a fingerprint that a particular software leaves on on machines. 🔑 Pk PK_SoftwareSignature ( ID ) 🔍 IX_SoftwareSignature_FilterLicensingRelevant ( ID ) ID⧉ ID * bigint ↙ MachineSoftwareSignature( ID ) ↙ MachineUserSoftwareSignature( ID ) ↙ SoftwareCatalogConflict( ID ) ↙ UsageDetail( ID ) bigint🔗 Referred by MachineSoftwareSignature ( SoftwareSignatureID -> ID ) Referred by MachineUserSoftwareSignature ( SoftwareSignatureID -> ID ) Referred by SoftwareCatalogConflict ( SoftwareSignatureID -> ID ) Referred by UsageDetail ( SoftwareSignatureID -> ID ) 🔍 IX_SoftwareSignature_MD5Hash ( MD5Hash ) MD5Hash⧉ MD5Hash char(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use. Unique Hash over multiple columns, used to speed up the import service and to discern software signatures in future versions. char(16) 🔍 IX_SoftwareSignature_PackageID ( SoftwarePackageID ) SoftwarePackageID⧉ SoftwarePackageID bigint ↗ SoftwareSignature( ID ) bigint🔗 References SoftwarePackage ( SoftwarePackageID -> ID ) 🔍 Unq IX_SoftwareSignatureSignature ( Signature ) Signature⧉ Signature * nvarchar(350) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Signature after signature rewriting process. Used to uniquely identify a software signature object. nvarchar(350) 🔍 IX_SoftwareSignature_Dynamic ( Dynamic ) Dynamic⧉ Dynamic * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A dynamic signature is a signature that is not present on every scan. For example information about running processes. Dynamic signature relations to machines are not immdiately removed if not found in a .single scan file. bit RawPublisher⧉ RawPublisher * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Publisher of the software (raw information as seen by the scan, see SoftwarePublisher table for normalized publisher information). nvarchar(64) Version⧉ Version * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Version Information from the MSI registry (if known) nvarchar(128) Notes⧉ Notes * nvarchar(max) default '' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom notes nvarchar(max) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Time this object was created datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Scan GUID that created this Software Signature uniqueidentifier 🔍 IX_SoftwareSignature_ScanSignature ( ScanSignature ) ScanSignature⧉ ScanSignature * nvarchar(350) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The Signature as reported by Octoscan2 (without signature rewriting) nvarchar(350) ScanHint⧉ ScanHint nvarchar(32) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Octoscan can place additional information about found software signatures that can be used for rewriting nvarchar(32) CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom Data - not used by OctoSAM Inventory nvarchar(255) CustomField2⧉ CustomField2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom Data - not used by OctoSAM Inventory nvarchar(255) LastModification⧉ LastModification datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this Signature record was last modified through the OctoSAM Inventory UI datetime2 Comments⧉ Comments nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Comment field from the Windows installer registry, nvarchar(255) Contact⧉ Contact nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contact field from the Windows Installer Registry nvarchar(255) ProductCode⧉ ProductCode nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ProductCode from the Windows Installer Registry nvarchar(255) ProductName⧉ ProductName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ProductName from either the Windows Installer Registry or from process version resource nvarchar(255) VersionMajor⧉ VersionMajor bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ VersionMajor Field from the Windows installer fegistry bigint VersionMinor⧉ VersionMinor bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ VersionMinor Field from the Windows installer registry bigint HelpLink⧉ HelpLink nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ HelpLink Field from the Windows Installer Registry nvarchar(255) UrlInfoAbout⧉ UrlInfoAbout nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ UrlInfoAbout Field from the Windows Installer Registry nvarchar(255) UrlUpdateInfo⧉ UrlUpdateInfo nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ UrlUpdateInfo Field from the Windows Installer Registry nvarchar(255) SystemComponent⧉ SystemComponent * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SystemComponent Flag from the Windows Installer Registry bit Language⧉ Language bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Language code from the Windows Installer Registry bigint Info⧉ Info nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Info field from Windows Registry and Mac system_profiler nvarchar(255) Res1⧉ Res1 nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for internal use of future versions nvarchar(64) Res2⧉ Res2 nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for internal use of future versions nvarchar(64) Path⧉ Path nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Installation location of a software component nvarchar(255) Architecture⧉ Architecture nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Architecture field from the Windows Installer Registry or from process executable information nvarchar(16) MayRemainAfterUninstall⧉ MayRemainAfterUninstall * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ This can be used for static signatures that are left behind on product uninstall. For example some Adobe products leave the SWID tag file on uninstall. bit Rewritten⧉ Rewritten bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the Signature field was rewritten by signature rewriting rules bit RewritingRuleName⧉ RewritingRuleName nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the last rule that was applied at signature rewriting nvarchar(128) SwidSignature⧉ SwidSignature * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the signature was generated from an SWID tag file bit 🔍 IX_SoftwareSignature_SoftwarePublisher ( SoftwarePublisherID ) SoftwarePublisherID⧉ SoftwarePublisherID bigint ↗ SoftwareSignature( ID ) bigint🔗 References SoftwarePublisher ( SoftwarePublisherID -> ID ) Junk⧉ Junk * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the signature is considered junk by junk filter rules bit ReportedToCentral⧉ ReportedToCentral datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For installations with central reporting of new signatures, timestamp when the signature was reported. datetime2 Virtualized⧉ Virtualized * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if a signature stems from a virtualization system such as App-V bit LicensingRelevant⧉ LicensingRelevant bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For software packages with licensing type multiple, this can indicate a commercial signature. Requires additional detection Logic in OctoSAM. Used for example for Java Packages that have free and paid update levels. bit BaseVersion⧉ BaseVersion nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Signature version determined by per-product logic within OctoSAM for signatures where uniform versioning has a speical relevance such as Java nvarchar(64) AnalysisExtras⧉ AnalysisExtras xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds extra data that is used internally by OctoSAM xml ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data for this software signature that is used internally by OctoSAM nvarchar(max) InstallationApproved⧉ InstallationApproved bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If true, installation of this signature is approved on all machines. bit InstallationApprovedChanged⧉ InstallationApprovedChanged datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the installation approval flag was last changed datetime2 InstallationApprovedChangedBy⧉ InstallationApprovedChangedBy nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User that last changed the installation approval flag nvarchar(50) ExactVersion⧉ ExactVersion nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Some scanners provide a detailed signature version for special signatures such as Java, where exact build version can be of interest. nvarchar(128) ReleaseType⧉ ReleaseType nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Some software such as Oracle Java is available in different release types. The values in this field are specific to the software or publisher. nvarchar(50) LastScan⧉ LastScan datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this signature was last scanned on any machine datetime2 🔍 Unq UK_SoftwareSignature_Guid ( Guid ) Guid⧉ Guid * uniqueidentifier default newid() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A unique ID that can be used to link to this object by external applications uniqueidentifier ObjectStateID⧉ ObjectStateID bigint ↗ SoftwareSignature( ID ) bigint🔗 References ObjectState ( ObjectStateID -> ID ) CustomField3⧉ CustomField3 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom Data - not used by OctoSAM Inventory nvarchar(255) CustomField4⧉ CustomField4 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Custom Data - not used by OctoSAM Inventory nvarchar(255) StatisticsSummaryTable dbo.StatisticsSummary 🔑 Pk PK_StatisticsSummary ( ID ) ID⧉ ID * bigint bigint 🔍 IX_StatisticsSummary_Organization ( OrganizationID ) OrganizationID⧉ OrganizationID bigint ↗ StatisticsSummary( ID ) bigint🔗 References Organization ( OrganizationID -> ID ) 🔍 IX_StatisticsSummary_Created ( Created ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this statistics summary was created datetime2 BuildVersion⧉ BuildVersion * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM build version nvarchar(50) BuildDate⧉ BuildDate * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ OctoSAM build date datetime2 Machines⧉ Machines * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of machines bigint Servers⧉ Servers * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of machines with a server operating system bigint WindowsServers⧉ WindowsServers * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Windows servers bigint WindowsMachines⧉ WindowsMachines * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Windows machines bigint MacMachines⧉ MacMachines * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Macs bigint EsxMachines⧉ EsxMachines * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of ESX hosts bigint LinuxMachines⧉ LinuxMachines * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Linux machines bigint Users⧉ Users * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of users bigint LicenseUnits⧉ LicenseUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Assigned license units (machines) bigint LicenseServerUnits⧉ LicenseServerUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Assigned server license units bigint LicenseGraceUnits⧉ LicenseGraceUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Grace license that allow operation of OctoSAM even if the license units are exceeded bigint LicenseServerGraceUnits⧉ LicenseServerGraceUnits * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Grace server license units bigint LicenseReadOnlyAfter⧉ LicenseReadOnlyAfter * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ After this date, OctoSAM can only be used in read-only mode datetime2 LicenseValidThru⧉ LicenseValidThru * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ License expiry date datetime2 LicenseOptions⧉ LicenseOptions * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ License options nvarchar(512) OracleJavaApprovedJavaInstallations⧉ OracleJavaApprovedJavaInstallations * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of approved Oracle Java SE installations that might consume a license bigint OracleJavaMsiInstallations⧉ OracleJavaMsiInstallations * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Oracle Java SE installations that were made using a .MSI installaion that may require a paid license bigint OracleJavaLicensingRelevantInstallations⧉ OracleJavaLicensingRelevantInstallations * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Oracle Java SE installations that require a paid subscription bigint JavaInstallations⧉ JavaInstallations * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Total number of detected Java installations of any type bigint JavaPackages⧉ JavaPackages * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of different Java packages installed bigint ServersDeletedInDirectory⧉ ServersDeletedInDirectory * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of servers that we detected as deleted in directory bigint MachinesDeletedInDirectory⧉ MachinesDeletedInDirectory * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of machines that we detected as deleted in directory bigint CatalogConflicts⧉ CatalogConflicts * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of conflicts in the software catalog at last catalog update bigint ErrorsLast24Hrs⧉ ErrorsLast24Hrs * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of logged errors in the last 24 hrs bigint WarningsLast24Hrs⧉ WarningsLast24Hrs * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of logged warnings in the last 24 hrs bigint IncompleteScanFileErrorsLast24Hrs⧉ IncompleteScanFileErrorsLast24Hrs * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of logged incomplete scan file errors in the last 24 hrs bigint LicenseManagerServersErrorsLast24Hrs⧉ LicenseManagerServersErrorsLast24Hrs * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of logged license manager server observer errors in the last 24 hrs bigint CustomCounter1⧉ CustomCounter1 * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM bigint CustomCounter2⧉ CustomCounter2 * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM bigint CustomCounter3⧉ CustomCounter3 * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM bigint CustomCounter4⧉ CustomCounter4 * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM bigint CustomField1⧉ CustomField1 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM nvarchar(50) CustomField2⧉ CustomField2 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM nvarchar(50) CustomField3⧉ CustomField3 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM nvarchar(50) CustomField4⧉ CustomField4 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Not used by OctoSAM nvarchar(50) ResCounter1⧉ ResCounter1 bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use bigint ResCounter2⧉ ResCounter2 * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use bigint ResCounter3⧉ ResCounter3 * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use bigint ResCounter4⧉ ResCounter4 * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use bigint Res1⧉ Res1 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(50) Res2⧉ Res2 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(50) Res3⧉ Res3 nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(50) ImportsLast24Hrs⧉ ImportsLast24Hrs * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Total number of imports in the last 24 hrs bigint MacImportsLast24Hrs⧉ MacImportsLast24Hrs * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of imported Mac scans in the last 24 hrs bigint LinuxImportsLast24Hrs⧉ LinuxImportsLast24Hrs * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of imported Linux scans in the last 24 hrs bigint WindowsWorkstations⧉ WindowsWorkstations * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of Windows Workstations bigint Date⧉ Date date ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date this entity got created date SoftwarePackages⧉ SoftwarePackages * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of software packages in the database bigint SoftwareSignatures⧉ SoftwareSignatures * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of software signatures in the database bigint MachineSoftwareSignatures⧉ MachineSoftwareSignatures * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Size of the machine to software signature relation bigint UsageDetails⧉ UsageDetails * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of software metering detail records  bigint SoftwarePackageUsageDetails⧉ SoftwarePackageUsageDetails * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of software package metering records bigint WmiInstanceProperties⧉ WmiInstanceProperties * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of WMI instance properties bigint ScannerErrorsLast24Hrs⧉ ScannerErrorsLast24Hrs * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of reported scanner errors in the last 24 hrs bigint ScannerWarningsLast24Hrs⧉ ScannerWarningsLast24Hrs * bigint default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of reported scanner warnings in the last 24 hrs bigint LastHousekeepingStart⧉ LastHousekeepingStart datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the last housekeeping got started datetime2 LastHousekeepingEnd⧉ LastHousekeepingEnd datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the last housekeeping ended datetime2 SwidDocumentTable dbo.SwidDocument ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Used to hold scanned SWID Tag XML documents. 🔑 Pk PK_SwidDocument ( ID ) ID⧉ ID * bigint bigint 🔍 IX_SwidDocument_MachineSoftwareSignatureID ( MachineSoftwareSignatureID ) MachineSoftwareSignatureID⧉ MachineSoftwareSignatureID * bigint ↗ SwidDocument( ID ) bigint🔗 References MachineSoftwareSignature ( MachineSoftwareSignatureID -> ID ) SwidDocument⧉ SwidDocument * xml ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contents of the tag file xml Path⧉ Path * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Absolute path of the tag file on the client machine nvarchar(255) Created⧉ Created * datetime2 default getdate() ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this entry was created datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created this entry uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this SWID Tag was last found in a scan datetime2 LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan file that last detected this SWID tag uniqueidentifier ProductTitle⧉ ProductTitle nvarchar(250) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID product_title nvarchar(250) ProductVersion⧉ ProductVersion nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID product_version nvarchar(50) SoftwareCreator⧉ SoftwareCreator nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID software_creator name nvarchar(255) SoftwareCreatorRegID⧉ SoftwareCreatorRegID nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID software_creator regid nvarchar(50) SoftwareLicensor⧉ SoftwareLicensor nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID software_licensor name nvarchar(255) SoftwareLicensorRegID⧉ SoftwareLicensorRegID nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID software_creator regid nvarchar(50) TagCreator⧉ TagCreator nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID tag_creator name nvarchar(255) TagCreatorRegID⧉ TagCreatorRegID nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID tag_creator regid nvarchar(50) UniqueID⧉ UniqueID nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID software_id unique_id nvarchar(255) EntitlementRequiredIndicator⧉ EntitlementRequiredIndicator bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID entitlement_required bit ActivationStatus⧉ ActivationStatus nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID activation_status nvarchar(50) ChannelType⧉ ChannelType nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID channel_type nvarchar(50) CustomerType⧉ CustomerType nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID customer_type nvarchar(50) SerialNumber⧉ SerialNumber nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SWID serial_number element nvarchar(255) LicenseLinkage⧉ LicenseLinkage bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ true if SWID document contains a license_linkage element bit UalDeviceAccessTable dbo.UalDeviceAccess ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Microsoft User Access Log device access data. 🔑 Pk PK_UalDeviceAccess ( ID ) ID⧉ ID * bigint bigint 🔍 IX_UalDeviceAccess_MachineID ( MachineID ) MachineID⧉ MachineID * bigint ↗ UalDeviceAccess( ID ) bigint🔗 References Machine ( MachineID -> ID ) 🔍 IX_UalDeviceAccess_RoleID ( UalRoleID ) UalRoleID⧉ UalRoleID * bigint ↗ UalDeviceAccess( ID ) bigint🔗 References UalRole ( UalRoleID -> ID ) 🔍 IX_UalDeviceAccess_ClientMachineID ( ClientMachineID ) ClientMachineID⧉ ClientMachineID bigint ↗ UalDeviceAccess( ID ) bigint🔗 References Machine ( ClientMachineID -> ID ) IPAddress⧉ IPAddress * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Microsoft UAL Device Access IP address nvarchar(50) ClientFQDN⧉ ClientFQDN * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Hostname of the client through DNS reverse lookup or OctoSAM Inventory lookup nvarchar(128) ActivityCount⧉ ActivityCount * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The number of times a particular device accessed the role or service bigint FirstSeen⧉ FirstSeen * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The date and time when an IP address was first used to access a role or service datetime2 LastSeen⧉ LastSeen * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The date and time when an IP address was last used to access a role or service datetime2 UalRoleTable dbo.UalRole ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds Microsoft User Access Log application/role Names and GUIDs 🔑 Pk PK_UalRole ( ID ) ID⧉ ID * bigint ↙ UalDeviceAccess( ID ) ↙ UalUserAccess( ID ) bigint🔗 Referred by UalDeviceAccess ( UalRoleID -> ID ) Referred by UalUserAccess ( UalRoleID -> ID ) 🔍 Unq IX_UalRoleGuid ( Guid, ProductName ) Guid⧉ Guid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Microsoft User Access Logging role GUID uniqueidentifier 🔍 Unq IX_UalRoleGuid ( Guid, ProductName ) ProductName⧉ ProductName * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Microsoft User Access Logging product name nvarchar(256) RoleName⧉ RoleName * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Microsoft User Access Logging role name nvarchar(256) UalUserAccessTable dbo.UalUserAccess ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds Microsoft User Access Log user access data. 🔑 Pk PK_UalUserAccess ( ID ) ID⧉ ID * bigint bigint 🔍 IX_UalUserAccess_MachineID ( MachineID ) MachineID⧉ MachineID * bigint ↗ UalUserAccess( ID ) bigint🔗 References Machine ( MachineID -> ID ) 🔍 IX_UalUserAccess_UalRoleID ( UalRoleID ) UalRoleID⧉ UalRoleID * bigint ↗ UalUserAccess( ID ) bigint🔗 References UalRole ( UalRoleID -> ID ) 🔍 IX_UalUserAccess_UserID ( UserID ) UserID⧉ UserID bigint ↗ UalUserAccess( ID ) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Set to Octosoft user id  for users that could be mapped bigint🔗 References User ( UserID -> ID ) UserName⧉ UserName * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The user name on the client that accompanies the UAL entries from installed roles and products, if applicable. nvarchar(256) TenantIdentifier⧉ TenantIdentifier * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A unique GUID for a tenant client of an installed role or product that accompanies the UAL data, if applicable. nvarchar(64) ActivityCount⧉ ActivityCount * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The number of times a particular user accessed a role or service bigint FirstSeen⧉ FirstSeen * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The date and time when a user first accesses a role or service datetime2 LastSeen⧉ LastSeen * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The date and time when a user last accessed a role or service datetime2 UsageDetailTable dbo.UsageDetail ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds detailed usage information as imported from octoscan scan files. This table should usually not be referenced directly by reports and queries. Use the consolidated SoftwarePackageUsageDetail table instead. 🔑 Pk PK_UsageDetail ( ID ) ID⧉ ID * bigint bigint 🔍 IX_UsageDetail_SoftwareSignatureID ( SoftwareSignatureID ) SoftwareSignatureID⧉ SoftwareSignatureID * bigint ↗ UsageDetail( ID ) bigint🔗 References SoftwareSignature ( SoftwareSignatureID -> ID ) 🔍 IX_UsageDetail_UserID ( UserID ) UserID⧉ UserID * bigint ↗ UsageDetail( ID ) bigint🔗 References User ( UserID -> ID ) 🔍 IX_UsageDetail_MachineID ( MachineID ) MachineID⧉ MachineID * bigint ↗ UsageDetail( ID ) bigint🔗 References Machine ( MachineID -> ID ) 🔍 IX_UsageDetail_ScanGUID ( ScanGUID ) ScanGUID⧉ ScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the .scan file that created this record. uniqueidentifier Minutes⧉ Minutes * int ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Usage in minutes int ScanDateTime⧉ ScanDateTime * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the .scan file. datetime2 🔍 IX_UsageDetail_UsageDate ( UsageDate ) UsageDate⧉ UsageDate * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date this usage was detected. Note that the time portion of this column is always 00:00:00,000. datetime2 UsbDeviceTable dbo.UsbDevice ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use. 🔑 Pk PK_UsbDevice ( ID ) ID⧉ ID * bigint ↙ MachineUsbDevice( ID ) bigint🔗 Referred by MachineUsbDevice ( UsbDeviceID -> ID ) 🔍 Unq IX_UsbDevice ( UsbDeviceVendorID, UsbDeviceCode ) UsbDeviceVendorID⧉ UsbDeviceVendorID * bigint ↗ UsbDevice( ID ) bigint🔗 References UsbDeviceVendor ( UsbDeviceVendorID -> ID ) 🔍 Unq IX_UsbDevice ( UsbDeviceVendorID, UsbDeviceCode ) UsbDeviceCode⧉ UsbDeviceCode * bigint bigint Description⧉ Description * nvarchar(512) nvarchar(512) Remarks⧉ Remarks * nvarchar(512) nvarchar(512) UsbDeviceVendorTable dbo.UsbDeviceVendor ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use. 🔑 Pk PK_UsbDeviceVendor ( ID ) ID⧉ ID * bigint ↙ UsbDevice( ID ) bigint🔗 Referred by UsbDevice ( UsbDeviceVendorID -> ID ) 🔍 Unq IX_UsbDeviceVendor ( UsbDeviceVendorCode ) UsbDeviceVendorCode⧉ UsbDeviceVendorCode * bigint bigint Name⧉ Name * nvarchar(512) nvarchar(512) Remarks⧉ Remarks * nvarchar(512) nvarchar(512) UserTable dbo.User ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Basic user Information. 🔑 Pk PK_User ( ID ) 🔍 Unq IX_User_Performance1 ( OrganizationID, ID ) ID⧉ ID * bigint ↙ ImportControl( ID ) ↙ LicenseManagerServerUser( ID ) ↙ Machine( ID ) ↙ Machine( ID ) ↙ MachineUser( ID ) ↙ RbacUser( ID ) ↙ SoftwareItemUser( ID ) ↙ SoftwarePackageUsageDetail( ID ) ↙ UalUserAccess( ID ) ↙ UsageDetail( ID ) ↙ UserCloudProviderAccountLicensingPlan( ID ) ↙ UserGroup( ID ) ↙ UserMachineAffinity( ID ) ↙ CloudUser( ID ) bigint🔗 Referred by ImportControl ( UserID -> ID ) Referred by LicenseManagerServerUser ( UserID -> ID ) Referred by Machine ( LastUserID -> ID ) Referred by Machine ( MostFrequentUserID -> ID ) Referred by MachineUser ( UserID -> ID ) Referred by RbacUser ( UserID -> ID ) Referred by SoftwareItemUser ( UserID -> ID ) Referred by SoftwarePackageUsageDetail ( UserID -> ID ) Referred by UalUserAccess ( UserID -> ID ) Referred by UsageDetail ( UserID -> ID ) Referred by UserCloudProviderAccountLicensingPlan ( UserID -> ID ) Referred by UserGroup ( UserID -> ID ) Referred by UserMachineAffinity ( UserID -> ID ) Referred by CloudUser ( UserID -> ID ) 🔍 IX_User ( OrganizationID ) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Access🔍 Unq IX_User_Performance1 ( OrganizationID, ID ) OrganizationID⧉ OrganizationID * bigint ↗ User( ID ) bigint🔗 References Organization ( OrganizationID -> ID ) LoginName⧉ LoginName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ sAMAccount name, nvarchar(128) DomainName⧉ DomainName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Domain of the logged on user, nvarchar(128) DisplayName⧉ DisplayName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DisplayName attribute from the directory service, nvarchar(255) UserPrincipalName⧉ UserPrincipalName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ UserPrincipalName from the directory service, nvarchar(255) Description⧉ Description * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description attribute from the directory service, nvarchar(255) DnsDomain⧉ DnsDomain * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The user's DNS domain nvarchar(255) ImportSourceID⧉ ImportSourceID * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Always 1 for current version of OctoSAM Inventory, bigint LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Time of last write to the entity, datetime2 CustomField1⧉ CustomField1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Available for custom data, not used by OctoSAM Inventory, nvarchar(255) ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data collected for this user, nvarchar(max) DirectoryType⧉ DirectoryType nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Directory type that this user was found in., nvarchar(16) EntraIdTenantId⧉ EntraIdTenantId uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID tenant Id uniqueidentifier EntraIdOnPremisesDistinguishedName⧉ EntraIdOnPremisesDistinguishedName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Distinguished name that got replicated from on-site to Entra ID nvarchar(255) EntraIdOnPremisesDomainName⧉ EntraIdOnPremisesDomainName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Domain name that got replicated from on-site to Entra ID nvarchar(255) EntraIdOnPremisesLastSyncDateTime⧉ EntraIdOnPremisesLastSyncDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this object was last synchronized from on-site AD datetime2 EntraIdOnPremisesSID⧉ EntraIdOnPremisesSID nvarchar(200) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ SID of the on-prem user nvarchar(200) EntraIdOnPremisesSyncEnabled⧉ EntraIdOnPremisesSyncEnabled bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If true the user object gets synchronized from an on-size AD bit EntraIdOnPremisesUserPrincipalName⧉ EntraIdOnPremisesUserPrincipalName nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ UPN that got synchronized from on-prem AD nvarchar(256) EntraIdUserType⧉ EntraIdUserType nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID user type nvarchar(50) EntraIdEmployeeLeaveDateTime⧉ EntraIdEmployeeLeaveDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this employee was left or will leave datetime2 EntraIdEmployeeHireDate⧉ EntraIdEmployeeHireDate datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date this employee was hired datetime2 EntraIdDeletedDateTime⧉ EntraIdDeletedDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this user object was deleted in Azure AD datetime2 EntraIdGivenName⧉ EntraIdGivenName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Given name of the user nvarchar(255) EntraIdSurname⧉ EntraIdSurname nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Surname of the user nvarchar(255) EntraIdCreationType⧉ EntraIdCreationType nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID creation type nvarchar(255) EntraIdCostCenter⧉ EntraIdCostCenter nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Cost center from Entra ID nvarchar(255) EntraIdPreferredDataLocation⧉ EntraIdPreferredDataLocation nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Preferred data location from Entra ID nvarchar(255) EntraIdDivision⧉ EntraIdDivision nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Division from Entra ID nvarchar(255) MappingTag⧉ MappingTag nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A field that can be used for custom organization mapping nvarchar(255) HintHasAutoStart⧉ HintHasAutoStart bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the user has scanned Windows auto start information bit HintHasMuiCache⧉ HintHasMuiCache bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the user has scanned MUI cache information bit CloudProviderAccountID⧉ CloudProviderAccountID bigint ↗ User( ID ) bigint🔗 References CloudProviderAccount ( CloudProviderAccountID -> ID ) LastFoundInEntraId⧉ LastFoundInEntraId datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this user was last found in EntraID datetime2 ObjectStateID⧉ ObjectStateID bigint ↗ User( ID ) bigint🔗 References ObjectState ( ObjectStateID -> ID ) EntraIdLastSignInDateTime⧉ EntraIdLastSignInDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this user last signed in to Entra ID. This information may not be available depending on your Entra ID license. datetime2 EntraIdLastSignInRequestId⧉ EntraIdLastSignInRequestId nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Request id of the last Entra ID sign in. This information may not be available depending on your Entra ID license. nvarchar(255) EntraIdLastNonInteractiveSignInDateTime⧉ EntraIdLastNonInteractiveSignInDateTime datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the last non-interactive sign in to Entra ID. This information may not be available depending on your Entra ID license. datetime2 EntraIdLastNonInteractiveSignInRequestId⧉ EntraIdLastNonInteractiveSignInRequestId nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Request id of the last non-interactive sign in to Entra ID. This information may not be available depending on your Entra ID license. nvarchar(255) HintHasCloudAppUsage⧉ HintHasCloudAppUsage bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if Microsoft 365 usage data is available in the OctoSAM inventory bit EntraIdId⧉ EntraIdId nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Microsoft EntraID ID of this user nvarchar(128) LastScannerTag⧉ LastScannerTag nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Command-line tag that was specified on the last scan of this user nvarchar(255) HintHasOfficeAddIns⧉ HintHasOfficeAddIns bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True, if Microsoft Office add-ins have been detected on this machine bit ScannedDistinguishedName⧉ ScannedDistinguishedName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Distinguished user name as scanned from Octoscan2. Modern Windows that are joined to an Active Directory provide this information locally. nvarchar(255) EntraIdAccountEnabled⧉ EntraIdAccountEnabled bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Entra ID AccountEnabled  bit EntraIdSyncDiagnostics⧉ EntraIdSyncDiagnostics nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Diagnostics message from the OctoSAM Graph Entra ID importer nvarchar(255)--more-- UserCloudProviderAccountLicensingPlanTable dbo.UserCloudProviderAccountLicensingPlan ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User assigned account licensing plan relation Information. 🔑 Pk PK_UserCloudProviderAccountLicensingPlan ( ID ) ID⧉ ID * bigint ↙ UserCloudProviderAccountLicensingPlanCloudProviderService( ID ) bigint🔗 Referred by UserCloudProviderAccountLicensingPlanCloudProviderService ( UserCloudProviderAccountLicensingPlanID -> ID ) 🔍 Unq UK_UserCloudProviderAccountLicensingPlan_UserIDCloudProviderAccountLicensingPlanID ( UserID, CloudProviderAccountLicensingPlanID ) 🔍 IX_UserCloudProviderAccountLicensingPlan_UserID ( UserID ) UserID⧉ UserID * bigint ↗ UserCloudProviderAccountLicensingPlan( ID ) bigint🔗 References User ( UserID -> ID ) 🔍 Unq UK_UserCloudProviderAccountLicensingPlan_UserIDCloudProviderAccountLicensingPlanID ( UserID, CloudProviderAccountLicensingPlanID ) 🔍 IX_UserCloudProviderAccountLicensingPlan_CloudProviderAccountLicensingPlanID ( CloudProviderAccountLicensingPlanID ) CloudProviderAccountLicensingPlanID⧉ CloudProviderAccountLicensingPlanID * bigint ↗ UserCloudProviderAccountLicensingPlan( ID ) bigint🔗 References CloudProviderAccountLicensingPlan ( CloudProviderAccountLicensingPlanID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got last scanned datetime2 LastScanGuid⧉ LastScanGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan that scanned this relation uniqueidentifier LastUserActivityDetected⧉ LastUserActivityDetected datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the last user activity concerning this licensing plan (if supported) datetime2 UserCloudProviderAccountLicensingPlanCloudProviderServiceTable dbo.UserCloudProviderAccountLicensingPlanCloudProviderService ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ User assigned account licensing plan service rlation status Information. 🔑 Pk PK_UserCloudProviderAccountLicensingPlanCloudProviderService ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_UserCloudProviderAccountLicensingPlanCloudProviderService ( UserCloudProviderAccountLicensingPlanID, CloudProviderAccountLicensingPlanCloudProviderServiceID ) 🔍 IX_UserCloudProviderAccountLicensingPlanCloudProviderService_UserCloudProviderAccountLicensingPlanID ( UserCloudProviderAccountLicensingPlanID ) UserCloudProviderAccountLicensingPlanID⧉ UserCloudProviderAccountLicensingPlanID * bigint ↗ UserCloudProviderAccountLicensingPlanCloudProviderService( ID ) bigint🔗 References UserCloudProviderAccountLicensingPlan ( UserCloudProviderAccountLicensingPlanID -> ID ) 🔍 Unq UK_UserCloudProviderAccountLicensingPlanCloudProviderService ( UserCloudProviderAccountLicensingPlanID, CloudProviderAccountLicensingPlanCloudProviderServiceID ) 🔍 IX_UserCloudProviderAccountLicensingPlanCloudProviderService_CloudProviderAccountLicensingPlanCloudProviderServiceID ( CloudProviderAccountLicensingPlanCloudProviderServiceID ) CloudProviderAccountLicensingPlanCloudProviderServiceID⧉ CloudProviderAccountLicensingPlanCloudProviderServiceID * bigint ↗ UserCloudProviderAccountLicensingPlanCloudProviderService( ID ) bigint🔗 References CloudProviderAccountLicensingPlanCloudProviderService ( CloudProviderAccountLicensingPlanCloudProviderServiceID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got created, datetime2 CreatedGuid⧉ CreatedGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created this relation, uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation got last scanned, datetime2 LastScanGuid⧉ LastScanGuid * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan, uniqueidentifier ProvisioningStatus⧉ ProvisioningStatus * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Provider dependent provisioning status, nvarchar(50) LastUserActivityDetected⧉ LastUserActivityDetected datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Last detected user activity for this service (if supported), datetime2 UserGroupTable dbo.UserGroup ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ M:n relation between User and Group tables. 🔑 Pk PK_UserGroup ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_UserGroup_UserGroup ( UserID, GroupID ) 🔍 IX_UserGroup_User ( UserID ) UserID⧉ UserID * bigint ↗ UserGroup( ID ) bigint🔗 References User ( UserID -> ID ) 🔍 Unq IX_UserGroup_UserGroup ( UserID, GroupID ) 🔍 IX_UserGroup_Group ( GroupID ) GroupID⧉ GroupID * bigint ↗ UserGroup( ID ) bigint🔗 References Group ( GroupID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation was created in the database datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this relation was last scanned datetime2 UserImageTable dbo.UserImage ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Store thumbnail images of users 🔑 Pk PK_UserImage ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_UserImage_UserObjectGuid ( UserObjectGUID ) UserObjectGUID⧉ UserObjectGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ the objectGuid of the user, uniqueidentifier LastSync⧉ LastSync * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the image was last synchronized, datetime2 LastModification⧉ LastModification * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the image was last updated, datetime2 Image⧉ Image * varbinary(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The binary image, varbinary(max) UserMachineAffinityTable dbo.UserMachineAffinity ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Used to replicate User Device Affinity from other systems such as Microsoft SCCM. 🔑 Pk PK_UserMachineAffinity ( ID ) ID⧉ ID * bigint bigint 🔍 Unq IX_UserMachineAffinity_UK ( UserMachineAffinityProviderID, UserID, MachineID ) UserMachineAffinityProviderID⧉ UserMachineAffinityProviderID * bigint ↗ UserMachineAffinity( ID ) bigint🔗 References UserMachineAffinityProvider ( UserMachineAffinityProviderID -> ID ) 🔍 Unq IX_UserMachineAffinity_UK ( UserMachineAffinityProviderID, UserID, MachineID ) UserID⧉ UserID * bigint ↗ UserMachineAffinity( ID ) bigint🔗 References User ( UserID -> ID ) 🔍 Unq IX_UserMachineAffinity_UK ( UserMachineAffinityProviderID, UserID, MachineID ) MachineID⧉ MachineID * bigint ↗ UserMachineAffinity( ID ) bigint🔗 References Machine ( MachineID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this affinity relation got created- datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this affinity relation got last scanned- datetime2 UserMachineAffinityProviderTable dbo.UserMachineAffinityProvider ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds information about different Providers of user device affinity information 🔑 Pk PK_UserMachineAffinityProvider ( ID ) ID⧉ ID * bigint ↙ UserMachineAffinity( ID ) ↙ UserMachineAffinityProviderScanHistory( ID ) bigint🔗 Referred by UserMachineAffinity ( UserMachineAffinityProviderID -> ID ) Referred by UserMachineAffinityProviderScanHistory ( UserMachineAffinityProviderID -> ID ) DisplayName⧉ DisplayName * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Display Name of the affinity provider nvarchar(128) ProviderGUID⧉ ProviderGUID * uniqueidentifier uniqueidentifier Description⧉ Description * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Description for the affinity provider nvarchar(255) Notes⧉ Notes * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Notes nvarchar(max) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this UserMachineAffinityProvider got created datetime2 LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the last scan. On file based imports, this is the write time of the imported file. datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan that created the provider uniqueidentifier LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan. For import based scans, this is a synthetic GUID. uniqueidentifier UserMachineAffinityProviderScanHistoryTable dbo.UserMachineAffinityProviderScanHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ History for user device affinity imports 🔑 Pk PK_UserMachineAffinityProviderScanHistory ( ID ) ID⧉ ID * bigint ↗ UserMachineAffinityProviderScanHistory( ID ) ↙ UserMachineAffinityProviderScanHistory( ID ) bigint🔗 References UserMachineAffinityProviderScanHistory ( ID ) Referred by UserMachineAffinityProviderScanHistory ( ID ) UserMachineAffinityProviderID⧉ UserMachineAffinityProviderID * bigint ↗ UserMachineAffinityProviderScanHistory( ID ) bigint🔗 References UserMachineAffinityProvider ( UserMachineAffinityProviderID -> ID ) Scan⧉ Scan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the scan datetime2 Import⧉ Import * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of Import datetime2 ScanGUID⧉ ScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan uniqueidentifier Build⧉ Build * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Scanner Build Information nvarchar(255) VirtualMachineTable dbo.VirtualMachine ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds information for virtual machines.For Hyper-V specific columns see MSDN WMI Msvm_ComputerSystem class. 🔑 Pk PK_VirtualMachine ( ID ) ID⧉ ID * bigint ↙ VirtualMachineHistory( ID ) ↙ VirtualMachineMobilityHistory( ID ) bigint🔗 Referred by VirtualMachineHistory ( VirtualMachineID -> ID ) Referred by VirtualMachineMobilityHistory ( VirtualMachineID -> ID ) VirtualizationManagementSystemID⧉ VirtualizationManagementSystemID bigint bigint 🔍 IX_VirtualMachine_MachineID ( MachineID ) MachineID⧉ MachineID bigint ↗ VirtualMachine( ID ) bigint🔗 References Machine ( MachineID -> ID ) Name⧉ Name * nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the virtual machine nvarchar(128) GuestHostName⧉ GuestHostName nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The guests host name nvarchar(128) GuestHostFullyQualifiedDomainName⧉ GuestHostFullyQualifiedDomainName nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The guests fully qualified domain name. Used for guest machine to VM mapping. nvarchar(128) GuestOperatingSystem⧉ GuestOperatingSystem nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Dectected Guest operating system as seen from the hypervisor. This usually requires some guest tools to be installed in the guest operating system. nvarchar(128) GuestOperatingSystemFamily⧉ GuestOperatingSystemFamily nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Family of the detected guest operating system, nvarchar(16) 🔍 IX_VirtualMachine_HostMachineID ( HostMachineID ) HostMachineID⧉ HostMachineID bigint ↗ VirtualMachine( ID ) bigint🔗 References Machine ( HostMachineID -> ID ) Hypervisor⧉ Hypervisor * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the hypervisor, nvarchar(16) HostOperatingSystemFamily⧉ HostOperatingSystemFamily * nvarchar(16) default N'ESX' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Family of the operatingsystem the hypervisor runs on, nvarchar(16) 🔍 IX_VirtualMachine_UUID ( UUID ) UUID⧉ UUID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ A unique identifier of the vm. For VMware this is equal to the hardware serial number and used for vm to host mapping. uniqueidentifier ExtraData⧉ ExtraData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Extra data for this object (JSON) nvarchar(max) Container⧉ Container bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if the virtual machine is a container bit--more-- VirtualMachineHistoryTable dbo.VirtualMachineHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds information about the scan history of a virtual machine. Mainly used to detect frequent change of host (license mobility). 🔑 Pk PK_VirtualMachineHistory ( ID ) ID⧉ ID * bigint bigint 🔍 IX_VirtualMachineHistoryVirtualMachine ( VirtualMachineID ) VirtualMachineID⧉ VirtualMachineID * bigint ↗ VirtualMachineHistory( ID ) bigint🔗 References VirtualMachine ( VirtualMachineID -> ID ) Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this history entity got created datetime2 Scan⧉ Scan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this history entity got scanned datetime2 GuestScan⧉ GuestScan * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if update to history is caused by a guest scan bit ScanGUID⧉ ScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Uuid of the scan that created this entity uniqueidentifier MachineID⧉ MachineID bigint ↗ VirtualMachineHistory( ID ) bigint🔗 References Machine ( MachineID -> ID ) HostMachineID⧉ HostMachineID bigint ↗ VirtualMachineHistory( ID ) bigint🔗 References Machine ( HostMachineID -> ID ) VirtualCores⧉ VirtualCores bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Virtual cores at time of scan bigint MemoryMB⧉ MemoryMB bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Configured memory at time of scan bigint UsedSpace⧉ UsedSpace decimal(18,4) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Used disc space at time of scan decimal(18,4) PoweredOn⧉ PoweredOn * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ True if virtual machine was powered on during this scan bit HostChange⧉ HostChange * bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Host machine changed between prior scan and this scan bit DaysSinceLastHostChange⧉ DaysSinceLastHostChange bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Number of days since this virtual machine was last migrated from another host bigint VirtualMachineMobilityHistoryTable dbo.VirtualMachineMobilityHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ History of virtual machine to host relation changes. 🔑 Pk PK_VirtualMachineMobilityHistory ( ID ) ID⧉ ID * bigint bigint VirtualMachineID⧉ VirtualMachineID * bigint ↗ VirtualMachineMobilityHistory( ID ) bigint🔗 References VirtualMachine ( VirtualMachineID -> ID ) ChangeDate⧉ ChangeDate * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of the host change datetime2 Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the change this entity got created datetime2 MachineID⧉ MachineID bigint ↗ VirtualMachineMobilityHistory( ID ) bigint🔗 References Machine ( MachineID -> ID ) MachineName⧉ MachineName nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Redundant machine name, in case the relation to the machine via id gets deleted. nvarchar(255) NewHostMachineID⧉ NewHostMachineID bigint ↗ VirtualMachineMobilityHistory( ID ) bigint🔗 References Machine ( NewHostMachineID -> ID ) NewHostName⧉ NewHostName * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Redundant machine name, in case the relation to the machine via id gets deleted. nvarchar(255) Res1⧉ Res1 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(255) Res2⧉ Res2 nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(255) AdditionalData⧉ AdditionalData nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Reserved for future use nvarchar(max) VirtualizationManagementSystemTable dbo.VirtualizationManagementSystem ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Source system for virtualization information. For VMware: corresponds to a vCenter. 🔑 Pk PK_VirtualizationManagementSystem ( ID ) ID⧉ ID * bigint ↙ Datacenter( ID ) ↙ Machine( ID ) ↙ VirtualizationManagementSystemScanHistory( ID ) ↙ VirtualizationManagementSystemSetting( ID ) bigint🔗 Referred by Datacenter ( VirtualizationManagementSystemID -> ID ) Referred by Machine ( VirtualizationManagementSystemID -> ID ) Referred by VirtualizationManagementSystemScanHistory ( VirtualizationManagementSystemID -> ID ) Referred by VirtualizationManagementSystemSetting ( VirtualizationManagementSystemID -> ID ) Guid⧉ Guid * uniqueidentifier default newid() uniqueidentifier Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name nvarchar(255) 🔍 Unq UK_VirtualizationManagementSystem ( InstanceUUID, ServerUniqueID ) InstanceUUID⧉ InstanceUUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The unique ID of this ManagementSystem. Used to identify the source of scans and to remove objects no longer scanned.. uniqueidentifier Created⧉ Created * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this object got created datetime2 CreatedGUID⧉ CreatedGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan file that created this object uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this object got last scanned datetime2 LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the last scan file that for this object uniqueidentifier ManagementSystem⧉ ManagementSystem * nvarchar(50) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the Manament System nvarchar(50) ManagementSystemVersion⧉ ManagementSystemVersion * nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Version of the Management System nvarchar(16) 🔍 Unq UK_VirtualizationManagementSystem ( InstanceUUID, ServerUniqueID ) ServerUniqueID⧉ ServerUniqueID bigint bigint ServiceNowSysID⧉ ServiceNowSysID uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Service Now: sys_id of the replicated object uniqueidentifier ServiceNowTargetClass⧉ ServiceNowTargetClass nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Service Now: class of the replicated object nvarchar(128) ServiceNowLastExport⧉ ServiceNowLastExport datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last export to Service Now datetime2 ServiceNowLastImport⧉ ServiceNowLastImport datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last import from Service Now datetime2 VirtualizationManagementSystemScanHistoryTable dbo.VirtualizationManagementSystemScanHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Scan history per VirtualizationManagementSystem. 🔑 Pk PK_VirtualizationManagementSystemenScanHistory ( ID ) ID⧉ ID * bigint bigint VirtualizationManagementSystemID⧉ VirtualizationManagementSystemID * bigint ↗ VirtualizationManagementSystemScanHistory( ID ) bigint🔗 References VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) Scan⧉ Scan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the scan file got produced datetime2 Import⧉ Import * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time the scan file got imported datetime2 ScanGUID⧉ ScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of the scan uniqueidentifier Build⧉ Build * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Build of the scanner that generated the scan file nvarchar(64) VirtualizationManagementSystemSettingTable dbo.VirtualizationManagementSystemSetting ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Contains additional data for a virtualization management system that does not fit into the standardized table. 🔑 Pk PK_VirtualizationManagementSystemSettings ( ID ) ID⧉ ID * bigint bigint 🔍 Unq UK_VirtualizationManagementSystemSettings_1 ( VirtualizationManagementSystemID, Name ) VirtualizationManagementSystemID⧉ VirtualizationManagementSystemID * bigint ↗ VirtualizationManagementSystemSetting( ID ) bigint🔗 References VirtualizationManagementSystem ( VirtualizationManagementSystemID -> ID ) 🔍 Unq UK_VirtualizationManagementSystemSettings_1 ( VirtualizationManagementSystemID, Name ) Name⧉ Name * nvarchar(255) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the setting nvarchar(255) Value⧉ Value * nvarchar(max) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Value of the setting - string representation nvarchar(max) IntegerValue⧉ IntegerValue bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Integer representation for numeric settings bigint DateTimeValue⧉ DateTimeValue datetime ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DateTime representation for datetime settings datetime BooleanValue⧉ BooleanValue bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Boolean representation for boolean settings bit WmiClassTable dbo.WmiClass ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds a row for each unique WMI class scanned 🔑 Pk PK_WmiClass ( ID ) ID⧉ ID * bigint ↙ WmiClassProperty( ID ) ↙ WmiInstance( ID ) ↙ WmiInstanceHistory( ID ) bigint🔗 Referred by WmiClassProperty ( WmiClassID -> ID ) Referred by WmiInstance ( WmiClassID -> ID ) Referred by WmiInstanceHistory ( WmiClassID -> ID ) 🔍 Unq IX_WmiClass_Name ( Name ) Name⧉ Name * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the WMI class. See Microsoft WMI documentation. Names beginning with X_ are Octopus extension classes. nvarchar(256) Enabled⧉ Enabled * bit default 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If this flag is set to false, the import service does no longer import information for this wmi class into the database. Can be used to conserve database space if certain WMI data is not essential. bit WmiClassPropertyTable dbo.WmiClassProperty ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Holds a row for each unique property per class scanned 🔑 Pk PK_WmiClassProperty ( ID ) ID⧉ ID * bigint ↙ WmiInstanceHistoryProperty( ID ) ↙ WmiInstanceProperty( ID ) bigint🔗 Referred by WmiInstanceHistoryProperty ( WmiClassPropertyID -> ID ) Referred by WmiInstanceProperty ( WmiClassPropertyID -> ID ) 🔍 IX_WmiClassProperty_WmiClassID_WmiName ( Name, WmiClassID ) WmiClassID⧉ WmiClassID * bigint ↗ WmiClassProperty( ID ) bigint🔗 References WmiClass ( WmiClassID -> ID ) 🔍 IX_WmiClassProperty_WmiClassID_WmiName ( Name, WmiClassID ) Name⧉ Name * nvarchar(64) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the Property as defined by WMI or Octopus for Octopus extension classes nvarchar(64) Type⧉ Type * nchar(1) default N'S' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ S for String, I for Integer, B for Boolean nchar(1) Array⧉ Array * bit default 0 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ true if the property is multivalued (array) bit WmiInstanceTable dbo.WmiInstance ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Each entity is an instance of a WMI class scanned on a particular machine 🔑 Pk PK_WmiInstance ( ID ) ID⧉ ID * bigint ↗ WmiInstance( ID ) ↙ WmiInstance( ID ) ↙ WmiInstanceProperty( ID ) bigint🔗 References WmiInstance ( ID ) Referred by WmiInstance ( ID ) Referred by WmiInstanceProperty ( WmiInstanceID -> ID ) 🔍 Unq IX_WmiInstance_Guid ( Guid ) Guid⧉ Guid * uniqueidentifier default newid() uniqueidentifier 🔍 IX_WmiInstance_MachineID ( MachineID ) MachineID⧉ MachineID * bigint ↗ WmiInstance( ID ) bigint🔗 References Machine ( MachineID -> ID ) 🔍 IX_WmiInstance_ClassID ( WmiClassID ) WmiClassID⧉ WmiClassID * bigint ↗ WmiInstance( ID ) bigint🔗 References WmiClass ( WmiClassID -> ID ) InformationSourceID⧉ InformationSourceID bigint ↗ WmiInstance( ID ) bigint🔗 References InformationSource ( InformationSourceID -> ID ) Name⧉ Name * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Instance Name nvarchar(512) ImportSourceID⧉ ImportSourceID bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Id of the import module. 1 for OctoscanImportService or OctoscanImportUtil. bigint ImporterInstance⧉ ImporterInstance nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the importer Instance if multiple importers are active nvarchar(16) LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ GUID of .scan file that generated the instance information uniqueidentifier LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last scan that generated the instance information datetime2 BulkInsertID⧉ BulkInsertID bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Internal ID used for bulk insert operations bigint ServiceNowSysID⧉ ServiceNowSysID uniqueidentifier uniqueidentifier ServiceNowTargetClass⧉ ServiceNowTargetClass nvarchar(128) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Service Now: class of the replicated object nvarchar(128) ServiceNowLastExport⧉ ServiceNowLastExport datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time of last export to Service Now datetime2 ServiceNowLastImport⧉ ServiceNowLastImport datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/TIme of last import from ServiceNow datetime2 WmiInstanceHistoryTable dbo.WmiInstanceHistory ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Each entity is an instance of a WMI class scanned in a particular MachineUserHistory context. This table together with WmiInstanceHistoryProperty holds historized WMI data for each scan. See WmiInstance for description of the columns. 🔑 Pk PK_WmiInstanceHistory ( ID ) ID⧉ ID * bigint ↙ WmiInstanceHistoryProperty( ID ) bigint🔗 Referred by WmiInstanceHistoryProperty ( WmiInstanceHistoryID -> ID ) 🔍 IX_WmiInstanceHistory_MachineUserHistoryID ( MachineUserHistoryID ) MachineUserHistoryID⧉ MachineUserHistoryID * bigint ↗ WmiInstanceHistory( ID ) bigint🔗 References MachineUserHistory ( MachineUserHistoryID -> ID ) WmiClassID⧉ WmiClassID * bigint ↗ WmiInstanceHistory( ID ) bigint🔗 References WmiClass ( WmiClassID -> ID ) InformationSourceID⧉ InformationSourceID bigint ↗ WmiInstanceHistory( ID ) bigint🔗 References InformationSource ( InformationSourceID -> ID ) LastScan⧉ LastScan * datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Date/Time this instance history item was scanned datetime2 LastScanGUID⧉ LastScanGUID * uniqueidentifier ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ UUID of the scan of this history item uniqueidentifier Name⧉ Name * nvarchar(512) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Instance name nvarchar(512) ImportSourceID⧉ ImportSourceID bigint bigint ImporterInstance⧉ ImporterInstance nvarchar(16) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Name of the importer instance that created this entry nvarchar(16) BulkInsertID⧉ BulkInsertID bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Internal ID used for bulk inserts bigint WmiInstanceHistoryPropertyTable dbo.WmiInstanceHistoryProperty ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ See WmiInstanceProperty for description of the columns. 🔑 Pk PK_WmiInstanceHistoryProperty ( ID ) ID⧉ ID * bigint ↙ WmiInstanceHistoryPropertyArray( ID ) bigint🔗 Referred by WmiInstanceHistoryPropertyArray ( WmiInstanceHistoryPropertyID -> ID ) 🔍 IX_WmiInstanceHistoryProperty_WmiInstanceHistoryID ( WmiInstanceHistoryID ) WmiInstanceHistoryID⧉ WmiInstanceHistoryID * bigint ↗ WmiInstanceHistoryProperty( ID ) bigint🔗 References WmiInstanceHistory ( WmiInstanceHistoryID -> ID ) WmiClassPropertyID⧉ WmiClassPropertyID * bigint ↗ WmiInstanceHistoryProperty( ID ) bigint🔗 References WmiClassProperty ( WmiClassPropertyID -> ID ) 🔍 IX_WmiInstanceHistoryPropertyValue ( Value ) Value⧉ Value * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The value of the property nvarchar(256) IntegerValue⧉ IntegerValue bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Integer representation of the value or null. Provided for easier use in queries, for calculations etc. bigint BooleanValue⧉ BooleanValue bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Boolean representation of the value or null. Provided for easier use in queries, for calculations etc. bigint DateTimeValue⧉ DateTimeValue datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DateTime representation of the value or null. Provided for easier use in queries, for calculations etc. datetime2 WmiInstanceHistoryPropertyArrayTable dbo.WmiInstanceHistoryPropertyArray ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For multi-valued (array) properties, each entity is an item in the array. 🔑 Pk PK_WmiInstanceHistoryPropertyArray ( ID ) ID⧉ ID * bigint bigint 🔍 IX_WmiInstanceHistoryPropertyArray_WmiInstanceHistoryPropertyID ( WmiInstanceHistoryPropertyID ) WmiInstanceHistoryPropertyID⧉ WmiInstanceHistoryPropertyID * bigint ↗ WmiInstanceHistoryPropertyArray( ID ) bigint🔗 References WmiInstanceHistoryProperty ( WmiInstanceHistoryPropertyID -> ID ) Sequence⧉ Sequence * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the relative order within the array bigint Value⧉ Value * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The value of the item nvarchar(256) IntegerValue⧉ IntegerValue bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If the property is an array of numeric values, this contains an integer representation for easier querying and calculations. bigint WmiInstancePropertyTable dbo.WmiInstanceProperty ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Each entity is a property scanned for a particular instance of a WMI class per machine. 🔑 Pk PK_WmiInstanceProperty ( ID ) ID⧉ ID * bigint ↙ WmiInstancePropertyArray( ID ) bigint🔗 Referred by WmiInstancePropertyArray ( WmiInstancePropertyID -> ID ) 🔍 IX_WmiInstanceProperty_CombinedIndex ( WmiInstanceID, WmiClassPropertyID ) 🔍 IX_WmiInstanceProperty_WmiInstanceID ( WmiInstanceID ) WmiInstanceID⧉ WmiInstanceID * bigint ↗ WmiInstanceProperty( ID ) bigint🔗 References WmiInstance ( WmiInstanceID -> ID ) 🔍 IX_WmiInstanceProperty_CombinedIndex ( WmiInstanceID, WmiClassPropertyID ) 🔍 IX_WmiInstanceProperty_WmiClassPropertyID ( WmiClassPropertyID ) WmiClassPropertyID⧉ WmiClassPropertyID * bigint ↗ WmiInstanceProperty( ID ) bigint🔗 References WmiClassProperty ( WmiClassPropertyID -> ID ) 🔍 IX_WmiInstanceProperty_Value ( Value ) Value⧉ Value * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ String representation of the value. This column is always filled with a string representation. nvarchar(256) IntegerValue⧉ IntegerValue bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Integer representation of the value or null. Provided for easier use in queries, for calculations etc. bigint BooleanValue⧉ BooleanValue bit ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Boolean representation of the value or null. Provided for easier use in queries. bit DateTimeValue⧉ DateTimeValue datetime2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ DateTime representation of the value or null. Provided for easier use in queries, DateTime calculations etc. datetime2 WmiInstancePropertyArrayTable dbo.WmiInstancePropertyArray ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ For WMI multi-valued (array) properties, each entity is an item in the array. 🔑 Pk PK_WmiInstancePropertyArray ( ID ) ID⧉ ID * bigint bigint 🔍 IX_WmiInstancePropertyArray_WmiInstancePropertyID ( WmiInstancePropertyID ) WmiInstancePropertyID⧉ WmiInstancePropertyID * bigint ↗ WmiInstancePropertyArray( ID ) bigint🔗 References WmiInstanceProperty ( WmiInstancePropertyID -> ID ) Sequence⧉ Sequence * bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Specifies the relative order within the array bigint Value⧉ Value * nvarchar(256) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The value of the item nvarchar(256) IntegerValue⧉ IntegerValue bigint ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ If the property is an array of numeric values, this contains an integer representation for easier querying. bigint




Table Annotation

Annotations can be used to store user-defined attributes of a source system with any OctoSAM entity. Not to be used to store system defined attributes of source systems (extend the schema to hold such attributes). Annotations are not used for internal data logic within OctoSAM, but can be referenced in custom queries and reports.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* AnnotationClassID bigint
* Type nvarchar(3) S for strings, I for numbers, M for Money, B for boolean values, D for dates, C for lookup codes
* Name nvarchar(64) Name of the annotation
* Description nvarchar(max) Description
  Regex nvarchar(265) For annotations that can be edited through the GUI, a regular expression that specifies acceptable values.
  MaxValue decimal(18,2) For Annotations that can be edited through the GUI the Max Value that can be entered
  MinValue decimal(18,2) For Annotations that can be edited through the GUI the Max Value that can be entered
* Hyperlink bit DEFAULT 0 If true, value of the field should be rendered as Hyperlink
* MultiSelect bit DEFAULT 0 For code Annotations, true if multiple codes can be selected
* MultiLine bit DEFAULT 0 If true, the text field supports multiple lines
* Visible bit DEFAULT 1 Select if this annotation should be initially visible in queries that reference annotations
* VisibleInColumnChooser bit DEFAULT 1 Select if this annotation should be visible in the column chooser in queries that reference annotations. If false and Visible is also false, that annotation will not be displayed in queries.
* LastModification datetime2 Date/Time this entity was last mondified
* LastModifiedBy nvarchar(128) DEFAULT '' User that last modified this annotation
* Created datetime2 Date/Time this entity was created
* CreatedGUID uniqueidentifier GUID of the scan file that created this annotation
* SortOrder int DEFAULT 0 Sort Order of Annotations of the same Class
  Section nvarchar(64) Optional section name if a dialog or webpage supports multiple sections of extended attributes
  DefaultValue nvarchar(max) Optional default value
  DefaultDecimalValue decimal(18,2) Optional default value for numeric annotations
* WebVisible bit DEFAULT 1 Visibility of this annotation in web grids
* CurrencyVisible bit DEFAULT 1 Default visibility of the currency column for Money fields. Allows to hide the Currency column even though the Money column is visible
Indexes
PK_Annotation Primary Key ON ID
IX_Annotation_AnnotationClassID_Name Unique Index ON AnnotationClassID, Name
Foreign Key
FK_Annotation_AnnotationClass AnnotationClassID ↗ ❏ AnnotationClass(ID)
Referring Foreign Key
FK_AnnotationLabel_Annotation ID ↙ ❏ AnnotationLabel(AnnotationID)
FK_AnnotationProperty_Annotation ID ↙ ❏ AnnotationProperty(AnnotationID)


Table AnnotationClass

Provides a namespace mechanism to prevent clashes of Annotation names, especially if they are generated from other systems where we cannot control the naming. For example VMWare provides a mechanism for custom attributes that we replicate.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier A uniqe identifier set by the creator of the annotation. Cannot be changed after creation (Name can be changed). Use the GUID in combination with AnnotatedObjectName when referencing annotations in custom queries.
* Name nvarchar(128) Name of the annotation class
* Created datetime2 Date/Time the class was created
* AnnotatedObjectName nvarchar(128) Name of the annotated object (table)
* DefaultVisible bit DEFAULT 1 Default visibility in grids for new annotations of this class
* DefaultVisibleInColumnChooser bit DEFAULT 1 Default visibility in grids column chooser for new annotations of this class
Indexes
PK_AnnotationClass Primary Key ON ID
IX_AnnotationClass_AnnotatedObject_GUID Unique Index ON Guid, AnnotatedObjectName
IX_AnnotationClass_AnnotatedObject_Name Unique Index ON Name, AnnotatedObjectName
Referring Foreign Key
FK_Annotation_AnnotationClass ID ↙ ❏ Annotation(AnnotationClassID)


Table AnnotationCode

Lookup codes for annotations, can be used to provide a list of options for an annotation.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* AnnotationID bigint
* Value nvarchar(50) Annotation code value
Indexes
PK_AnnotationSelectCode Primary Key ON ID
Referring Foreign Key
FK_AnnotationCodeDisplayName_AnnotationCode ID ↙ ❏ AnnotationCodeLocalizedDisplayName(AnnotationCodeID)
FK_AnnotationPropertyAnnotationCode_AnnotationCode ID ↙ ❏ AnnotationPropertyAnnotationCode(AnnotationCodeID)


Table AnnotationCodeLocalizedDisplayName

Localized names of annotation codes.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* AnnotationCodeID bigint
* LanguageID bigint
* DisplayName nvarchar(128) Localized display name of the code
Indexes
PK_AnnotationCodeDisplayName Primary Key ON ID
IX_AnnotationCodeLocalizedDisplayName_Annotation_Language Unique Index ON AnnotationCodeID, LanguageID
Foreign Key
FK_AnnotationCodeDisplayName_AnnotationCode AnnotationCodeID ↗ ❏ AnnotationCode(ID)
FK_AnnotationCodeDisplayName_Language LanguageID ↗ ❏ Language(ID)


Table AnnotationLabel

Language specific labels and other text resources per annotation.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* AnnotationID bigint
* LanguageID bigint
* Type nvarchar(3) DEFAULT 'L' Type of Label. 'L' for labels, 'T' for tooltips
* Text nvarchar(max) Text. Depending on the usage, the text can contain HTML formatting.
Indexes
PK_AnnotationLabel Primary Key ON ID
IX_AnnotationLabel_Annotation_Language_Type Unique Index ON AnnotationID, LanguageID, Type
Foreign Key
FK_AnnotationLabel_Annotation AnnotationID ↗ ❏ Annotation(ID)
FK_AnnotationLabel_Language LanguageID ↗ ❏ Language(ID)


Table AnnotationProperty

Keeps per instance storage of annotation.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* AnnotationID bigint
* AnnotatedObjectID bigint ID of the original item the annotation extends
* Value nvarchar(max) Value in string representation. Must be given for all value types
  DecimalValue decimal(18,2) Decimal representation of the value for numeric data
  BooleanValue bit Boolean representation of the value for boolean data
* Created datetime2 Date/Time this property was created
* CreatedGUID uniqueidentifier GUID of the scan file that created this property
* LastModification datetime2 Date/Time this property was last modified (typically this is the import time)
* LastModifiedBy nvarchar(128) DEFAULT '' User that last modified this property for properties that are maintained through UI interaction (Extended Attributes)
  LastScan datetime2 Date/Time this property was last scanned
  LastScanGUID uniqueidentifier GUID of the last scan file
CurrencyID bigint
Indexes
PK_AnnotationProperty Primary Key ON ID
IX_AnnotationProperty_AnnotatedObjectID Index ON AnnotatedObjectID
IX_AnnotationProperty_AnnotationID Index ON AnnotationID
Foreign Key
FK_AnnotationProperty_Annotation AnnotationID ↗ ❏ Annotation(ID)
FK_AnnotationProperty_Currency CurrencyID ↗ ❏ Currency(ID)
Referring Foreign Key
FK_AnnotationPropertyAnnotationCode_AnnotationProperty ID ↙ ❏ AnnotationPropertyAnnotationCode(AnnotationPropertyID)


Table AnnotationPropertyAnnotationCode

N:m relation for annotation properties that can have multiple values (multi select).

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* AnnotationPropertyID bigint
* AnnotationCodeID bigint
Indexes
PK_AnnotationPropertyAnnotationCode Primary Key ON ID
IX_AnnotationPropertyAnnotationCode_UniqueSelection Unique Key ON AnnotationCodeID, AnnotationPropertyID
IX_AnnotationPropertyAnnotationCode_AnnotationProperty Index ON AnnotationPropertyID
Foreign Key
FK_AnnotationPropertyAnnotationCode_AnnotationCode AnnotationCodeID ↗ ❏ AnnotationCode(ID)
FK_AnnotationPropertyAnnotationCode_AnnotationProperty AnnotationPropertyID ↗ ❏ AnnotationProperty(ID)


Table ApplicationLog

Used by various OctoSAM components to write log messages.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* TimeStamp datetime2 Date/Time this log entry was created
* Message nvarchar(255) Log message
* UserName nvarchar(255) Client user ID of the process that generated the log message
Indexes
PK_ApplicationLog Primary Key ON ID


Table AuditDetail

Application audit table for entities that are manually maintained.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* AuditObjectID bigint
* ObjectGuid uniqueidentifier The Guid of the audited object
* ObjectDisplayName nvarchar(128) The display name for the audited object. This name can change during the lifetime of the object.
* Operation nvarchar(16) Audited operation
* User nvarchar(128) User that performed the operation
* ChangeSet nvarchar(max) A json document that contains the changed attributes and values
* Info nvarchar(max) A json document that may contain additional information about the audit
* Created datetime2 Date/Time the audit was created
Indexes
PK_AuditLog Primary Key ON ID
IX_AuditDetail_Created Index ON Created
IX_AuditDetail_ObjectGuid Index ON ObjectGuid
Foreign Key
FK_AuditDetail_AuditObject AuditObjectID ↗ ❏ AuditObject(ID)


Table AuditObject

Lookup table for audit objects.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(128) Name of the audited object
* Created datetime2 Date/Time the item got created
Indexes
PK_AuditObject Primary Key ON ID
IX_AuditObject_Name Unique Key ON Name
Referring Foreign Key
FK_AuditDetail_AuditObject ID ↙ ❏ AuditDetail(AuditObjectID)


Table AutoStartType

Lookup table for auto start configuration types.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OctopusID nvarchar(50) COLLATE Latin1_General_CI_AS OctoSAM internal ID
* Name nvarchar(255) COLLATE Latin1_General_CI_AS AutoStart type name
* Created datetime2 Date/Time this item was created
Indexes
PK_AutoStartType Primary Key ON ID
Referring Foreign Key
FK_MachineAutoStart_AutoStartType ID ↙ ❏ MachineAutoStart(AutoStartTypeID)
FK_MachineUserAutoStart_AutoStartType ID ↙ ❏ MachineUserAutoStart(AutoStartTypeID)


Table CatalogUpdateLog

Information about OctoSAM catalog updates and statistics sent to the central update service. The table also keeps a license history and log statistics used for java consolidation projects.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Created datetime2 Date/time this record was created
* Machine nvarchar(50) Name of machine where the update was executed. Usually the OctoSAM Server machine name.
* MachineCount bigint Number of machines in the inventory at time of update
* UserCount bigint Number of users in the inventory at time of update
* InstallationGuid uniqueidentifier Installation Guid at time of update
* LicenseUnits bigint Number of license units at time of update
* LicenseGraceUnits bigint Number of license grace units
* LicenseOptions nvarchar(512) License Options at time of the update
* DisplayVersion nvarchar(50) OctoSAM display version that did the update
* BuildVersion nvarchar(50) OctoSAM build version that did the update
* BuildDate datetime2 OctoSAM build date that did the update
* LicenseValidThrough datetime2 License Valid Through Date
* LicenseReadonlyAfter datetime2 License read-only date
* LastCatalogUpdate datetime2 Date the catalog was last updated
* CatalogUpdateStatus nvarchar(16) Status returned by the central update service
* CatalogUpdateFileName nvarchar(255) File name of the used catalog update file
* ErrorsLast24Hrs bigint Total Number of errors encountered in the last 24 hours
* IncompleteScanFileErrorsLast24Hrs bigint DEFAULT 0 Number of incomplete scan file errors in the last 24 hours
* LicenseManagerServerErrorsLast24Hrs bigint DEFAULT 0 Number of license manager server errors in the last 24 hours
* WarningsLast24Hrs bigint Number of warnings encountered in the last 24 hours
* ImportsLast24Hrs bigint Number of imported files in the last 24 hours
* CatalogConflicts bigint Number of conflicts encountered during catalog update
* ServerCount bigint DEFAULT 0 Number of machines with a server operating system
* LicenseServerUnits bigint DEFAULT 0 Number of server license units
* MachinesDeletedInDirectory bigint DEFAULT 0 Number of machines that are are found as deleted in active directory
* ServersDeletedInDirectory bigint DEFAULT 0 Number of machines with a server operating system that are found as deleted in active directory
* MacMachineCount bigint DEFAULT 0 Number of Macs
* EsxMachineCount bigint DEFAULT 0 Number of Esx machines
* LinuxMachineCount bigint DEFAULT 0 Number of Linux machines
* WindowsWorkstationCount bigint DEFAULT 0 Number of Windows workstations
* WindowsServerCount bigint DEFAULT 0 Number of Windows servers
* JavaPackages bigint DEFAULT 0 Number of different Java software packages
* JavaInstallations bigint DEFAULT 0 Total number of found Java installations
* LicensingRelevantJavaInstallations bigint DEFAULT 0 Number of found Java installations that require an Oracle license (based on version)
* ApprovedJavaInstallations bigint DEFAULT 0 Number of approved Java installations that require an Oracle license
* OracleJavaMsiInstallations bigint DEFAULT 0 Number of found Oracle Java installations that seem to have used a commercial .MSI installation that requires an Oracle license.
* ScannerErrorsLast24Hrs bigint DEFAULT 0 Number of scanner errors encountered in the last 24 hrs
* ScannerWarningsLast24Hrs bigint DEFAULT 0 Number of scanner warnings encountered in the last 24 hrs
Indexes
PK_CatalogUpdateLog Primary Key ON ID


Table CloudApp

Cloud Application 

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudProviderAccountID bigint
* Name nvarchar(50) COLLATE Latin1_General_CI_AS Name of the application
* LastScan datetime2 Date/Time this application got last scanned
* Created datetime2 Date/Time this entity got created
Indexes
PK_CloudApp Primary Key ON ID
Foreign Key
FK_CloudApp_CloudProviderAccount CloudProviderAccountID ↗ ❏ CloudProviderAccount(ID)
Referring Foreign Key
FK_CloudAppUsage_CloudApp ID ↙ ❏ CloudAppUsage(CloudAppID)


Table CloudAppUsage
IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudAppID bigint
* CloudUserID bigint
* Date date Usage date as reported by the cloud system
Indexes
PK_CloudAppUsage Primary Key ON ID
IX_CloudAppUsage_Unique Unique Index ON CloudUserID, CloudAppID, Date
Foreign Key
FK_CloudAppUsage_CloudApp CloudAppID ↗ ❏ CloudApp(ID)
FK_CloudAppUsage_CloudUser CloudUserID ↗ ❏ CloudUser(ID)


Table CloudProvider

Cloud provider information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OctopusID nvarchar(50) OctoSAM internal name
* Name nvarchar(128) Cloud provider name
* Created datetime2 Date/Time this entity got created
Indexes
PK_CloudProvider Primary Key ON ID
Referring Foreign Key
FK_CloudProviderAccount_CloudProvider ID ↙ ❏ CloudProviderAccount(CloudProviderID)
FK_CloudProviderService_CloudProvider ID ↙ ❏ CloudProviderService(CloudProviderID)
FK_MailboxProvider_CloudProvider ID ↙ ❏ MailboxProvider(CloudProviderID)


Table CloudProviderAccount

Cloud provider specific account.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudProviderID bigint
* Name nvarchar(128) Cloud provider account name
* Created datetime2 Date/Time this account record got created
* CreatedGuid uniqueidentifier GUID of the scan that created the account record
* LastScan datetime2 Date/Time this account got last scanned
* LastScanGuid uniqueidentifier GUID of the last scan
  EntraIdTenantId uniqueidentifier Entra ID tenant id
Indexes
PK_CloudProviderAccount Primary Key ON ID
Foreign Key
FK_CloudProviderAccount_CloudProvider CloudProviderID ↗ ❏ CloudProvider(ID)
Referring Foreign Key
FK_CloutProviderAccountLicensingPlang_CloudProviderAccount ID ↙ ❏ CloudProviderAccountLicensingPlan(CloudProviderAccountID)
FK_CloudProviderAccountScanHistory_CloudProviderAccount ID ↙ ❏ CloudProviderAccountScanHistory(CloudProviderAccountID)
FK_EntraIdMissingDevice_CloudProviderAccount ID ↙ ❏ EntraIdMissingDevice(CloudProviderAccountID)
FK_Machine_CloudProviderAccount ID ↙ ❏ Machine(CloudProviderAccountID)
FK_User_CloudProviderAccount ID ↙ ❏ User(CloudProviderAccountID)
FK_CloudApp_CloudProviderAccount ID ↙ ❏ CloudApp(CloudProviderAccountID)
FK_CloudUser_CloudProviderAccount ID ↙ ❏ CloudUser(CloudProviderAccountID)
FK_EntraIdMissingUser_CloudProviderAccount ID ↙ ❏ EntraIdMissingUser(CloudProviderAccountID)


Table CloudProviderAccountLicensingPlan

Cloud provider licensing plan information

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudProviderAccountID bigint
* Sku nvarchar(128) SKU of the licensing plan
* FriendlyName nvarchar(255) Friendly name, code translation from the SKU if available, SKU otherwise
* ActiveUnits bigint Number of active license units
* ConsumedUnits bigint Number of license units consumed
* WarningUnits bigint Number of license units that are in warning state
* LockedOutUnits bigint Number of locked out license units
* Created datetime2 Date/Time this record got created
* CreatedGuid uniqueidentifier GUID of the scan that created this record
* LastScan datetime2 Date/Time this account licensing plan got last scanned
* LastScanGuid uniqueidentifier GUID of the last scan
Indexes
PK_CloutProviderAccountLicensingPlang Primary Key ON ID
Foreign Key
FK_CloutProviderAccountLicensingPlang_CloudProviderAccount CloudProviderAccountID ↗ ❏ CloudProviderAccount(ID)
Referring Foreign Key
FK_UserCloudProviderAccountLicensingPlan_CloudProviderAccountLicensingPlan ID ↙ ❏ UserCloudProviderAccountLicensingPlan(CloudProviderAccountLicensingPlanID)
FK_CloudProviderAccountLicensingPlanHistory_CloudProviderAccountLicensingPlan ID ↙ ❏ CloudProviderAccountLicensingPlanHistory(CloudProviderAccountLicensingPlanID)


Table CloudProviderAccountLicensingPlanCloudProviderService

N:m relation between licensing plan and service.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudProviderAccountLicensingPlanID bigint
* CloudProviderServiceID bigint
* ProvisioningStatus nvarchar(50) Provider dependend provisioning state
* Created datetime2 Date/Time this record got created
* CreatedGuid uniqueidentifier GUID of the scan that created this record
* LastScan datetime2 Date/Time this relation got last scanned
* LastScanGuid uniqueidentifier GUID of the scan that last scanned this relation
Indexes
PK_CloudProviderAccountLicensingPlanCloudProviderService Primary Key ON ID
Foreign Key
FK_CloudProviderAccountLicensingPlanCloudProviderService_CloudProviderService CloudProviderServiceID ↗ ❏ CloudProviderService(ID)
Referring Foreign Key
FK_UserCloudProviderAccountLicensingPlanCloudProviderService_CloudProviderAccountLicensingPlanCloudProviderService ID ↙ ❏ UserCloudProviderAccountLicensingPlanCloudProviderService(CloudProviderAccountLicensingPlanCloudProviderServiceID)


Table CloudProviderAccountLicensingPlanHistory

Licensing Plan history information

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudProviderAccountLicensingPlanID bigint
* Date date Date of the history record
* Created datetime2 Date/Time the history record got created
* ActiveUnits bigint Number of active licensing units
* ConsumedUnits bigint Number of consumed licensing units
* WarningUnits bigint Number of licensing units that are in warning state
* LockedOutUnits bigint Number of locked-out licensing units
* ScanGuid uniqueidentifier
Indexes
PK_CloudProviderAccountLicensingPlanHistory Primary Key ON ID
IX_CloudProviderAccountLicensingPlanHistory_CloudProviderAccountLicensingPlanID Index ON CloudProviderAccountLicensingPlanID
IX_CloudProviderAccountLicensingPlanHistory_Created Index ON Created
Foreign Key
FK_CloudProviderAccountLicensingPlanHistory_CloudProviderAccountLicensingPlan CloudProviderAccountLicensingPlanID ↗ ❏ CloudProviderAccountLicensingPlan(ID)


Table CloudProviderAccountScanHistory

Cloud scan history information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudProviderAccountID bigint
* Scan datetime2 Date/TIme of the scan
* Import datetime2 Date/Time the scanfile got imported
* ScanGUID uniqueidentifier GUID of the scan file
* Build nvarchar(65) Build of the scanner that produced the scan file
Indexes
PK_CloudProviderAccountScanHistory Primary Key ON ID
Foreign Key
FK_CloudProviderAccountScanHistory_CloudProviderAccount CloudProviderAccountID ↗ ❏ CloudProviderAccount(ID)


Table CloudProviderService

Cloud service information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudProviderID bigint
* Sku nvarchar(128) SKU of the service,
* FriendlyName nvarchar(255) Friendly name of the service if available by code translation, SKU otherwise
* TargetClass nvarchar(50) DEFAULT '' Target class of the service
Indexes
PK_CloudProviderService Primary Key ON ID
Foreign Key
FK_CloudProviderService_CloudProvider CloudProviderID ↗ ❏ CloudProvider(ID)
Referring Foreign Key
FK_CloudProviderAccountLicensingPlanCloudProviderService_CloudProviderService ID ↙ ❏ CloudProviderAccountLicensingPlanCloudProviderService(CloudProviderServiceID)


Table CloudUser

Provider specific cloud user information

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudProviderAccountID bigint
* UserID bigint
* LastActivationDate datetime2 Last activation date of the user as reported by the cloud provider
* LastActivityDate datetime2 Last activity date of the user as reported by the cloud provider
* LastScan datetime2 Last activity scan of this cloud user 
* Created datetime2 Date/Time this cloud user object got created
Indexes
PK_CloudUser Primary Key ON ID
IX_CloudUser_UserID Index ON UserID
Foreign Key
FK_CloudUser_CloudProviderAccount CloudProviderAccountID ↗ ❏ CloudProviderAccount(ID)
FK_CloudUser_User UserID ↗ ❏ User(ID)
Referring Foreign Key
FK_CloudAppUsage_CloudUser ID ↙ ❏ CloudAppUsage(CloudUserID)


Table Cluster

Cluster information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier DEFAULT newid()
* Name nvarchar(255) Cluster name. 
* Description nvarchar(255) Cluster description
* Created datetime2 Date/Time the cluster object got created in the database
* CreatedGUID uniqueidentifier GUID of the scan file that created the cluster object in the database
* ClusterTypeID bigint
DatacenterID bigint
  MoRef nvarchar(128) For VMware clusters, contains the managed object ID (relative to vCenter).
* LastScan datetime2 Date/Time time the cluster got scanned last
* LastScanGuid uniqueidentifier GUID of the last scan file that contained information about this cluster
  AnalysisExtras xml Holds additional analysis data
  ServiceNowSysID uniqueidentifier Service Now: sys_id of replicated object
  ServiceNowTargetClass nvarchar(128) Service Now: class of replicated object
  ServiceNowLastExport datetime2 Date/Time of last export to Service Now
  ServiceNowLastImport datetime2 Date/Time of last import from Service Now
Indexes
PK_Cluster Primary Key ON ID
Foreign Key
FK_Cluster_ClusterType ClusterTypeID ↗ ❏ ClusterType(ID)
FK_Cluster_Datacenter DatacenterID ↗ ❏ Datacenter(ID)
Referring Foreign Key
FK_MachineCluster_Cluster ID ↙ ❏ MachineCluster(ClusterID)


Table ClusterType

Lookup table for cluster types.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OctopusID nvarchar(16) Internal ID of this cluster type. Used by OctoSAM to identify cluster types.
* Name nvarchar(50) Cluster type name to show in the UI
* Description nvarchar(200) Cluster type description
Indexes
PK_ClusterType Primary Key ON ID
Referring Foreign Key
FK_Cluster_ClusterType ID ↙ ❏ Cluster(ClusterTypeID)


Table Code

Used to translate various encoded values into clear text. An example of codes are numeric WMI status values.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CodeClassID bigint
* Key nvarchar(255) COLLATE Latin1_General_CI_AS Name used to reference the code from applications and queries
* Value nvarchar(max) COLLATE Latin1_General_CI_AS Translated code value, useually a friendly name for the code.
Indexes
PK_Code Primary Key ON ID
IX_Code_UniqueKey Index ON CodeClassID, Key
Foreign Key
FK_Code_CodeClass CodeClassID ↗ ❏ CodeClass(ID)


Table CodeClass

Used to translate various encoded values into clear text.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(128) Code Class Name used to reference the code class from OctoSAM application and queries
Indexes
PK_CodeToClearTextSection Primary Key ON ID
Referring Foreign Key
FK_Code_CodeClass ID ↙ ❏ Code(CodeClassID)


Table ConfigurationInformation

Holds internal configuration information for various OctoSAM components

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(64) Name of the configuration parameter
* Value nvarchar(max) Value of the configuration parameter as string. Note that some configuration values cannot be represented in string form. 
* LastModification datetime2 Last modification of this configruation parameter
  XmlValue xml Configuration value of type XML document 
  BlobValue varbinary(max) Binary configuration value
  DateTimeValue datetime2 For date/time values, holds the information in database internal format (in addition to the string format in the Value column). This facilitates usage of the value in SQL.
  JsonValue nvarchar(max) Configuration value of type JSON element
Indexes
PK_ConfigurationInformation Primary Key ON ID
IX_ConfigurationInformation Index ON Name


Table ConnectedSystem

Records data about systems connected to OctoSAM

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* ConnectedSystemTypeID bigint
* Name nvarchar(128) Name of the connected system
  Guid uniqueidentifier Guid of the connected system, as provided by the scanner or import logic
* Description nvarchar(max) Description of the connected system
* Created datetime2 Date/Time this entity got created
* LastScan datetime2 Date/Time the connected system got last scanned
  Res1 nvarchar(50) Reserved for future use
  Res2 nvarchar(50) Reserved for future use
  AdditionalData nvarchar(max) Optionally contains JSON formatted additional information about the system
Indexes
PK_ConnectedSystem Primary Key ON ID
Foreign Key
FK_ConnectedSystem_ConnectedSystemType ConnectedSystemTypeID ↗ ❏ ConnectedSystemType(ID)
Referring Foreign Key
FK_ConnectedSystemHistory_ConnectedSystem ID ↙ ❏ ConnectedSystemHistory(ConnectedSystemID)


Table ConnectedSystemHistory

History about connected systems. This table is used to control and diagnose connections to systems such as ServiceNow, vCenter etc.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* ConnectedSystemID bigint
* Scan datetime2 Date/Time of the scan
  Users bigint User count for this scan if provided by the partner system
  Machines bigint Machine count for this scan if provided by the partner system
  VirtualMachines bigint Virtual machine count for this scan if provided by the partner system
  Groups bigint Group count for this scan if provided by the partner system
  Clusters bigint Cluster count for this scan if provided by the partner system
  AdditionalData nvarchar(max) Additional data for this scan in JSON format
* Items bigint Total number of items for this scan
* Warnings bigint Warnings during import of this scan
* Errors bigint Errors during import of this scan
* ImportDurationMillis bigint Duratioon of the imoprt operation
  ScanDurationMillis bigint Duration of the scan operation if provided by the partner system scanner / interface
  ScanGuid uniqueidentifier Guid of the scan that created this item if available
  Filename nvarchar(255) Filename of the import if available
Indexes
PK_ConnectedSystemHistory Primary Key ON ID
IX_ConnectedSystemHistory_ConnectedSystem Index ON ConnectedSystemID
IX_ConnectedSystemHistory_Scan Index ON Scan
Foreign Key
FK_ConnectedSystemHistory_ConnectedSystem ConnectedSystemID ↗ ❏ ConnectedSystem(ID)


Table ConnectedSystemType

Lookup table for connected system types.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(50) Connected system type
* OctopusID nvarchar(50) Internal program Id
* Created datetime2 Date/Time this entity got created
Indexes
PK_ConnectedSystemType Primary Key ON ID
Referring Foreign Key
FK_ConnectedSystem_ConnectedSystemType ID ↙ ❏ ConnectedSystem(ConnectedSystemTypeID)


Table CostCenter
IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(50) COLLATE Latin1_General_CI_AS Name of the cost center
* Descripton nvarchar(512) COLLATE Latin1_General_CI_AS Description of the cost center
* Created datetime2 DEFAULT getdate() Date/Time this record was created
  ExtraData nvarchar(max) COLLATE Latin1_General_CI_AS Reserved for future use
  CustomField1 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data for this machine, not used by OctoSAM Inventory.
  CustomField2 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data for this machine, not used by OctoSAM Inventory.
  CustomField3 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data for this machine, not used by OctoSAM Inventory.
  CustomField4 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data for this machine, not used by OctoSAM Inventory.
Indexes
PK_CostCenter Primary Key ON ID


Table Currency

Lookup table for currencies.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(50) International currency name
Indexes
PK_Currency Primary Key ON ID
Referring Foreign Key
FK_AnnotationProperty_Currency ID ↙ ❏ AnnotationProperty(CurrencyID)
FK_SoftwareItem_InitialCostCurrency ID ↙ ❏ SoftwareItem(InitialCostCurrencyID)
FK_SoftwareItem_RecurringCostCurrency ID ↙ ❏ SoftwareItem(RecurringCostCurrencyID)


Table Datacenter

For VMware virtualization: holds vSphere datacenter information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier DEFAULT newid()
* Name nvarchar(255) Name of the datacenter
* Notes nvarchar(max) Notes
* Created datetime2 Date/Time this datacenter object was created in the database
* CreatedGUID uniqueidentifier GUID of the scan file that created this datacenter
* LastScan datetime Date/Time this datacenter got scanned last
* LastScanGUID uniqueidentifier GUID of the last scan file for this datacenter
* MoRef nvarchar(128) VMWare managed object ID of this datacenter, relative to VCenter - or VirtualizationManagementSystem in the database.
* VirtualizationManagementSystemID bigint
  ServiceNowSysID uniqueidentifier Service Now: sys_id of the replicated object
  ServiceNowTargetClass nvarchar(128) Service Now: class of the replicated object
  ServiceNowLastExport datetime2 Date/Time of last export to Service Now
  ServiceNowLastImport datetime2 Date/Time of last import from Service Now
Indexes
PK_Datacenter Primary Key ON ID
Foreign Key
FK_Datacenter_VirtualizationManagementSystem VirtualizationManagementSystemID ↗ ❏ VirtualizationManagementSystem(ID)
Referring Foreign Key
FK_Cluster_Datacenter ID ↙ ❏ Cluster(DatacenterID)
FK_VirtualMachine_Datacenter ID ↙ ❏ VirtualMachine(DatacenterID)


Table DirectoryMissingMachine

Machines that are in Active Directory but not in the OctoSAM Inventory database. Used to diagnose missing scanner invocation policies.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OrganizationID bigint
* Name nvarchar(64) Machine name
* DomainName nvarchar(64) NETBIOS domain name as specified in the import service configuration
* PrintableName nvarchar(128) Combined attributes to use for display and reports
* Path nvarchar(255) Distinguished name of this machine in Active Directory
* ContainerPath nvarchar(255) Distinguished name of the container of this machine. Provided for grouping and export 
* Description nvarchar(255) Description attribute from Active Directory
* Location nvarchar(255) Location attribute from Active Directory
* LastLogonTimestamp datetime2 LastLogonTimestam attribute from Active Directory
* UserAccountControl bigint UserAccountControl attribute from Active Directory
* OperatingSystem nvarchar(50) OperatingSystem attribute from Active Directory
* OperatingSystemVersion nvarchar(32) OperatingSystemVersion attribute from Active Directory
* OperatingSystemServicePack nvarchar(32) OperatingSystemServicePack attribute from Active Directory
  OperatingSystemServer bit True if a server operating system was detected
  OperatingSystemPublisher nvarchar(128) Publisher of the OS. Denormalized from SoftwarePublisher.Name
  OperatingSystemFamily nvarchar(16) A short name for the operating system family. WIN for Windows, Linux for Linux, ESX for Vmware ESX etc.
* Disabled bit True if UserAccountControl has the computer account disabled flag set
* Source nvarchar(255) Source from where this computer object was read. Refers to import service configuration.
* Checked datetime2 Date/Time this machine was last checked from Active Directory with the database
  Ext1 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  Ext2 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  Ext3 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  Ext4 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  ExtensionAttribute1 nvarchar(255) From Active Directory
  ExtensionAttribute2 nvarchar(255) From Active Directory
  ExtensionAttribute3 nvarchar(255) From Active Directory
  ExtensionAttribute4 nvarchar(255) From Active Directory
  ExtensionAttribute5 nvarchar(255) From Active Directory
  ExtensionAttribute6 nvarchar(255) From Active Directory
  ExtensionAttribute7 nvarchar(255) From Active Directory
  ExtensionAttribute8 nvarchar(255) From Active Directory
  ExtensionAttribute9 nvarchar(255) From Active Directory
  ExtensionAttribute10 nvarchar(255) From Active Directory
  ExtensionAttribute11 nvarchar(255) From Active Directory
  ExtensionAttribute12 nvarchar(255) From Active Directory
  ExtensionAttribute13 nvarchar(255) From Active Directory
  ExtensionAttribute14 nvarchar(255) From Active Directory
  ExtensionAttribute15 nvarchar(255) From Active Directory
  WhenCreated datetime2 From Active Directory
  WhenChanged datetime2 From Active Directory
Guid uniqueidentifier Active Directory objectGuid
  AccountExpires datetime2 From Active Directory
  CustomField1 nvarchar(255) Available for custom data, not used by OctoSAM Inventory.
  CustomField2 nvarchar(255) Available for custom data, not used by OctoSAM Inventory.
  CustomField3 nvarchar(255) Available for custom data, not used by OctoSAM Inventory.
  CustomField4 nvarchar(255) Available for custom data, not used by OctoSAM Inventory.
* NoScan bit DEFAULT 0 If true this machine should not be scanned. It is ignored for scan coverage reporting.
  ExtraData nvarchar(max) Extra data for this item. OctoSAM internal.
  EntraIdTenantId uniqueidentifier Entra ID tenant id
  MappingTag nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for organization mapping
Indexes
PK_DirectoryMissingMachine Primary Key ON ID
IX_DirectoryMissingMachine_Guid Index ON Guid
IX_DirectoryMissingMachine_OrganizationID Index ON OrganizationID
Foreign Key
FK_DirectoryMissingMachine_Organization OrganizationID ↗ ❏ Organization(ID)
Referring Foreign Key
FK_DirectoryMissingMachineGroup_DirectoryMissingMachine ID ↙ ❏ DirectoryMissingMachineGroup(DirectoryMissingMachineID)


Table DirectoryMissingMachineGroup

m:n relation Group to DirectoryMissingMachine

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* GroupID bigint
* DirectoryMissingMachineID bigint
* Created datetime2 Date/Time this relation got created in the database
* LastScan datetime2 Date/Time this relation got scanned last
Indexes
PK_DirectoryMissingMachineGroup Primary Key ON ID
IX_DirectoryMissingMachineGroup_MissingMachineGroup Unique Index ON DirectoryMissingMachineID, GroupID
IX_DirectoryMissingMachineGroup_DirectoryMissingMachineID Index ON DirectoryMissingMachineID
IX_DirectoryMissingMachineGroup_GroupID Index ON GroupID
Foreign Key
FK_DirectoryMissingMachineGroup_DirectoryMissingMachine DirectoryMissingMachineID ↗ ❏ DirectoryMissingMachine(ID)
FK_DirectoryMissingMachineGroup_Group GroupID ↗ ❏ Group(ID)


Table DirectoryMissingUser

Users that are in Active Directory but not in the OctoSAM database. Used to diagnose missing scanner invocation policies.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OrganizationID bigint
* LoginName nvarchar(128) COLLATE Latin1_General_CI_AS sAMAccountName attribute from Active Directory
* DomainName nvarchar(128) COLLATE Latin1_General_CI_AS NETBIOS domain name as specified in the import service configuration
* UserPrincipalName nvarchar(128) UserPrincipalName attribute from Active Directory
* PrintableName nvarchar(128) Combination of attributes for display and reporting
* Path nvarchar(255) DistinguishedName of this user object in Active Directory
* ContainerPath nvarchar(255) DistinguishedName of this objects container. Provided for grouping and export to other applications.
* DisplayName nvarchar(255) DisplayName attribute from Active Directory
* Description nvarchar(255) Description attribute from Active Directory
* LastLogonTimestamp datetime2 LastLogonTimestamp attribute from Active Directory
* UserAccountControl bigint UserAccountControl flag from Active Directory
* Disabled bit True if the UserAccountControl attribute has the disable bit set
* Source nvarchar(255) Source from where this user object was read. Refers to import service configuration.
* Checked datetime2 Date/Time this user was last checked from AD to the database
  EmployeeID nvarchar(64) EmployeeID attribute from Active Directory
  Department nvarchar(255) Department attribute from Active Directory
  DepartmentNumber nvarchar(64) DepartmentNumber attribute from Active Directory
  Ext1 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  Ext2 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  Ext3 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  Ext4 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  PhysicalDeliveryOfficeName nvarchar(128) PhysicalDeliveryOfficeName attribute from Active Directory
  HomeDirectory nvarchar(255) HomeDirectory attribute from Active Directory
  HomeDrive nvarchar(255) HomeDrive attribute from Active Directory
  Company nvarchar(128) Company attribute from Active Directory
  Title nvarchar(128) Title (JobTitle) Attribute from Active Directroy
  Mail nvarchar(255) Mail attribute from Active Directory
  ProxyAddresses nvarchar(255) ProxyAddresses attribute from Active Directory
  TelephoneNumber nvarchar(255) TelephoneNumber attribute from Active Directory
  City nvarchar(255) City attribute from Active Directory
  PostalCode nvarchar(50) PostalCod attribute from Active Directory
  Street nvarchar(255) Street attribute from Active Directory
  StreetAddress nvarchar(255) StreetAddress attribute from Active Directory
  ExtensionAttribute1 nvarchar(255) From Active Directory
  ExtensionAttribute2 nvarchar(255) From Active Directory
  ExtensionAttribute3 nvarchar(255) From Active Directory
  ExtensionAttribute4 nvarchar(255) From Active Directory
  ExtensionAttribute5 nvarchar(255) From Active Directory
  ExtensionAttribute6 nvarchar(255) From Active Directory
  ExtensionAttribute7 nvarchar(255) From Active Directory
  ExtensionAttribute8 nvarchar(255) From Active Directory
  ExtensionAttribute9 nvarchar(255) From Active Directory
  ExtensionAttribute10 nvarchar(255) From Active Directory
  ExtensionAttribute11 nvarchar(255) From Active Directory
  ExtensionAttribute12 nvarchar(255) From Active Directory
  ExtensionAttribute13 nvarchar(255) From Active Directory
  ExtensionAttribute14 nvarchar(255) From Active Directory
  ExtensionAttribute15 nvarchar(255) From Active Directory
  PreferredLanguage nvarchar(16) PreferredLanguage attribute from Active Directory
  WhenChanged datetime2 whenChanged information from Active Directory
  WhenCreated datetime2 whenCreated information from Active Directory
Guid uniqueidentifier objectGuid from Active Directory
  AccountExpires datetime2 accountExpires from ActiveDirectory
  CustomField1 nvarchar(255) Available for custom data, not used by OctoSAM Inventory.
  CustomField2 nvarchar(255) Available for custom data, not used by OctoSAM Inventory.
  CustomField3 nvarchar(255) Available for custom data, not used by OctoSAM Inventory.
  CustomField4 nvarchar(255) Available for custom data, not used by OctoSAM Inventory.
* NoScan bit DEFAULT 0 If True this user should not be scanned. It is ignored for scan coverage reporting.
  ExtraData nvarchar(max) Extra data for this item. OctoSAM internal..
  EntraIdTenantId uniqueidentifier Entra ID tenant id
  MappingTag nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for organization mapping
  MsDSConsistencyGuid uniqueidentifier A unique ID used by Microsoft Entra ID to synchronize user information,
Indexes
PK_DirectoryMissingUser Primary Key ON ID
IX_DirectoryMissingUser_Guid Index ON Guid
IX_DirectoryMissingUser_OrganizationID Index ON OrganizationID
Foreign Key
FK_DirectoryMissingUser_Organization OrganizationID ↗ ❏ Organization(ID)
Referring Foreign Key
FK_DirectoryMissingUserGroup_DirectoryMissingUser ID ↙ ❏ DirectoryMissingUserGroup(DirectoryMissingUserID)


Table DirectoryMissingUserGroup

M:n relation Group to DirectoryMissingUser tables.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* GroupID bigint
* DirectoryMissingUserID bigint
* Created datetime2 Date/Time this relation got created in the database
* LastScan datetime2 Date/Time this relation was scanned last
Indexes
PK_DirectoryMissingUserGroup Primary Key ON ID
IX_DirectoryMissingUserGroup_MissingUserGroup Unique Index ON DirectoryMissingUserID, GroupID
IX_DirectoryMissingUserGroup_DirectoryMissingUserID Index ON DirectoryMissingUserID
IX_DirectoryMissingUserGroup_GroupID Index ON GroupID
Foreign Key
FK_DirectoryMissingUserGroup_DirectoryMissingUser DirectoryMissingUserID ↗ ❏ DirectoryMissingUser(ID)
FK_DirectoryMissingUserGroup_Group GroupID ↗ ❏ Group(ID)


Table EntraIdMissingDevice

Devices that we found in Entra ID that have not been scanned

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudProviderAccountID bigint
* DisplayName nvarchar(255) COLLATE Latin1_General_CI_AS The display name for the device
* AccountEnabled bit True if the account is enabled
  ApproximateLastSignInDateTime datetime2 Approximate date/time this device last signed in to Entra ID
  ComplianceExpirationDateTime datetime2 The timestamp when the device is no longer deemed compliant
  DeviceCategory nvarchar(50) COLLATE Latin1_General_CI_AS User-defined property set by Intune to automatically add devices to groups and simplify managing devices
  DeviceId nvarchar(255) COLLATE Latin1_General_CI_AS Unique identifier set by Entra ID device registration service at the time of registration
  DeviceOwnership nvarchar(255) COLLATE Latin1_General_CI_AS Ownership of the device. Set by Intune.
  EnrollmentProfileName nvarchar(255) COLLATE Latin1_General_CI_AS Entrollment profile applied to the device
  ExtensionAttribute1 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 1 from Entra ID
  ExtensionAttribute2 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 2 from Entra ID
  ExtensionAttribute3 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 3 from Entra ID
  ExtensionAttribute4 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 4 from Entra ID
  ExtensionAttribute5 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 5 from Entra ID
  ExtensionAttribute6 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 6 from Entra ID
  ExtensionAttribute7 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 7 from Entra ID
  ExtensionAttribute8 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 8 from Entra ID
  ExtensionAttribute9 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 9 from Entra ID
  ExtensionAttribute10 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 10 from Entra ID
  ExtensionAttribute11 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 11 from Entra ID
  ExtensionAttribute12 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 12 from Entra ID
  ExtensionAttribute13 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 13 from Entra ID
  ExtensionAttribute14 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 14 from Entra ID
  ExtensionAttribute15 nvarchar(255) COLLATE Latin1_General_CI_AS Extension Attribute 15 from Entra ID
* EntraIdId nvarchar(50) COLLATE Latin1_General_CI_AS The unique Entra ID identifier of the device object
  IsCompliant bit True if the device complies with Mobile Device Management (MDM) policies
  IsManaged bit Ture if the device is managed by  Mobile Device Management (MDM) policies
  RawManufacturer nvarchar(255) COLLATE Latin1_General_CI_AS Raw manufacturer as imported from Entra ID
  Model nvarchar(255) COLLATE Latin1_General_CI_AS Model of the device
  OnPremisesLastSyncDateTime datetime2 The last time at which the object was synced with the on-premises directory.
  OnPremisesSyncEnabled bit True if this device object is synced from an on-premises directory, False if the object was originally synced but is no longer synced; Null if this object has never been synced from an on-premises dictionary.
  OperatingSystem nvarchar(255) COLLATE Latin1_General_CI_AS The type of operating System of the device as imported from Entra ID
  OperatingSystemFamily nvarchar(50) COLLATE Latin1_General_CI_AS OctoSAM OS family name
  OperatingSystemVersion nvarchar(50) COLLATE Latin1_General_CI_AS The version of the operating system on the device
  PhysicalIds nvarchar(max) COLLATE Latin1_General_CI_AS Entra ID internal device ids
  ProfileType nvarchar(50) COLLATE Latin1_General_CI_AS the profile type of the device
  RegistrationDateTime datetime2 Date/Time when the device was registered
  SystemLabels nvarchar(max) COLLATE Latin1_General_CI_AS List of labels applied to the device
  TrustType nvarchar(50) COLLATE Latin1_General_CI_AS Type of the trust for the joined device
  DeviceMetadata nvarchar(max) COLLATE Latin1_General_CI_AS Device metadata from Entra ID
  DeviceVersion bigint Device version from Entra ID
  MdmAppID nvarchar(255) COLLATE Latin1_General_CI_AS MDM Appl ID from Entra ID
  FirstScan datetime2 Date/Time this device was first imported from Entra ID
  LastScan datetime2 Date/Time this device was last scanned from Entra ID
  Created datetime2 Date/Time this device entity got created in OctoSAM
  Ext1 nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for future use
  Ext2 nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for future use
  Ext3 nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for future use
  Ext4 nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for future use
  CustomField1 nvarchar(255) COLLATE Latin1_General_CI_AS Site specific custom data, not used by OctoSAM
  CustomField2 nvarchar(255) COLLATE Latin1_General_CI_AS Site specific custom data, not used by OctoSAM
  CustomField3 nvarchar(255) COLLATE Latin1_General_CI_AS Site specific custom data, not used by OctoSAM
  CustomField4 nvarchar(255) COLLATE Latin1_General_CI_AS Site specific custom data, not used by OctoSAM
  Checked datetime2 DateTime this information was last checked against EntraID
  Source nvarchar(255) COLLATE Latin1_General_CI_AS OctoSAM scan source name
* NoScan bit This flag can be set for devices where we know that they should not be scanned by OctoSAM
  ExtraData nvarchar(max) COLLATE Latin1_General_CI_AS Reserved for future use
  MappingTag nvarchar(50) COLLATE Latin1_General_CI_AS Reserved for future use
Indexes
PK_EntraIDMissingDevice Primary Key ON ID
UK_EntraIdMissingDevice_EntraIdId Unique Key ON EntraIdId
Foreign Key
FK_EntraIdMissingDevice_CloudProviderAccount CloudProviderAccountID ↗ ❏ CloudProviderAccount(ID)


Table EntraIdMissingUser
IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* CloudProviderAccountID bigint
  AboutMe nvarchar(max) COLLATE Latin1_General_CI_AS A free-form text entry field for the user to describe themselves
* AccountEnabled bit True if the account is enabled
  Birthday datetime2 Birthday
  BusinessPhones nvarchar(255) COLLATE Latin1_General_CI_AS The telephone numbers of the user
  City nvarchar(255) COLLATE Latin1_General_CI_AS The city where the user is located
  CompanyName nvarchar(255) COLLATE Latin1_General_CI_AS The name of the company the user is associated with
  Country nvarchar(128) COLLATE Latin1_General_CI_AS The country or region where the user is located
  CreatedDateTime datetime2 Date/Time the user was created in Entra ID
  CreationType nvarchar(128) COLLATE Latin1_General_CI_AS Indicates the method through which the user account was created
  DeletedDateTime datetime2 Date/Time the user was deleted in Entra ID
  Department nvarchar(128) COLLATE Latin1_General_CI_AS The name of the department in which the user works
* DisplayName nvarchar(255) COLLATE Latin1_General_CI_AS The name displayed in the address book for the user
  EmployeeHireDate datetime2 Date/Time when the user was hired or will start work in a future hire
  EmployeeLeaveDateTime datetime2 Date/Time when the user left or will leave the organization
  EmployeeID nvarchar(128) COLLATE Latin1_General_CI_AS The employee identifier assigned to the user by the organization
  EmployeeType nvarchar(128) COLLATE Latin1_General_CI_AS Captures enterprise worker type
  ExternalUserState nvarchar(128) COLLATE Latin1_General_CI_AS For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status
  ExternalUserStateChangeDateTime datetime2 Date/Time for the latest change to the ExternalUserState property
  FaxNumber nvarchar(128) COLLATE Latin1_General_CI_AS The fax number of the user
  GivenName nvarchar(128) COLLATE Latin1_General_CI_AS The given name (first name) of the user
  HireDate datetime2 The hire date of the user
* EntraIdId nvarchar(128) COLLATE Latin1_General_CI_AS The Entra ID unique identifier for the user
  JobTitle nvarchar(128) COLLATE Latin1_General_CI_AS The user's job title
  LastPasswordChangeDateTime datetime2 Date/Time this Microsoft Entra user last changed their password  or when their password was created
  Mail nvarchar(128) COLLATE Latin1_General_CI_AS The SMTP mail address for the user
  MailNickname nvarchar(128) COLLATE Latin1_General_CI_AS Mail alias for the user
  MobilePhone nvarchar(128) COLLATE Latin1_General_CI_AS The primary cellular telephone number for the user
  MySite nvarchar(128) COLLATE Latin1_General_CI_AS The URL for the user's site
  OfficeLocation nvarchar(128) COLLATE Latin1_General_CI_AS The office location in the user's place of business
  OnPremisesDistinguishedName nvarchar(256) COLLATE Latin1_General_CI_AS Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.
  OnPremisesDomainName nvarchar(128) COLLATE Latin1_General_CI_AS Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory
  OnPremisesExtensionAttribute1 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is Extension Attribute 1 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute2 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is Extension Attribute 2 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute3 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is Extension Attribute 3 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute4 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 4 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute5 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 5 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute6 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 6 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute7 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 7 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute8 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 8 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute9 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 9 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute10 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 10 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute11 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 11 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute12 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 12 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute13 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 13 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute14 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 14 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesExtensionAttribute15 nvarchar(255) COLLATE Latin1_General_CI_AS For synchronized users this is ExtensionAttribute 15 from the on-premises Active Directory, for non-synchronized users this can be set from Entra ID admin tools.
  OnPremisesImmutableId nvarchar(128) COLLATE Latin1_General_CI_AS This property is used to associate an on-premises Active Directory user account to their Microsoft Entra user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property.
  OnPremisesLastSyncDateTime datetime2 Indicates the last time at which the object was synced with the on-premises directory
  OnPremisesSamAccountName nvarchar(128) COLLATE Latin1_General_CI_AS Contains the on-premises samAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.
  OnPremisesSecurityIdentifier nvarchar(128) COLLATE Latin1_General_CI_AS Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud
  OnPremisesUserPrincipalName nvarchar(128) COLLATE Latin1_General_CI_AS Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.
  PasswordPolicies nvarchar(128) COLLATE Latin1_General_CI_AS Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword.
  PostalCode nvarchar(128) COLLATE Latin1_General_CI_AS The postal code for the user's postal address. The postal code is specific to the user's country/region.
  PreferredDataLocation nvarchar(255) COLLATE Latin1_General_CI_AS The preferred data location for the user.
  RefreshTokensValidFromDateTime datetime2 Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by requesting the authorized endpoint.
  SecurityIdentifier nvarchar(128) COLLATE Latin1_General_CI_AS Security identifier (SID) of the user, used in Windows scenarios.
  LastSignInDateTime datetime2 Date/Time this user last signed in to Entra ID. Not available for some Entra ID license types.
  LastSignInRequestId nvarchar(255) COLLATE Latin1_General_CI_AS Request Id of the user's last sign in to Entra ID
  LastNonInteractiveSignInDateTime datetime2 Date/Time of last non-interactive sign in to Entra ID. Not available for some Entra ID license types.
  LastNonInteractiveSignInRequestId nvarchar(255) COLLATE Latin1_General_CI_AS Request Id of the user's last non-interactive sign in to Entra ID
  SignInSessionsValidFromDateTime datetime2 Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by requesting the authorized endpoint. 
  State nvarchar(128) COLLATE Latin1_General_CI_AS The state or province in the user's address
  StreetAddress nvarchar(512) COLLATE Latin1_General_CI_AS The street address of the user's place of business
  Surname nvarchar(128) COLLATE Latin1_General_CI_AS The user's surname (family name or last name)
  UsageLocation nvarchar(16) COLLATE Latin1_General_CI_AS A two-letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirements to check for availability of services in countries. Examples include: US, JP, and GB.
  UserPrincipalName nvarchar(128) COLLATE Latin1_General_CI_AS The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where the domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.
  UserType nvarchar(128) COLLATE Latin1_General_CI_AS A string value that can be used to classify user types in your directory, such as Member and Guest.
  FirstScan datetime2 Date/Time this Entra ID user was first scanned by OctoSAM
  LastScan datetime2 Date/Time this Entra ID user was first scanned by OctoSAM
  Created datetime2 Date/Time this entity was created in OctoSAM Inventory
  Checked datetime2 Date/Time this entity was last checked against Entra ID
  Source nvarchar(255) COLLATE Latin1_General_CI_AS OctoSAM scan source name
  NoScan bit DEFAULT 0 If true, this user should be excluded from scanning. 
  ExtraData nvarchar(max) COLLATE Latin1_General_CI_AS Reserved for future use
  MappingTag nvarchar(50) COLLATE Latin1_General_CI_AS Reserved for future use
  OnPremisesSyncEnabled bit true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn't being synced and can be managed in Microsoft Entra ID.
  PreferredLanguage nvarchar(50) COLLATE Latin1_General_CI_AS The preferred language for the user. The preferred language format is based on RFC 4646. The name is a combination of an ISO 639 two-letter lowercase culture code associated with the language and an ISO 3166 two-letter uppercase subculture code associated with the country or region. Example: "en-US", or "es-ES".
  CustomField1 nvarchar(255) COLLATE Latin1_General_CI_AS Field reserved for customer-specific data. Not used by OctoSAM.
  CustomField2 nvarchar(255) COLLATE Latin1_General_CI_AS Field reserved for customer-specific data. Not used by OctoSAM.
  CustomField3 nvarchar(255) COLLATE Latin1_General_CI_AS Field reserved for customer-specific data. Not used by OctoSAM.
  CustomField4 nvarchar(255) COLLATE Latin1_General_CI_AS Field reserved for customer-specific data. Not used by OctoSAM.
  Ext1 nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for future use
  Ext2 nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for future use
  Ext3 nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for future use
  Ext4 nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for future use
Indexes
PK_EntraIdMissingUser Primary Key ON ID
UK_EntraIdMissingUser_EntraIdId Unique Key ON EntraIdId
Foreign Key
FK_EntraIdMissingUser_CloudProviderAccount CloudProviderAccountID ↗ ❏ CloudProviderAccount(ID)


Table File

Contains collected files per machine.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* FileTypeID bigint
* Filename nvarchar(512) File name
* Path nvarchar(512) Original full path of the file
* LastWriteTime datetime2 Last write time of the file
* LastAccessTime datetime2 Last access time of the file
* CreationTime datetime2 CreationTime of the file
* Data varbinary(max) File data
Indexes
PK_Files Primary Key ON ID
IX_Files_MachineID Index ON MachineID
Foreign Key
FK_File_FileType FileTypeID ↗ ❏ FileType(ID)
FK_File_Machine MachineID ↗ ❏ Machine(ID)


Table FileType

Lookup table for collected file types.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(50) Name of the FileType
* OctopusID nvarchar(16) Octopus internal Name of the FileType
* Description nvarchar(128) Description of the FileType
Indexes
PK_FileType Primary Key ON ID
Referring Foreign Key
FK_File_FileType ID ↙ ❏ File(FileTypeID)


Table Group

Group of users or machines

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* GroupTypeID bigint
* GroupingProviderID bigint
* Name nvarchar(255) Name of the group
* Domain nvarchar(50) Domain of the group if provided by the group scanner
* DirectoryPath nvarchar(255) For groups imported from Active Directory: holds the distinguishedName of the group
* Description nvarchar(500) Description of the group
* Keep bit DEFAULT 0 If True, existing groups are not deleted even if they are no longer scanned from the same grouping provider. Do not use this flag without consulting OctoSoft first.
* UsersNotFoundInDatabase bigint DEFAULT 0 Users not found in either the User or DirectoryMissingUser table. If not 0, check import service logfile for problems.
* MachinesNotFoundInDatabase bigint DEFAULT 0 Machines not found in either the Machine or DirectoryMissingMachine table. If not 0, check import service logfile for problems.
* Created datetime2 Date/Time this group was created in the database
* LastScan datetime2 Date/Time this group was last scanned
* LastModification datetime2 Date/Time this group object was last modified through the UI
* LastModifiedBy nvarchar(128) OctoSAM Inventory UI user that last modified this object
* Notes nvarchar(max) Notes
  SID nvarchar(200) Group SID for groups imported from Active Directory
  DirectoryWhenCreated datetime2 Date/Time this group was created in Active Directory
  DirectoryWhenChanged datetime2 Date/Time this group was last modified in Active Directory
* Error bit DEFAULT 0 True if there was an error enumerating the members of this group
  ErrorMessage nvarchar(max) Error message detailing the problem encountered when trying to enumerate the group
* Guid uniqueidentifier DEFAULT newid() A unique ID that can be used to link to this object from external applications
  AnalysisExtras xml Holds additional analysis data
  ExtraData nvarchar(max) Extra data collected for documentation of this machine to signature relation
  SoftwarePublishing bit True if this group is used to configure software publishing
  EntraIdId nvarchar(128) COLLATE Latin1_General_CI_AS Entra ID ID
  EntraIdTenantId uniqueidentifier Entra ID Tenant ID
  EntraIdClassification nvarchar(128) COLLATE Latin1_General_CI_AS classification field from Entra ID
  EntraIdOnPremisesDomainName nvarchar(128) COLLATE Latin1_General_CI_AS On premises domain name from Entra ID
  EntraIdOnPremisesLastSyncDateTime datetime2 Entra ID on premises last sync date time
  EntraIdOnPremisesNetbiosName datetime2 On premises netbios name of the group from Entra ID
  EntraIdOnPremisesSamAccountName datetime2 On premises SAMAccountName of the group from Entra ID
  EntraIdOnPremisesSyncEnabled bit Entra ID on premises sync enabled flag for this group
  EntraIdSecurityEnabled bit True if this Entra ID group is a security group
  EntraIdGroupTypes nvarchar(128) COLLATE Latin1_General_CI_AS Entra ID group types list
  CustomField1 nvarchar(255) COLLATE Latin1_General_CI_AS Custom field 1, not used by OctoSAM logic
  CustomField2 nvarchar(255) COLLATE Latin1_General_CI_AS Custom field 2, not used by OctoSAM logic
  CustomField3 nvarchar(255) COLLATE Latin1_General_CI_AS Custom field 3, not used by OctoSAM logic
  CustomField4 nvarchar(255) COLLATE Latin1_General_CI_AS Custom field 4, not used by OctoSAM logic
Indexes
PK_Group Primary Key ON ID
UK_Group_Guid Unique Key ON Guid
Foreign Key
FK_Group_GroupType GroupTypeID ↗ ❏ GroupType(ID)
FK_Group_GroupingProvider GroupingProviderID ↗ ❏ GroupingProvider(ID)
Referring Foreign Key
FK_DirectoryMissingMachineGroup_Group ID ↙ ❏ DirectoryMissingMachineGroup(GroupID)
FK_DirectoryMissingUserGroup_Group ID ↙ ❏ DirectoryMissingUserGroup(GroupID)
FK_GroupScanHistory_Group ID ↙ ❏ GroupScanHistory(GroupID)
FK_MachineGroup_Group ID ↙ ❏ MachineGroup(GroupID)
FK_PublishedSoftwarePackage_Group ID ↙ ❏ PublishedSoftwarePackage(GroupID)
FK_UserGroup_Group ID ↙ ❏ UserGroup(GroupID)


Table GroupScanHistory

Reserved for future use.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* GroupID bigint
* Scan datetime2 Date/Time of the scan
* Import datetime2 Date/Time of the import of the scan file
* ScanGUID uniqueidentifier GUID of the scan file
* Build nvarchar(64) Build information about the scanner that did this group scan
Indexes
PK_GroupScanHistory Primary Key ON ID
IX_GroupScanHistory_GroupID Index ON GroupID
Foreign Key
FK_GroupScanHistory_Group GroupID ↗ ❏ Group(ID)


Table GroupType

Lookup table for group types.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(50) Group type name
* OctopusID nvarchar(16) Internal ID of this group type. Used by the OctoSAM logic to identify group  types.
* Description nvarchar(250) Description
* PublishedSoftware bit DEFAULT 0 True if groups of this type are used for software publishing or usage permission
Indexes
PK_GroupType Primary Key ON ID
IX_GroupType_OctopusID Unique Index ON OctopusID
Referring Foreign Key
FK_Group_GroupType ID ↙ ❏ Group(GroupTypeID)


Table GroupingProvider

A uniquely identified source of group information. Used for identification and reorganization (cleanup) of groups.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* DisplayName nvarchar(255) Name that the GUI displays
* ProviderGUID uniqueidentifier A uuid that uniquely identifies the grouping provider. Must be set to a distinct value for each provider.
* Description nvarchar(255) Description
* Notes nvarchar(max) Notes
* Created datetime2 Date/Time this entity was created in the database
* LastScan datetime2 Date/Time this grouping provider did last scan its source information
* CreatedGUID uniqueidentifier GUID of the scan that created this grouping privider
* LastScanGUID uniqueidentifier GUID of the last scan this grouping provider
Indexes
PK_GroupingProvider Primary Key ON ID
Referring Foreign Key
FK_Group_GroupingProvider ID ↙ ❏ Group(GroupingProviderID)
FK_GroupingProviderScanHistory_GroupingProviderScanHistory ID ↙ ❏ GroupingProviderScanHistory(GroupingProviderID)


Table GroupingProviderScanHistory

Scan history of a grouping provider.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* GroupingProviderID bigint
* Scan datetime2 Date/Time this group scan was produced
* Import datetime2 Date/Time the scan file was imported (different from Scan for offline capable scanners)
* ScanGUID uniqueidentifier GUID of the scan
* Build nvarchar(64) Scanner technical build information
Indexes
PK_GroupingProviderScanHistory Primary Key ON ID
Foreign Key
FK_GroupingProviderScanHistory_GroupingProviderScanHistory GroupingProviderID ↗ ❏ GroupingProvider(ID)


Table Image

Reserved for future use.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier
* Image varbinary(max) The binary image
* Created datetime2 Date/Time this entity got created in the database
* LastModification datetime2 Date/Time this entity got last modified
Indexes
PK_Image Primary Key ON ID
UK_Image_Guid Unique Key ON Guid


Table ImportControl

Holds the GUIDs of all imported .scan files. This helps to eliminate duplicate imports of the same data, which could influence for example the usage metering information. The table can also be used to collect information about active scanner versions and history.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* ImportGUID uniqueidentifier GUID of the imported .scan file.
* LastModification datetime2 Date/Time of last write to this entity
* Error bit DEFAULT 0 True if the .scan file could not be imported properly. It will be moved to the archive/bad folder structure.
* LastScan datetime2 Date/Time of the scan (time from the scanned system - clock may be out of sync with global time)
LastScanDate date Date part of the LastScan field
  OctoscanBuildInfo nvarchar(128) Build info about the octoscan2 version that generated the .scan file.
ImportFolderID bigint Can be Null if import was before version 1.9.2
UserID bigint Can be Null if the user was deleted from the database, or if the scan did not provide user information.
MachineID bigint Can be Null if the machine was deleted from the database, or if the scan did not provide machine information.
  Tag nvarchar(64) Tag value to identifiy the scanner instance. Can be configured per scanner.
  ScanType nvarchar(16) Internal ID to identify different types of scans
  Encoding nvarchar(16) XML Encoding of the imported file
  WindowsCodePage int Windows Code Page of the imported file
  ContainsUalData bit True if the scan contains UAL data
  ContainsMeteringData bit True if the scan contains Metering data
  ContainsWmiData bit True if the scan contains WMI (Hardware and Configuration) data
  ContainsVirtualizationHostData bit True if the scan contains information from a virtualization host
  ContainsVirtualizationGuestData bit True if the scan contains information about a virtualization guest
  OctoSAMBuildInfo nvarchar(128) COLLATE Latin1_General_CI_AS Scanner build information
  RuntimeInfo nvarchar(128) COLLATE Latin1_General_CI_AS Scanner runtime information
Indexes
PK_ImportControl Primary Key ON ID
IX_ImportControl_ImportGUID Unique Index ON ImportGUID
IX_ImportControl_LastScan Index ON LastScan
IX_ImportControl_LastScanDate Index ON LastScanDate
IX_ImportControl_MachineID Index ON MachineID
IX_ImportControl_UserID Index ON UserID
Foreign Key
FK_ImportControl_ImportFolder ImportFolderID ↗ ❏ ImportFolder(ID)
FK_ImportControl_Machine MachineID ↗ ❏ Machine(ID)
FK_ImportControl_User UserID ↗ ❏ User(ID)
Referring Foreign Key
FK_ImportControlMessage_ImportControl ID ↙ ❏ ImportControlMessage(ImportControlID)


Table ImportControlMessage

Messages generated by the scanner

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* ImportControlID bigint
* SequenceNumber int Order in wich the messages were read from the .scan file.
* MessageID int DEFAULT 0 Unique message id defined by the scanner
* Severity nchar(1) E for Error, W for Warning.
* Message nvarchar(512) Message generated by the scanner
Indexes
PK_ImportControlMessage Primary Key ON ID
IX_ImportControlMessage_ImportControlID Index ON ImportControlID
Foreign Key
FK_ImportControlMessage_ImportControl ImportControlID ↗ ❏ ImportControl(ID)


Table ImportFolder

Infomation about import folders. Used for statistics and investigation for installations that have multiple import folders.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Path nvarchar(256) Import Folder Path
Indexes
PK_ImportFolder Primary Key ON ID
Foreign Key
FK_ImportFolder_ImportFolder ID ↗ ❏ ImportFolder
Referring Foreign Key
FK_ImportControl_ImportFolder ID ↙ ❏ ImportControl(ImportFolderID)
FK_ImportFolder_ImportFolder ID ↙ ❏ ImportFolder


Table InformationSource

Defines different information sources in the case that different scanners update information for the same machine.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OctopusID nvarchar(16)
* Name nvarchar(255) Information source name
Indexes
PK_InformationSource Primary Key ON ID
IX_InformationSource_OctopusID Unique Key ON OctopusID
Referring Foreign Key
FK_MachineSoftwareSignature_InformationSource ID ↙ ❏ MachineSoftwareSignature(InformationSourceID)
FK_MachineUserSoftwareSignature_InformationSource ID ↙ ❏ MachineUserSoftwareSignature(InformationSourceID)
FK_WmiInstance_InformationSource ID ↙ ❏ WmiInstance(InformationSourceID)
FK_WmiInstanceHistory_InformationSource ID ↙ ❏ WmiInstanceHistory(InformationSourceID)


Table Language

Lookup table for languages.

IdxColumn NameDefinitionDescription
* ID bigint
* Code nvarchar(3) 2 letter language code
* Name nvarchar(50) language name
Indexes
PK_Language Primary Key ON ID
Referring Foreign Key
FK_AnnotationCodeDisplayName_Language ID ↙ ❏ AnnotationCodeLocalizedDisplayName(LanguageID)
FK_AnnotationLabel_Language ID ↙ ❏ AnnotationLabel(LanguageID)


Table LicenseManagerRbacUserFavoriteFeature

User specific selection of favorite license manager features to display.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* RbacUserID bigint
* LicenseManagerServerFeatureID bigint
* SortOrder int OctoSAM Inventory sorts favorite features in ascending sort order by default
* LastModified datetime2 Date/Time this entity was last modified
Indexes
PK_LicenseManagerRbacUserFavoriteFeature Primary Key ON ID
UK_LicenseManagerRbacUserFavoriteFeature_RbacUserLicenseManagerServerFeature Unique Key ON RbacUserID, LicenseManagerServerFeatureID
IX_LicenseManagerRbacUserFavoriteFeature_LicenseManagerServerFeature Index ON LicenseManagerServerFeatureID
IX_LicenseManagerRbacUserFavoriteFeature_RbacUser Index ON RbacUserID
Foreign Key
FK_LicenseManagerRbacUserFavoriteFeature_RbacUser RbacUserID ↗ ❏ RbacUser(ID)
FK_LicensenManagerRbacUserFavoriteFeature_LicensenseManagerRbacUserFavoriteFeature LicenseManagerServerFeatureID ↗ ❏ LicenseManagerServerFeature(ID)


Table LicenseManagerServer

Defines a license manager server for use by the OctoSAM Monitor module.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* DisplayName nvarchar(128) Name of the LicenseManagerServer object that gets displayed in the UI
* LmType nvarchar(32) DEFAULT 'FlexLM' LicenseMangerServer type
* Address nvarchar(512) COLLATE Latin1_General_CI_AS DEFAULT '' Address of the remote server. Format of this value is specific to each LmType.
* Parameters nvarchar(512) DEFAULT '' Reserved for future use
* LicenseFileName nvarchar(1024) DEFAULT '' License filename as reported by FlexLM
* Enabled bit DEFAULT 0 If True, the server gets scanned. Set this flag to false to temporarily disable scanning of this server.
* OrganizationID bigint
* ScanDue datetime2 DEFAULT getdate() Date/Time the next statistics scan should take place
* IntervalMinutes bigint DEFAULT 15 Interval between scans during normal usage periods
* Created datetime2 DEFAULT getdate() Date/Time this entity got created in the database
* CreatedBy nvarchar(50) DEFAULT '' Client user that created this entity through the UI
* LastModification datetime2 DEFAULT getdate() Date/Time this record was last modified through the UI. Modifications from the scanner do not update this value.
* LastModifiedBy nvarchar(128) DEFAULT '' Client user that modified this entry through the UI
* Notes nvarchar(512) DEFAULT '' Customers notes about this server
* KeepFeatureStatisticsDays bigint DEFAULT 720 Number of days that statistics data should be kept
* KeepUserStatisticsDays bigint DEFAULT 180 Number of days that detailed user data should be kept
  LastScan datetime2 Date/Time this server was scanned last
  FirstScan datetime2 Date/Time this server was scanned first
* ErrorFlag bit DEFAULT 0 True if the last scan resulted in an error condition
  LastError datetime2 Date/Time last scan resulted in an error condition
* LastErrorMessage nvarchar(512) DEFAULT '' Last error message generated from a scan of this server
  LastSuccessfulScan datetime2 Date/Time the last successful scan occured
* LastScanDurationMillis bigint DEFAULT 0 Duration of the last scan in milliseconds
* HighUsageIntervalMinutes bigint DEFAULT 1 Interval between scans during high usage periods
* HighUsageThreshold float DEFAULT 0.85 Highest usage factor on any feature that defines a period of high usage (between 0 and 1)
* LowUsageIntervalMinutes bigint DEFAULT 20 Interval between scans during periods of low usage
* LowUsageThreshold float DEFAULT 0.25 Highest usage factor on any feature that defines a period of low usage (between 0 and 1)
* DiagScanDue datetime2 DEFAULT getdate() Date/Time the next diagnostics scan should take place
* DiagIntervalHours bigint DEFAULT 24 Interval for diagnostics scans
* UserStatisticsEnabled bit DEFAULT 0 True if detailed user statistics are enabled for this Server
* FeatureLicenseStartEnabled bit DEFAULT 0 True if the license server supports scan of license start date
* DenialScanEnabled bit DEFAULT 0 True if the license server supports scan of license denials
* DiagScanEnabled bit DEFAULT 0 True if the license server supports diagnostic scans
* FeatureLicenseExpiryEnabled bit DEFAULT 0 True if the license server supports scan of license expiry date
* LastUsageLevel int DEFAULT 0 Usge level of last scan. -1 for low, 0 for normal, 1 for high usage.
* WebShowServer bit DEFAULT 1 Show this server in the web interface
* WebShowStatisticsBuffer bit DEFAULT 1 Show this server's statistics buffer in web interface
* WebShowDiagnosticsBuffer bit DEFAULT 1 Show this server's diag buffer in web interface
* HousekeepingDue datetime2 DEFAULT getdate() Date/Time next database housekeeping will be performed for this LicenseManagerServer. If this date is past, the service will begin housekeeping on next cycle.
* Guid uniqueidentifier DEFAULT newid() A unique ID that can be used to link to this object from external applications
  AnalysisData xml Reserved for future use
  DebugFlags nvarchar(50) Reserved for debug and trace configuration
  LastDiagScan datetime2 Date/Time of last diagnostics scan
  LastSuccessfulDiagScan datetime2 Date/Time of last successful diagnostics scan
* FeatureLicenseCheckOutEnabled bit DEFAULT 0 True if the scan finds checked out vs reserved licenses
* FeatureLicenseBorrowEnabled bit DEFAULT 0 True if the scan detects borrowed licenses
* FeatureLicenseBorrowableIssuedEnabled bit DEFAULT 0 True if the license server supports licenses available for borrowing configuration
* HintFeatureCount int DEFAULT 0 Hint number of features to avoid join
* HintShowCheckedOut bit DEFAULT 0 Hint that at least some features of this server have reservations and checked out should be shown
* HintShowBorrowed bit DEFAULT 0 Hint that at least some features of this server have borrowed licenses
  ExtraData nvarchar(max) Extra data for this object (JSON)
  HintFirstUsageDataAvailable datetime2 Date/Time of first usage date available in the database
  HintHasSoftwareItems bit True if one or more software items exist for this license manager server
Indexes
PK_LicenseManagerServer Primary Key ON ID
IX_LicenseManagerServer_Guid Unique Key ON Guid
Foreign Key
FK_LicenseManagerServer_LicenseManagerServer OrganizationID ↗ ❏ Organization(ID)
Referring Foreign Key
FK_LicenseManagerServerBuffer_LicenseManagerServer ID ↙ ❏ LicenseManagerServerBuffer(LicenseManagerServerID)
FK_LicenseManagerServerEvent_LicenseManagerServer ID ↙ ❏ LicenseManagerServerEvent(LicenseManagerServerID)
FK_LicenseManagerServerFeature_LicenseManagerServer ID ↙ ❏ LicenseManagerServerFeature(LicenseManagerServerID)
FK_LicenseManagerServerMachine_LicenseManagerServer ID ↙ ❏ LicenseManagerServerMachine(LicenseManagerServerID)
FK_LicenseManagerServerObserverLog_LicenseManagerServer ID ↙ ❏ LicenseManagerServerObserverLog(LicenseManagerServerID)
FK_LicenseManagerServerScan_LicenseManagerServer ID ↙ ❏ LicenseManagerServerScan(LicenseManagerServerID)
FK_LicenseManagerServerUser_LicenseManagerServer ID ↙ ❏ LicenseManagerServerUser(LicenseManagerServerID)
FK_SoftwareItemLicenseManagerServer_LicenseManagerServer ID ↙ ❏ SoftwareItemLicenseManagerServer(LicenseManagerServerID)


Table LicenseManagerServerBuffer

Holds the text of the response of the LM specific commands that the observer service parsed

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* LicenseManagerServerID bigint
* LastScan datetime2 Date/Time this buffer was scanned
* Buffer text Message returned from the license manager statistics / diagnostics tools
* Command nvarchar(16) DEFAULT '' For FLexLM this can either be 'lmstat' or 'lmdiag'
Indexes
PK_LicenseManagerServerBuffer Primary Key ON ID
Foreign Key
FK_LicenseManagerServerBuffer_LicenseManagerServer LicenseManagerServerID ↗ ❏ LicenseManagerServer(ID)


Table LicenseManagerServerEvent

Reserved for future use.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* LicenseManagerServerID bigint
* Scan datetime2 Date of the scan
* Type nvarchar(50) Event type
* Message nvarchar(max) Message from the scanned system
* Res1 nvarchar(255) Reserved for future use
* Res2 nvarchar(255) Reserved for future use
  AnalysisExtra xml Reserved for future use
Indexes
PK_LicenseManagerServerEvent Primary Key ON ID
IX_LicenseManagerServerEvent_LicenseMangerServerID Index ON LicenseManagerServerID
Foreign Key
FK_LicenseManagerServerEvent_LicenseManagerServer LicenseManagerServerID ↗ ❏ LicenseManagerServer(ID)


Table LicenseManagerServerFeature

Defines a feature within a license manager server.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* LicenseManagerServerID bigint
* Name nvarchar(128) Feature name
* LastScan datetime2 Date/Time this feature was scanned last
* LicensesIssued bigint DEFAULT 0 Number of licenses issued on this feature
* LicensesIssuedChanged datetime2 DEFAULT '19000101' Date/Time the licenses issued value last changed
* MaxLicensesUsed bigint DEFAULT 0 Max number of licenses used while scanning the feature (since FirstScan)
* MaxLicensesUsedChanged datetime2 DEFAULT '19000101' Date/Time the MaxLicensesUsed field last changed (this is the date/time that the maximum usage ratio was first reached)
* BorrowableLicensesIssued bigint DEFAULT 0 Number of licenses available for borrowing (for servers that support limiting borrowable licenses)
* FriendlyName nvarchar(256) DEFAULT '' Friendly name for this feature
* Description nvarchar(256) DEFAULT '' Description of a features
* Guid uniqueidentifier DEFAULT newid() A unique ID that can be used to link to this object from external applications
* LastLicensesUsed int DEFAULT 0 Licenses used at last scan
* LastLicensesUsedRatio float DEFAULT 0 LIcenses used/issued ratio at last scan
* LastLicensesCheckedOut int DEFAULT 0 Licenses detected as checked out. Reserved licenses show up as used but may not be checked out.
* LastLicensesCheckedOutRatio float DEFAULT 0 Checked-out vs issued licenses..
* LastLicensesBorrowed int DEFAULT 0 Number of borrowed licenses at last scan
* LastLicensesBorrowedRatio float DEFAULT 0 Licenses borrowed/issued ratio at last scan
* WorkdaysPeakLicensesUsed int DEFAULT 0 Max licenses used during the last 2 working weeks
* WorkdaysPeakLicensesUsedRatio float DEFAULT 0 Peak usage ratio over the last work days, used for usage ranking.
* WorkdaysAvgLicensesUsedRatio float DEFAULT 0 Average usage ratio over the last work days, used for usage ranking.
* WorkdaysPeakLicensesCheckedOut int DEFAULT 0 Peak checked-out ratio over the last work days, used for usage ranking.
* WorkdaysAvgLicensesCheckedOutRatio float DEFAULT 0 Average checked-out ratio over the last work days, used for usage ranking.
* WorkdaysPeakLicensesBorrowed int DEFAULT 0 Peak number of borrowed licenses over the last work days
* WorkdaysPeakLicensesBorrowedRatio float DEFAULT 0 Peak borrowed ratio over the last work days
* WorkdaysAvgLicensesBorrowedRatio float DEFAULT 0 Average borrowed ratio over the last work days
  WorkdaysUsageCalculated datetime2 Date/Time the work days usage was last calculated
  WorkdaysFirstDate datetime2 First date used for work days usage calculation
* IndicatorFeature bit DEFAULT 0 This feature should be used for summaries about license usage. Indicates usage of the product.
* ExcludeFromUsageRanking bit DEFAULT 0 Exclude this feature from usage ranking. Can be set for features that are always 100% checked out due to license structure.
  CustomField1 nvarchar(255) Available for custom data for this feature, not used by OctoSAM Inventory.
  CustomField2 nvarchar(255) Available for custom data for this feature, not used by OctoSAM Inventory.
  CustomField3 nvarchar(255) Available for custom data for this feature, not used by OctoSAM Inventory.
  CustomField4 nvarchar(255) Available for custom data for this feature, not used by OctoSAM Inventory.
  Res1 nvarchar(255) Reserved for future use..
  Res2 nvarchar(255) Reserved for future use
  AnalysisExtras xml Reserved for future use
  Starts datetime2 Start date of the license
  Expires datetime2 Expiry date of the license
  LastDiagScan datetime2 Date/Time of last diagnostics scan for this feature
* HintShowCheckedOut bit DEFAULT 0 Hint that this feature has reservations / checked-out licenses
* HintShowBorrowed bit DEFAULT 0 Hint that this feature has borrowed licenses
Indexes
PK_LicenseManagerServerFeature Primary Key ON ID
IX_LicenseManagerServerFeature_Guid Index ON Guid
IX_LicenseManagerServerFeature_LicenseManagerID Index ON LicenseManagerServerID
IX_LicenseManagerServerFeature_Name Index ON Name
Foreign Key
FK_LicenseManagerServerFeature_LicenseManagerServer LicenseManagerServerID ↗ ❏ LicenseManagerServer(ID)
Referring Foreign Key
FK_LicensenManagerRbacUserFavoriteFeature_LicensenseManagerRbacUserFavoriteFeature ID ↙ ❏ LicenseManagerRbacUserFavoriteFeature(LicenseManagerServerFeatureID)
FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerFeature ID ↙ ❏ LicenseManagerServerFeatureSessionUsageDetail(LicenseManagerServerFeatureID)
FK_LicenseManagerServerFeatureUageDetail_LicenseManagerServerFeatureUageDetail ID ↙ ❏ LicenseManagerServerFeatureUsageDetail(LicenseManagerServerFeatureID)
FK_LIcenseManagerServerFeatureVersion_LIcenseManagerServerFeature ID ↙ ❏ LicenseManagerServerFeatureVersion(LicenseManagerServerFeatureID)
FK_LicenseManagerServerObserverLog_LicenseManagerServerFeature ID ↙ ❏ LicenseManagerServerObserverLog(LicenseManagerServerFeatureID)


Table LicenseManagerServerFeatureSessionUsageDetail

Used to record license sessions (checkouts) per user.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* LicenseManagerServerFeatureID bigint
* LicenseManagerServerMachineID bigint
* LicenseManagerServerUserID bigint
* StartDate datetime2 DEFAULT getdate() Date/Time for the checkout of this feature
* DurationMinutes bigint Duration of the checkout in minutes (from StartDate to LastScan)
* Version nvarchar(16) Client Version
* Display nvarchar(64) Display used when the license was checked out. Depending on the OS of the client, no useful information can be found here.
* LastScan datetime2 DEFAULT getdate() When this session (Checkout) was last scanned
* LingerSeconds bigint DEFAULT 0 Linger time for borrowed licenses
* LicensesUsed int DEFAULT 1 Licenses used for token based licenses
Indexes
PK_LicenseManagerServerFeatureSessionUsageDetail Primary Key ON ID
IX_LicenseManagerServerFeatureSessionUsageDetail_LastScan Index ON LastScan
IX_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerFeatureID Index ON LicenseManagerServerFeatureID
IX_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerMachineID Index ON LicenseManagerServerMachineID
IX_LicenseManagerServerFeatureSessionUsageDetail_LicenseMangerServerUserID Index ON LicenseManagerServerUserID
IX_LicenseManagerServerFeatureSessionUsageDetail_StartDate Index ON StartDate
Foreign Key
FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerFeature LicenseManagerServerFeatureID ↗ ❏ LicenseManagerServerFeature(ID)
FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerMachine LicenseManagerServerMachineID ↗ ❏ LicenseManagerServerMachine(ID)
FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerUser LicenseManagerServerUserID ↗ ❏ LicenseManagerServerUser(ID)


Table LicenseManagerServerFeatureUsageDetail

Used to record issued/used/filtered used counts per feature.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* LicenseManagerServerFeatureID bigint
* LastScan datetime2 Date/Time this info was obtained
* LicensesIssued int Number of licenses issued
* LicensesUsed int Number of licenses used
  LicensesCheckedOut int Number of license that are checked-out
  LicensesBorrowed int Number of borrowed licenses
Indexes
PK_LicenseManagerServerFeatureUageDetail Primary Key ON ID
IX_LicenseManagerServerFeatureUsageDetail_FeatureIDLastScan Unique Index ON LicenseManagerServerFeatureID, LastScan
Foreign Key
FK_LicenseManagerServerFeatureUageDetail_LicenseManagerServerFeatureUageDetail LicenseManagerServerFeatureID ↗ ❏ LicenseManagerServerFeature(ID)


Table LicenseManagerServerFeatureUsageDetailShortTerm

See LicenseManagerServerFeatureUsageDetail table. Short term storage for performance.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* LicenseManagerServerFeatureID bigint
* LastScan datetime2
* LicensesIssued int
* LicensesUsed int
  LicensesCheckedOut int
  LicensesBorrowed int
Indexes
PK_LicenseManagerServerFeatureUsageDetailShortTerm Primary Key ON ID
IX_LicenseManagerServerFeatureUsageDetailShortTerm_FeatureIDLastScan Unique Index ON LicenseManagerServerFeatureID, LastScan


Table LicenseManagerServerFeatureVersion

A feature can have multiple versions each with its own starting and expiry date. Mainly used for expiry warnings.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* LicenseManagerServerFeatureID bigint
* Version nvarchar(16) Feature version
* Vendor nvarchar(64) DEFAULT '' Vendor string
  Starts datetime2 Date/Time for start of license
  Expires datetime2 Date/Time for expiration of the license
  DiagMessage nvarchar(512) Diagnostics message
  LastDiagScan datetime2 Date/Time of last diagnostics scan of this feature version
  LastStatisticsScan datetime2 Date/Time of last statistics scan of this feature version
  Created datetime2 Date/Time this entity got created in the database
Indexes
PK_LIcenseManagerServerFeatureVersion_FeatureIDVersion Primary Key ON ID
UK_LicenseManagerServerFeatureVersion Unique Key ON LicenseManagerServerFeatureID, Version
Foreign Key
FK_LIcenseManagerServerFeatureVersion_LIcenseManagerServerFeature LicenseManagerServerFeatureID ↗ ❏ LicenseManagerServerFeature(ID)


Table LicenseManagerServerMachine

Used to store machine information for per user statistics (session/checkout statistics).

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* LicenseManagerServerID bigint
* Name nvarchar(255) Machine name
* Created datetime2 Date/Time this entry was created in the database
* LastScan datetime2 Date/Time this machine was detected for the last time
MachineID bigint
Indexes
PK_LicenseManagerServerMachine Primary Key ON ID
IX_LicenseManagerServerMachine_LicenseManagerID Index ON LicenseManagerServerID
Foreign Key
FK_LicenseManagerServerMachine_LicenseManagerServer LicenseManagerServerID ↗ ❏ LicenseManagerServer(ID)
FK_LicenseManagerServerMachine_Machine MachineID ↗ ❏ Machine(ID)
Referring Foreign Key
FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerMachine ID ↙ ❏ LicenseManagerServerFeatureSessionUsageDetail(LicenseManagerServerMachineID)


Table LicenseManagerServerObserverLog

This table is used to record the activity of the LM observer service.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MessageID bigint Reserved for future use
* LicenseManagerServerID bigint
LicenseManagerServerFeatureID bigint
* LastActionMilliSeconds bigint Can be used for statistical analyses of some areas of license manger server scanning
* ScanDate datetime2 Date/Time of the scan
* Severity nchar(1) Severity of the message (I= Info, W=Warning, E=Error, F=Fatal).
* Message nvarchar(512) Message text
Indexes
PK_LicenseManagerServerObserverLog Primary Key ON ID
Foreign Key
FK_LicenseManagerServerObserverLog_LicenseManagerServer LicenseManagerServerID ↗ ❏ LicenseManagerServer(ID)
FK_LicenseManagerServerObserverLog_LicenseManagerServerFeature LicenseManagerServerFeatureID ↗ ❏ LicenseManagerServerFeature(ID)


Table LicenseManagerServerScan

Each statistics scan generates a record here. The Information can be used to observe license manager scan.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* LicenseManagerServerID bigint
* LastScan datetime2 Date/Time this record was created
* ScanDurationMilliseconds int Duration of this scan in milliseconds,
* Features int Number of features scanned,
* UsageLevel int DEFAULT 0 Usage Level of this scan (-1 for low, 0 for normal, 1 for high usage),
Indexes
PK_LicenseManagerServerScan Primary Key ON ID
IX_LicenseManagerServerScan_LicenseManagerServerID Index ON LicenseManagerServerID
Foreign Key
FK_LicenseManagerServerScan_LicenseManagerServer LicenseManagerServerID ↗ ❏ LicenseManagerServer(ID)


Table LicenseManagerServerUser

Used to store user information for per user statistics (session/checkout statistics).

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* LicenseManagerServerID bigint
* Name nvarchar(255) User name,
* Created datetime2 Date/Time this user entity was created,
* LastScan datetime2 Date/Time this user entity was last detected,
UserID bigint
Indexes
PK_LicenseMangerServerUser Primary Key ON ID
IX_LicenseManagerServerUser_LicenseManagerServerID Index ON LicenseManagerServerID
Foreign Key
FK_LicenseManagerServerUser_LicenseManagerServer LicenseManagerServerID ↗ ❏ LicenseManagerServer(ID)
FK_LicenseManagerServerUser_User UserID ↗ ❏ User(ID)
Referring Foreign Key
FK_LicenseManagerServerFeatureSessionUsageDetail_LicenseManagerServerUser ID ↙ ❏ LicenseManagerServerFeatureSessionUsageDetail(LicenseManagerServerUserID)


Table LifecycleDefinitionType

Lookup table for lifecycle definition types.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OctopusID nvarchar(50) Internal Id used for catalog updates
* Name nvarchar(128) Software life cycle definition type
* Created datetime2 Date/Time this entity got created
Indexes
PK_LifecycleDefinitionType Primary Key ON ID
UK_LifecycleDefinitionType_OctopusID Unique Key ON OctopusID
UK_LifecycleDefinitionType_Name Unique Key ON Name
Referring Foreign Key
FK_MachineSoftwarePackage_LifecycleDefinitionType ID ↙ ❏ MachineSoftwarePackage(LifecycleDefinitionTypeID)
FK_SoftwarePackage_LifecycleDefinitionType ID ↙ ❏ SoftwarePackage(LifecycleDefinitionTypeID)


Table Machine

Basic machine information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OrganizationID bigint
* LastScan datetime2 Date/Time of the last imported scan for this machine as reported by the machine (may be out of sync)
* Name nvarchar(64) Machine name (computer name)
  AlternateName nvarchar(128) Contains the computer name for systems that may have different host and computer names, such as macOS.
* OperatingSystemFamily nvarchar(16) A short name to identify different operating system families
* OperatingSystem nvarchar(255) Full name of the OS
* OperatingSystemVersion nvarchar(255) Additional version information about the OS
* OperatingSystemBuild nvarchar(255) Build number of the OS
* OperatingSystemMajor int Major version
* OperatingSystemMinor int Minor version
* OperatingSystemServer bit DEFAULT 0 True if this OS is a server version
* FullyQualifiedDomainName nvarchar(128) Fully qualified domain name as seen by the scanner through reverse lookup of the network address
* NetworkAddress nvarchar(64) Network address, usually the IP number.
* LastModification datetime2 Date/Time of last write to this entity
* ImportSourceID bigint ID of the import module that created the entity. 1=OctoscanImportService.
  CustomField1 nvarchar(255) Available for custom data for this machine, not used by OctoSAM Inventory.
  CustomField2 nvarchar(255) Available for custom data for this machine, not used by OctoSAM Inventory.
* Notes nvarchar(max) DEFAULT '' Available for custom notes about this entity
* DirectoryPath nvarchar(255) Path where the machine was found in the directory service. Usually an LDAP path.
* DirectoryContainerPath nvarchar(255) DEFAULT '' Path to the container of this object. Provided for grouping or export to other applications.
* Description nvarchar(255) Description attribute of the directory service or manually entered during offline scan
  AlternateDescription nvarchar(255) Alternate description field specific to the scanned machine type. For example locally entered description in macOS.
* ImporterInstance nvarchar(16) Name of the ImporterInstance. Used if you have multiple import module instances writing into the same database.
* LastScanGUID uniqueidentifier GUID of the last imported .scan file for this entity.
  LastHardwareScan datetime2 Time of the last imported WMI scan
  LastHardwareScanGUID uniqueidentifier GUID of the last imported WMI scan
  LastSignatureScan datetime2 Time of the last imported software signature scan for this machine
  LastSignatureScanGUID uniqueidentifier GUID of the last imported software signature scan for this machine
  LastUalScan datetime2 Time of the last imported User Access Logging scan on this machine. Null for machines that don't support UAL.
  LastUalScanGUID uniqueidentifier GUID of the last imported User Access Logging scan on this machine. Null for machines that don't support UAL.
* ExcludeFromSoftwareInventory bit DEFAULT 0 If True, the machine is excluded from Software Inventory. Signatures imported for this machine are ignored. This can be useful for development machines used for building of installation packages.
* IgnoreNewSignatures bit DEFAULT 0 If true, do not create new software signatures if only seen on this machine or others that have the IgnoreNewSignatures flag set. Can be set for test and development machines.
* FoundInDirectory bit DEFAULT 0 True if the object could be found in Active Directory at last check,
  LastFoundInDirectory datetime Time the object was last found in the directory service,
* TerminalServicesInstalled bit True, if Terminal Services are installed,
* Created datetime2 Time this object was created,
* CreatedGUID uniqueidentifier Scan GUID that created this machine,
LastUserID bigint Last User that generated a scan for this Machine
MostFrequentUserID bigint Most frequent User of this Machine
  CustomField3 nvarchar(255) Available for custom data for this Machine, not used by OctoSAM Inventory
  CustomField4 nvarchar(255) Available for custom data for this Machine, not used by OctoSAM Inventory
  SynchTokenID nvarchar(255) Can be used for synchronization with another inventory or CMDB system. Holds the key to the identical item in the CMDB. Not used by OctoSAM Inventory
  SynchLastSynch datetime2 Date/Time of last synchronization of this machine with the partner CMDB. Not used by OctoSAM Inventory
* LastModifiedBy nvarchar(128) DEFAULT 'unknown' Windows User ID that last updated this Machine record through the UI
* IgnoreForRollout bit DEFAULT 0 Reserved for future use
  NetworkSubnetMask nvarchar(64) Subnet mask if network address is an ip number
  DirectorySiteName nvarchar(64) Active Directory Site that the machine belongs to
  NetworkNetworkAddress nvarchar(64) Network address calculated from NetworkAddress and NetworkSubnetkMask fields
  NetworkNetworkName nvarchar(64) Network name can be set from an external source. Not used by OctoSAM.
  NetworkNetworkCIDR nvarchar(64) Network in CIDR notation
  Res2 nvarchar(64) Reserved for internal use by future versions
  DirectoryLocation nvarchar(255) Active Directory location attribute
  DirectoryExt1 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  DirectoryExt2 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  DirectoryExt3 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  DirectoryExt4 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  Res3 nvarchar(64) Reserved for future use
  Res4 nvarchar(64) Reserved for future use
* DomainName nvarchar(64) Windows NETBIOS Domain Name
* PrintableName nvarchar(128) DEFAULT '' Use this name in reports for consistency and to avoid having to build the printable name from its parts
* RawManufacturer nvarchar(128) COLLATE Latin1_General_CI_AS DEFAULT '' Manufacturer of the machine as defined in WMI
* Model nvarchar(128) DEFAULT '' Model of the machine as defined in WMI
* BiosSerialNumber nvarchar(128) DEFAULT '' BIOS Serial Number as reported by WMI
* BiosName nvarchar(128) DEFAULT '' BIOS Name as reported by WMI
* BiosVersion nvarchar(128) DEFAULT '' BIOS Version as reported by WMI
* BiosSmBiosVersion nvarchar(128) DEFAULT '' SMBIOS Version as reported by WMI
* Processor nvarchar(128) DEFAULT '' Processor Name as reported by WMI
* PhysicalMemory bigint DEFAULT 0 Amount of physical memory in the system as reported by WMI
* ChassisTypes nvarchar(50) DEFAULT N'Unknown' ChassisTypes as reported in WMI in cleartext
  OperatingSystemInstallDate datetime2 Date/Time this OS instance was installed (as reported by WMI)
* OperatingSystemLanguage nvarchar(50) DEFAULT '' Language of the operating system as reported by WMI in cleartext
  DirectoryLastLogonTimestamp datetime2 LastLogonTimestamp attribute from Active Directory (updated on import and on housekeeping). Resolution: 14days.
  DirectoryUserAccountControl bigint UserAccountControl attribute from Active Directory (updated on import and on housekeeping)
  DirectoryDisabled bit True if the UserAccountControl attribute has the disable bit set
  DirectoryGUID uniqueidentifier GUID of a machine if joined to active directory and supported by the operating system and scanner
* NumberOfProcessors int DEFAULT 0 Number of processors as reported by WMI
* NumberOfLogicalProcessors int DEFAULT 0 Number of logical processors as reported by WMI
* NumberOfCores int DEFAULT 0 Number of cores as reported by WMI
* VirtualMachine bit DEFAULT 0 True if this is a virtual machine
* VirtualizationHost bit DEFAULT 0 True if this machine hosts virtual machines
* FirstScan datetime2 Date/Time of first scan of this machine
  SID nvarchar(200) Computer SID
  MsftDirectAccessConfigured bit True if Microsoft Direct Access configuration was found at last scan
  VirtualMachineGUID uniqueidentifier Optional. Used for mapping virtual machine information for MS Hyper-V and possibly other systems that use a GUID to identify a virtual machine.
* PCSystemType nvarchar(50) DEFAULT N'Unspecified' PCSystemType as defined in WMI
* ProcessorFamily nvarchar(50) DEFAULT N'' ProcessorFamily as defined in WMI
* Active bit DEFAULT 1 If true, do not count this machine for installations
  NetworkMacAddress nvarchar(64) MAC address of the main interface (corresponds to NetworkNetworkAddress
  Res1 nvarchar(128) Reserved for future use
HardwareUniqueID nvarchar(128) Unique hardware ID if supported by the hardware. May not change with operating system re-install for physical systems.
  OperatingSystemUniqueID nvarchar(128) Unique operating system ID if supported by the operating system. May not change during the lifetime of the operating system instance. May change at re-install of the OS.
  DirectoryExtensionAttribute1 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute2 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute3 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute4 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute5 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute6 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute7 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute8 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute9 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute10 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute11 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute12 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute13 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute14 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute15 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryWhenChanged datetime2 WhenChanged attribute from Active Directory (updated on import and on housekeeping)
  DirectoryWhenCreated datetime2 WhenCreated attribute from Active Directory
* SuggestSoftwareUninstall bit DEFAULT 1 If true, suggest this machine in reports / queries for software uninstalls.
  HintSoftwarePackageUsageStartDate datetime2 Min consolidated usage date for this Machine
  HintSoftwarePackageUsageEndDate datetime2 Max consolidated usage date for this Machine
  HintInGroups bit True if the Machine is member in any group
  HintHasWmi bit True if there is hardware and configuration data (WMI) available for the machine
  HintHasSoftwareItems bit True if software items are linked to this machine
  HintIsClusterMember bit True if the machine is member of  a custer
* OperatingSystemRelease nvarchar(255) DEFAULT '' An OS specific release marker. For Windows 10 contains the 'Version'.
* OperatingSystemEdition nvarchar(255) DEFAULT '' An OS specific edition marker
* OperatingSystemProductName nvarchar(255) DEFAULT '' For Windows, contains the ProductName value as scanned from the registry.
* OperatingSystemSuiteMask bigint DEFAULT 0 For Windows, contains the SuiteMask.
* OperatingSystemProductInfo bigint DEFAULT 0 For Windows, contains the result of the GetProductInfo() system call.
* OperatingSystemBits int DEFAULT 0 32 or 64 bit
* OperatingSystemPublisher nvarchar(128) DEFAULT '' Publisher of the OS. 
* Guid uniqueidentifier DEFAULT newid() A unique ID that can be used to link to this machine object by external applications
* BiosAssetTag nvarchar(128) DEFAULT '' BIOS asset tag if supported
* DeletedInDirectory bit DEFAULT 0 True, if directory check detects that the machine is no longer found in directory.
  DeletedInDirectoryFirstDetected datetime2 Date/Time the delete flag was set
  DirectoryAccountExpires datetime2 accountExpires attribute from ActiveDirectory
* OperatingSystemPrintableName nvarchar(255) DEFAULT '' Consolidated operating system name for use in queries and reports
  HintHasAccessLog bit True if machine has UAL data available
  HintHasAutoStart bit True if machine has scanned Windows AutosStart information
  HintHasSwidDocuments bit True if machine has scanned SWID documents
  AnalysisExtras xml Holds additional analysis data
VirtualizationManagementSystemID bigint
* OracleCoreFactor float DEFAULT 0 Oracle Core Factor to use for Oracle pricing. Queries should alwas use this field.
* OracleCoreFactorFromCatalog float DEFAULT 0 Oracle Core Factor as determined by the OctoSAM catalog
* OracleCoreFactorManual float DEFAULT 0 Optional manually entered Oracle Core Factor
* OracleCoreFactorOverride bit DEFAULT 0 When True, the manual Oracle Core Factor overrides the factor from the catalog.
* SoftwareDevelopment bit DEFAULT 0 This flag can be set to mark machines used for software development. These machines usually have different licensing requirements.
* ProcessorSpeed bigint DEFAULT 0 Max speed of the processor in MHz
* NetworkDefaultGateway nvarchar(64) DEFAULT '' Network default gateway
* NetworkDHCP bit DEFAULT 0 True if DHCP is enabled on the main interface of the machine
* NetworkDNS nvarchar(255) DEFAULT '' Addresses of configured DNS servers
  OperatingSystemLastBootUpTime datetime2 DateTime the operating system last booted
  ServiceNowSysID uniqueidentifier Service Now: sys_id of the replicated object
  ServiceNowTargetClass nvarchar(128) Service Now: target class of the replicated object
  ServiceNowLastExport datetime2 Date/Time of last export to Service Now
  ServiceNowLastImport datetime2 Date/time of last import from Service Now
ManufacturerID bigint
ProcessorManufacturerID bigint
BiosSmBiosUuid uniqueidentifier SMBIOS UUID of the machine
  OperatingSystemDisplayVersion nvarchar(255) DisplayVersion for operating systems that support this attribute. Newer Windows versions use this instead of ReleaseID.
  OperatingSystemCsdVersion nvarchar(255) CSDVersion field for Windows systems. This file may be interpreted by partner systems such as Flexera One.
OperatingSystemSoftwarePublisherID bigint
  ExtraData nvarchar(max) Extra data collected for documentation of this machine
  CostCenter nvarchar(255) Cost center - typically replicated from another system
  OperatingSystemUpdateBuildRevision bigint Windows UBR number
  OperatingSystemExtraData nvarchar(max) Extra data collected for operating system identification
  EntraIdTenantId uniqueidentifier Entra ID tenant id for machines that are Entra ID joined
  MappingTag nvarchar(255) COLLATE Latin1_General_CI_AS This field can be used for custom mapping logic
  HintHasMuiCache bit True if this machine has scanned Windows MUI information
  EntraIdDeviceId nvarchar(255) COLLATE Latin1_General_CI_AS Device ID from Entra ID
  EntraIdId nvarchar(50) COLLATE Latin1_General_CI_AS ID from Entra ID
CloudProviderAccountID bigint
  EntraIdDeviceOwnership nvarchar(50) COLLATE Latin1_General_CI_AS DeviceOwnership field from Entra ID
  EntraIdEnrollmentProfileName nvarchar(128) COLLATE Latin1_General_CI_AS EnrollmentProfileName field from Entra ID
  EntraIdOnPremisesLastSyncDateTime datetime2 OnPremisesLastSyncDateTime field from Entra ID
  EntraIdTrustType nvarchar(50) COLLATE Latin1_General_CI_AS TrustType field from Entra ID
  EntraIdProfileType nvarchar(50) COLLATE Latin1_General_CI_AS ProfileType field from Entra ID
  EntraIdRegistrationDateTime datetime2 RegistrationDateTime field from Entra ID
  LastFoundInEntraId datetime2 Date/Time this device was last found in Entra ID
  EntraIdApproximateLastSignInDateTime datetime2 ApproximateLastSignInDateTime field Entra ID
ObjectStateID bigint
  EntraIdIsManaged bit True if this machine is managed by Entra ID MDM policies 
  EntraIdIsCompliant bit True if this machine is deemed compliant to Entra ID MDM policies
  LastScannerTag nvarchar(255) COLLATE Latin1_General_CI_AS Command-line tag that was specified on the last scan of this machine
  EntraIdOnPremisesSyncEnabled bit True if on premises sync is enabled for this machine in Entra ID
  EntraIdExtensionAttribute1 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 1 from Entra ID
  EntraIdExtensionAttribute2 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 2 from Entra ID
  EntraIdExtensionAttribute3 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 3 from Entra ID
  EntraIdExtensionAttribute4 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 4 from Entra ID
  EntraIdExtensionAttribute5 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 5 from Entra ID
  EntraIdExtensionAttribute6 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 6 from Entra ID
  EntraIdExtensionAttribute7 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 7 from Entra ID
  EntraIdExtensionAttribute8 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 8 from Entra ID
  EntraIdExtensionAttribute9 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 9 from Entra ID
  EntraIdExtensionAttribute10 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 10 from Entra ID
  EntraIdExtensionAttribute11 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 11 from Entra ID
  EntraIdExtensionAttribute12 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 12 from Entra ID
  EntraIdExtensionAttribute13 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 13 from Entra ID
  EntraIdExtensionAttribute14 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 14 from Entra ID
  EntraIdExtensionAttribute15 nvarchar(255) COLLATE Latin1_General_CI_AS Extension attribute 15 from Entra ID
  LastBasicHardwareFromWmi datetime2 Date/Time basic hardware info was last calculated from WMI for this machine
  HintHasOfficeAddIns bit True if this machine has registered Microsoft Office add-ins
  CostCenterID bigint
Indexes
PK_Machine Primary Key ON ID
UK_Machine_Guid Unique Key ON Guid
IX_Machine_BiosSmbiosUuid Index ON BiosSmBiosUuid
IX_Machine_HardwareUniqueID Index ON HardwareUniqueID
IX_Machine_OrganizationID Index ON OrganizationID
IX_Machine_Performance1 Unique Index ON OrganizationID, ID
IX_Machine_ManufacturerID Index ON ManufacturerID
Foreign Key
FK_Machine_Manufacturer ManufacturerID ↗ ❏ Manufacturer(ID)
FK_Machine_ProcessorManufacturer ProcessorManufacturerID ↗ ❏ Manufacturer(ID)
FK_Machine_Organization OrganizationID ↗ ❏ Organization(ID)
FK_Machine_SoftwarePublisher OperatingSystemSoftwarePublisherID ↗ ❏ SoftwarePublisher(ID)
FK_Machine_LastUser LastUserID ↗ ❏ User(ID)
FK_Machine_MostFrequentUser MostFrequentUserID ↗ ❏ User(ID)
FK_Machine_VirtualizationManagementSystem VirtualizationManagementSystemID ↗ ❏ VirtualizationManagementSystem(ID)
FK_Machine_ObjectState ObjectStateID ↗ ❏ ObjectState(ID)
FK_Machine_CloudProviderAccount CloudProviderAccountID ↗ ❏ CloudProviderAccount(ID)
Referring Foreign Key
FK_File_Machine ID ↙ ❏ File(MachineID)
FK_ImportControl_Machine ID ↙ ❏ ImportControl(MachineID)
FK_LicenseManagerServerMachine_Machine ID ↙ ❏ LicenseManagerServerMachine(MachineID)
FK_MachineAutoStart_Machine ID ↙ ❏ MachineAutoStart(MachineID)
FK_MachineCluster_Machine ID ↙ ❏ MachineCluster(MachineID)
FK_MachineGroup_Machine ID ↙ ❏ MachineGroup(MachineID)
FK_MachineRawData_Machine ID ↙ ❏ MachineRawData(MachineID)
FK_MachineSoftwarePackage_Machine ID ↙ ❏ MachineSoftwarePackage(MachineID)
FK_MachineSoftwareSignature_Machine ID ↙ ❏ MachineSoftwareSignature(MachineID)
FK_MachineUsbDevice_Machine ID ↙ ❏ MachineUsbDevice(MachineID)
FK_MachineUser_Machine ID ↙ ❏ MachineUser(MachineID)
FK_SoftwareItemMachine_Machine ID ↙ ❏ SoftwareItemMachine(MachineID)
FK_SoftwarePackageUsageDetail_Machine ID ↙ ❏ SoftwarePackageUsageDetail(MachineID)
FK_UalDeviceAccess_ClientMachine ID ↙ ❏ UalDeviceAccess(ClientMachineID)
FK_UalDeviceAccess_Machine ID ↙ ❏ UalDeviceAccess(MachineID)
FK_UalUserAccess_Machine ID ↙ ❏ UalUserAccess(MachineID)
FK_UsageDetail_Machine ID ↙ ❏ UsageDetail(MachineID)
FK_User_LastMachine ID ↙ ❏ User(LastMachineID)
FK_User_MostFrequentlyUsedMachine ID ↙ ❏ User(MostFrequentlyUsedMachineID)
FK_UserMachineAffinity_Machine ID ↙ ❏ UserMachineAffinity(MachineID)
FK_VirtualMachine_HostMachine ID ↙ ❏ VirtualMachine(HostMachineID)
FK_VirtualMachine_Machine ID ↙ ❏ VirtualMachine(MachineID)
FK_VirtualMachineHistory_Machine ID ↙ ❏ VirtualMachineHistory(MachineID)
FK_VirtualMachineHistory_VirtualMachineHistory ID ↙ ❏ VirtualMachineHistory(HostMachineID)
FK_VirtualMachineMobilityHistory_Machine ID ↙ ❏ VirtualMachineMobilityHistory(MachineID)
FK_VirtualMachineMobilityHistory_NewHostMachine ID ↙ ❏ VirtualMachineMobilityHistory(NewHostMachineID)
FK_WmiInstance_Machine ID ↙ ❏ WmiInstance(MachineID)
FK_MachineOfficeAddIn_Machine ID ↙ ❏ MachineOfficeAddIn(MachineID)


Table MachineAutoStart

Machine specific auto start configuration.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* AutoStartTypeID bigint
* Name nvarchar(255) COLLATE Latin1_General_CI_AS Name of the configuration
* Value nvarchar(max) COLLATE Latin1_General_CI_AS Command to run
* LastScanGUID uniqueidentifier GUID of the scan that last scanned this configuration item
* LastScan datetime2 Date/Time this item was last scanned
* FirstScan datetime2 DEFAULT getdate() Date/Time this item was first scanned
Indexes
PK_MachineAutoStart Primary Key ON ID
IX_MachineAutoStart_Machine Index ON MachineID
Foreign Key
FK_MachineAutoStart_AutoStartType AutoStartTypeID ↗ ❏ AutoStartType(ID)
FK_MachineAutoStart_Machine MachineID ↗ ❏ Machine(ID)


Table MachineCluster

m:n relation between machines and clusters

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* ClusterID bigint
* Created datetime2 Date/Time this relation got created in the database
* CreatedGUID uniqueidentifier GUID of the scan that created this relation
* LastScan datetime2 Date/Time this relation got scanned last
* LastScanGUID uniqueidentifier GUID of the last scan for this relations
Indexes
PK_MachineCluster Primary Key ON ID
IX_MachineCluster_ClusterID Index ON ClusterID
IX_MachineCluster_MachineID Index ON MachineID
Foreign Key
FK_MachineCluster_Cluster ClusterID ↗ ❏ Cluster(ID)
FK_MachineCluster_Machine MachineID ↗ ❏ Machine(ID)


Table MachineGroup

m:n relation between machines and groups

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* GroupID bigint
* Created datetime2 Date/Time this relation got created in the database
* LastScan datetime2 LastScan of this relation
Indexes
PK_MachineGroup Primary Key ON ID
IX_MachineGroup_MachineGroup Unique Index ON MachineID, GroupID
IX_MachineGroup_Group Index ON GroupID
IX_MachineGroup_Machine Index ON MachineID
Foreign Key
FK_MachineGroup_Group GroupID ↗ ❏ Group(ID)
FK_MachineGroup_Machine MachineID ↗ ❏ Machine(ID)


Table MachineHardwareHistory

Reserved for future use.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
SerialNumber nvarchar(100) Serial number of the device
BiosSmBiosUUID uniqueidentifier BIOS SMBIOS UUID of the device
* NetworkMacAddress nvarchar(100) MAC address of the primary interface of the device
* Name nvarchar(100) Machine name of the device at the time of the scan
* FirstScan datetime2 Date/Time the device was first scanned
* LastScan datetime2 Date/Time the device was last scanned
* Created datetime2 Date/Time this entity got created in the database
  DirectoryPath nvarchar(512) Path to the machine in active directory at time of the scan
* Guid uniqueidentifier Guid of the machine in a directory service at time of the scan
  FullyQualifiedDomainName nvarchar(512) FQDN of the machine at time of scan
Indexes
PK_MachineHardwareHistory Primary Key ON ID
IX_MachineHardwareHistory_BiosSmBiosUUID Index ON BiosSmBiosUUID
IX_MachineHardwareHistory_NetworkMacAddress Index ON NetworkMacAddress
IX_MachineHardwareHistory_SerialNumber Index ON SerialNumber


Table MachineOfficeAddIn
IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* Application nvarchar(128) COLLATE Latin1_General_CI_AS Application that this add-in is registered to
* Bits int Whether the add-in component is registered to the 32- or 64 bit vresion of the application
* Name nvarchar(128) COLLATE Latin1_General_CI_AS Name of the add-in
  FriendlyName nvarchar(256) COLLATE Latin1_General_CI_AS Friendlier name of the add-in
  Description nvarchar(512) COLLATE Latin1_General_CI_AS Description of the add-in
  LoadBehavior int Add in load behavior, see Microsoft documentation
  CommandLineSafe int See Microsoft documentation
  RegistryKeyLastWriteTime datetime2 Date/Time of the last write to the Registry key that registers the add-in
  RegistryPath nvarchar(256) COLLATE Latin1_General_CI_AS Registry path to the add-in registration
  ProgId nvarchar(128) COLLATE Latin1_General_CI_AS COM ProgramID of the add-in
  ClsId nvarchar(50) COLLATE Latin1_General_CI_AS COM CLSID of the add-in
  InProcServer nvarchar(512) COLLATE Latin1_General_CI_AS Path to the COM server
  ThreadingModel nvarchar(50) COLLATE Latin1_General_CI_AS Threading Model
  InProcServerDescription nvarchar(512) COLLATE Latin1_General_CI_AS Description from the InProcServer registration
  FileDescription nvarchar(512) COLLATE Latin1_General_CI_AS File description from the resource of the registered COM server binary
  FileVersion nvarchar(128) COLLATE Latin1_General_CI_AS File version from the resource of the registered COM server binary
  ProductName nvarchar(256) COLLATE Latin1_General_CI_AS Product name form the resource of the registered COM server binary
  ProductVersion nvarchar(128) COLLATE Latin1_General_CI_AS Product version from the resource of the registered COM server binary
  CompanyName nvarchar(265) COLLATE Latin1_General_CI_AS Company name from the resource of the registered COM server binary
SoftwarePublisherID bigint
  RawSoftwarePublisher nvarchar(128) COLLATE Latin1_General_CI_AS Software publisher as scanned from the resource of the registered COM server binary
  DisplayVersion nvarchar(128) COLLATE Latin1_General_CI_AS Display version of the add-in
Indexes
PK_MachineOfficeAddIn Primary Key ON ID
IX_MachineOfficeAddIn_MachineID Index ON MachineID
IX_MachineOfficeAddIn_Name Index ON Name
Foreign Key
FK_MachineOfficeAddIn_Machine MachineID ↗ ❏ Machine(ID)
FK_MachineOfficeAddIn_SoftwarePublisher SoftwarePublisherID ↗ ❏ SoftwarePublisher(ID)


Table MachineRawData

Reserved for future use.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* DataType nvarchar(50) Reserved for future use
* LastScan datetime2 Reserved for future use
* LastScanGuid uniqueidentifier Reserved for future use
* Data nvarchar(max) Reserved for future use
Indexes
PK_MachineRawData Primary Key ON ID
IX_MachineRawData_Machine Index ON MachineID
Foreign Key
FK_MachineRawData_Machine MachineID ↗ ❏ Machine(ID)


Table MachineSoftwarePackage

m:n relation between machines and software packages. This is mostly a redundant relation to speed up reports. A relation between machine and software package can also be found via software signature. There are exceptions where a signature does not define installation status of a package (for example left-over SWID tags).

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* SoftwarePackageID bigint
* LastModification datetime2 Date/Time this machine to software package relation was last encountered in a scan, or update time due to updates to packages and signatures.
* Created datetime2 Date/Time this relation was created in the database
  CreatedGUID uniqueidentifier GUID of the scan that created this relation
  SynchTokenID nvarchar(255) Can be used for synchronization with another inventory or CMDB system. Holds the key to the identical item in the CMDB. Currently not used by OctoSAM Inventory.
  SynchLastSynch datetime2 Timestamp of last synchoronization of this machine software package relation with the partner CMDB. Currently not used by OctoSAM Inventory.
  FirstScan date Date/Time this machine to software package relation was first detected
  LastDiscovered datetime2 Date/Time the SoftwarePackage to Machine relation was last discovered from scan results
  LastUsage date Date/Time the SoftwarePackage was last used on the Machine. Redundant information to SoftwarePackageUsageDetail provided for easier querying and performance.
  HintLicensingRelevant bit For software packages with licensing type multiple, this indicates that at least one installed signature has the LicensingRelevant flag set.
  InstallDate datetime2 Max value of all installed signature InstallDate if available. Not all packages provide an install date.
  HintBaseVersion nvarchar(64) Consolidated BaseVersion of all signatures for this installation, if the individual BaseVersion fields of the signatures follow SemVer or another standard supported by OctoSAM.
  HintKeyLastWriteTime datetime2 Newest write to any of the signatures for this installation for registry key based signatures
  AnalysisExtras xml Holds additional analysis data
  Features nvarchar(512) Installation specific feature information
  ExtraData nvarchar(max) Extra data collected for documentation of this machine to signature relation
  ServiceNowSysID uniqueidentifier Service Now: sys_id of replicated object
  ServiceNowLastExport datetime2 Date/Time of last export to Service Now
  ServiceNowLastImport datetime2 Date/Time of last import from Service Now
* Guid uniqueidentifier DEFAULT newid() A unique id of this relation record
  CustomField1 nvarchar(255) Custom field available for site-specific per installation data, Not used by OctoSAM logic.
  CustomField2 nvarchar(255) Custom field available for site-specific per installation data, Not used by OctoSAM logic.
  CustomField3 nvarchar(255) Custom field available for site-specific per installation data, Not used by OctoSAM logic.
  CustomField4 nvarchar(255) Custom field available for site-specific per installation data, Not used by OctoSAM logic.
  Notes nvarchar(max) Site-specific per installation notes, Not used by OctoSAM logic.
  LifecycleSupportPolicy nvarchar(50) Software Publisher specific lifecycle policy name
  LifecycleStartDate datetime2 Start of software lifecycle
  LifecycleMainstreamEndDate datetime2 End of mainstream support date
  LifecycleExtendedEndDate datetime2 End of extended support date
  LifecycleRetirementDate datetime2 Product retirement date
  LifecycleReleaseStartDate datetime2 Release start date
  LifecycleReleaseEndDate datetime2 Release end date
  LastLifecycleLookup datetime2 Date/Time a life-cycle look-up was last performed on this relation
  LastLifecycleLookupResult nvarchar(255) A status comment generated by the last life-cycle look-up on this relation
  LifecycleLongTermSupport bit True if the installed release has long term support by the publisher
LifecycleDefinitionTypeID bigint
  InstallationApproved bit Installation of this package on this machine is approved
  InstallationApprovedChanged datetime2 Date/Time the approval flag was last changed
  InstallationApprovedChangedBy nvarchar(50) COLLATE Latin1_General_CI_AS User that last changed the approval flag
  HintReleaseType nvarchar(50) COLLATE Latin1_General_CI_AS Most critical release type for this package installation. This is package-specific. For example for Oracle Java SE this may contain 'BPR' for licensing relevant BPR builds.
Indexes
PK_MachineSoftwarePackage Primary Key ON ID
IX_MachineSoftwarePackage_Unique Unique Key ON MachineID, SoftwarePackageID
IX_MachineSoftwarePackage_MachineID Index ON MachineID
IX_MachineSoftwarePackage_SoftwarePackage_ID Index ON SoftwarePackageID
IX_MachineSoftwarePackage_FilterHintLicensingRelevant Index ON ID
Foreign Key
FK_MachineSoftwarePackage_Machine MachineID ↗ ❏ Machine(ID)
FK_MachineSoftwarePackage_SoftwarePackage SoftwarePackageID ↗ ❏ SoftwarePackage(ID)
FK_MachineSoftwarePackage_LifecycleDefinitionType LifecycleDefinitionTypeID ↗ ❏ LifecycleDefinitionType(ID)


Table MachineSoftwareSignature

M:n relation between machines and software signatures.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* SoftwareSignatureID bigint
InformationSourceID bigint
* LastModification datetime2 Date/Time this machine to software signature was last updated
* LastScanGUID uniqueidentifier GUID of the scan that last updated this relation
* LastScan datetime2 Date/Time of last scan that updated this software signature to machine relation
  LastUsage datetime2 For metering signatures, date/time of last detected usage. Redundant to information in table UsageDetail, provided for easier querying and performance.
* Created datetime2 Date/Time this relation was created in the database
  CreatedGUID uniqueidentifier Scan GUID that created this object
  InstallDate datetime2 Date/Time of installation if available. Not all packages provide an install date.
  FirstScan datetime2 Date/Time of the scan that created this entity. Note that this differs from Created column in case of re-import of old .scan files.
  SoftwareRepackagerInfo nvarchar(128) Repackager Info for supported Repackagers
SoftwareRepackagerID bigint
  KeyLastWriteTime datetime2 For registry based signatures, Date/Time the registry key was last written. Note that not only installations may write the registry keys. Typically, windows feature updates will reset this date.
  InstallLocation nvarchar(512) The location where a software package is installed on the system - if available
  InstallSource nvarchar(512) The source location of the installation package. For windows installer packages the path to the .msi file that was used for the installation.
  AnalysisExtras xml Holds additional analysis data
  Features nvarchar(512) Installation specific feature information
  ExtraData nvarchar(max) Extra data collected for documentation of this machine to signature relation
  CustomField1 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data for this installation not used by OctoSAM Inventory
  CustomField2 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data for this installation not used by OctoSAM Inventory
  CustomField3 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data for this installation not used by OctoSAM Inventory
  CustomField4 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data for this installation not used by OctoSAM Inventory
  Notes nvarchar(max) COLLATE Latin1_General_CI_AS Installation notes
  Res1 nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for future use
  Res2 nvarchar(255) COLLATE Latin1_General_CI_AS Reserved for future use
  InstallationApproved bit Installation of this signature on this machine is approved
  InstallationApprovedChanged datetime2 Data/Time the installation approval flag was last changed
  InstallationApprovedChangedBy nvarchar(50) COLLATE Latin1_General_CI_AS User that last changed the approval flag
  FileHash nvarchar(50) COLLATE Latin1_General_CI_AS A hash calculated over the contents of a file if the signature is file based. Not all scan scenarios calculate a hash.
* Guid uniqueidentifier DEFAULT newid()
Indexes
PK_MachineSoftwareSignature Primary Key ON ID
IX_MachineSoftwareSignature_MachineSoftware_Unique Unique Key ON MachineID, SoftwareSignatureID
IX_MachineSoftwareSignature_LastScanGUID Index ON LastScanGUID
IX_MachineSoftwareSignature_MachineID Index ON MachineID
IX_MachineSoftwareSignature_SoftwareSignatureID Index ON SoftwareSignatureID
Foreign Key
FK_MachineSoftwareSignature_InformationSource InformationSourceID ↗ ❏ InformationSource(ID)
FK_MachineSoftwareSignature_Machine MachineID ↗ ❏ Machine(ID)
FK_MachineSoftwareSignature_SoftwareRepackager SoftwareRepackagerID ↗ ❏ SoftwareRepackager(ID)
FK_MachineSoftwareSignature_SoftwareSignature SoftwareSignatureID ↗ ❏ SoftwareSignature(ID)
Referring Foreign Key
FK_MachineSoftwareSignatureInstance_MachineSoftwareSignature ID ↙ ❏ MachineSoftwareSignatureInstance(MachineSoftwareSignatureID)
FK_SwidDocument_MachineSoftwareSignature ID ↙ ❏ SwidDocument(MachineSoftwareSignatureID)


Table MachineSoftwareSignatureInstance

if several instances of MachineSoftwareSignature can be found for the same signature (for example, process started multiple times), This table holds per instance information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineSoftwareSignatureID bigint
  CommandLine nvarchar(max) CommandLine of the process if available
  Environment nvarchar(max) Environment of the process if available
* LastScan datetime2 Date/Time of last scan of this process instance
  StartDate datetime2 StartDate of this process instance
  Features nvarchar(50) Instance specific feature information
  AnalysisExtras xml Holds additional analysis data
  ExtraData nvarchar(max) Extra data collected for documentation of this machine to signature relation
Indexes
PK_MachineSoftwareSignatureInstance Primary Key ON ID
IX_MachineSoftwareSignatureInstance_MachineSoftwareSignatureID Index ON MachineSoftwareSignatureID
Foreign Key
FK_MachineSoftwareSignatureInstance_MachineSoftwareSignature MachineSoftwareSignatureID ↗ ❏ MachineSoftwareSignature(ID)


Table MachineUsbDevice

Reserved for future use

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* UsbDeviceID bigint
Indexes
PK_MachineUsbDevice Primary Key ON ID
Foreign Key
FK_MachineUsbDevice_Machine MachineID ↗ ❏ Machine(ID)
FK_MachineUsbDevice_UsbDevice UsbDeviceID ↗ ❏ UsbDevice(ID)


Table MachineUser

m:n relation between machines and users

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* UserID bigint
* LastModification datetime2 Date/Time of last write to this relation,
* LastScanGUID uniqueidentifier GUID of the scan that last updated this relation,
* LastScan datetime2 Date/Time of last scan that updated this relation,
* LocalAdministrator bit True if the referenced user is member of the referenced machine's Administrators group,
  ScannedAsAdministrator bit True if the scan that last scanned this relation was run with administrative privileges,
* RemoteSession bit True if scan was during a remote session,
* Created datetime2 Date/Time this object was created in the database,
* CreatedGUID uniqueidentifier GUID of the scan that created this relation in the database,
  SynchTokenID nvarchar(256) Can be used for synchronization with another inventory or CMDB system. Holds the key to the identical item in the CMDB. Currently not used by OctoSAM Inventory.
  SynchLastSynch datetime2 Timestamp of last synchoronization of this machine user relation with the partner CMDB. Currently not used by OctoSAM Inventory,
  AnalysisExtras xml Holds additional analysis data
  LastScannerTag nvarchar(256) COLLATE Latin1_General_CI_AS Command-line tag that was specified on the last scan of this machine to user relation
Indexes
PK_MachineUser Primary Key ON ID
IX_MachineUser_MachineID Index ON MachineID
IX_MachineUser_UserID Index ON UserID
Foreign Key
FK_MachineUser_Machine MachineID ↗ ❏ Machine(ID)
FK_MachineUser_MachineUser ID ↗ ❏ MachineUser
FK_MachineUser_User UserID ↗ ❏ User(ID)
Referring Foreign Key
FK_MachineUser_MachineUser ID ↙ ❏ MachineUser
FK_MachineUserAutoStart_MachineUser ID ↙ ❏ MachineUserAutoStart(MachineUserID)
FK_MachineUserHistory_MachineUser ID ↙ ❏ MachineUserHistory(MachineUserID)
FK_MachineUserMUICache_MachineUser ID ↙ ❏ MachineUserMUICache(MachineUserID)
FK_MachineUserSecurityGroup_MachineUser ID ↙ ❏ MachineUserSecurityGroup(MachineUserID)
FK_MachineUserSoftwareSignature_MachineUser ID ↙ ❏ MachineUserSoftwareSignature(MachineUserID)
FK_MachineUserOfficeAddIn_MachineUser ID ↙ ❏ MachineUserOfficeAddIn(MachineUserID)


Table MachineUserAutoStart

User and Machine specific auto start configuration

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineUserID bigint
* AutoStartTypeID bigint
* Name nvarchar(255) COLLATE Latin1_General_CI_AS Name of the configuration
* Value nvarchar(max) COLLATE Latin1_General_CI_AS Command to run
* LastScanGUID uniqueidentifier GUID of the scan that last scanned this configuration
* LastScan datetime2 Date/Time of last scan
* FirstScan datetime2 DEFAULT getdate() Date/Time of first scan of this configuration
Indexes
PK_MachineUserAutoStart Primary Key ON ID
IX_MachineUserAutoStart_MachineUser Index ON MachineUserID
Foreign Key
FK_MachineUserAutoStart_AutoStartType AutoStartTypeID ↗ ❏ AutoStartType(ID)
FK_MachineUserAutoStart_MachineUser MachineUserID ↗ ❏ MachineUser(ID)


Table MachineUserHistory

User logon history information

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineUserID bigint
* Scan datetime2 Date/Time this machine to user relation was scanned
* ScanGUID uniqueidentifier GUID of the scan file that scanned this machine to user relation
* LocalAdministrator bit True if the user was member of the machine's local Administrators group at time of logon
  ScannedAsAdministrator bit True if the scan run with Administrator privileges,
* RemoteSession bit True if the user was in a remote session with the machine,
  CitrixSession bit True if the Scan was made in a Citrix terminal server context. detection of Citrix not always reliable depending on scanner invocation,
  SessionName nvarchar(32) Session name of the terminal session,
  OfflineScan bit True if this record was generated by an offline scan (OctoOffline.exe),
  MsftDirectAccess bit True if the machine was connected to the network via Microsoft Direct Access at time of scan,
* OctoscanBuildInfo nvarchar(128) DEFAULT '' Detailed build information of the scanner that scanned this machine to user relation,
  EntraIdJoinType nvarchar(50) COLLATE Latin1_General_CI_AS Entra ID join type for this machine or this user,
  EntraIdDeviceId uniqueidentifier Entra ID device id,
  EntraIdTenantId uniqueidentifier Entra ID tenant id,
  EntraIdIdpDomain nvarchar(255) COLLATE Latin1_General_CI_AS Entra ID identity provider domain,
  EntraIdJoinUserEmail nvarchar(255) COLLATE Latin1_General_CI_AS Mail address used to join Entra ID
  EntraIdTenantDisplayName nvarchar(255) COLLATE Latin1_General_CI_AS Display name for this Entra ID tenant
  EntraIdUserInfoUserEmail nvarchar(255) COLLATE Latin1_General_CI_AS Email from Entra ID join info user info,
  EntraIdUserInfoUserKeyId uniqueidentifier User id from Entra ID join info user info,
  EntraIdUserInfoUserKeyName nvarchar(512) COLLATE Latin1_General_CI_AS User key name from Entra ID join info user info
  Created datetime2 Date/Time this relation got created. This is not the scan time but usually the import time. 
  ScannerTag nvarchar(255) COLLATE Latin1_General_CI_AS Command-line tag that was specified on the scan of this machine to user relation history record
Indexes
PK_MachineUserHistory Primary Key ON ID
IX_MachineUserHistory_GUID Unique Index ON ScanGUID
IX_MachineUserHistory Index ON MachineUserID
Foreign Key
FK_MachineUserHistory_MachineUser MachineUserID ↗ ❏ MachineUser(ID)
Referring Foreign Key
FK_MachineUserHistoryViewClientInformation_MachineUserHistory ID ↙ ❏ MachineUserHistoryViewClientInformation(MachineUserHistoryID)
FK_MachineUserHistoryVirtualEnvironment_MachineUserHistory ID ↙ ❏ MachineUserHistoryVolatileEnvironment(MachineUserHistoryID)
FK_MachineUserHistoryWTSSessionInformation_MachineUserHistory ID ↙ ❏ MachineUserHistoryWTSSessionInformation(MachineUserHistoryID)
FK_WmiInstanceHistory_MachineUserHistory ID ↙ ❏ WmiInstanceHistory(MachineUserHistoryID)


Table MachineUserHistoryViewClientInformation

For VMware view client

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineUserHistoryID bigint
* IpAddress nvarchar(50) The IP address of the client system,
* MacAddress nvarchar(50) The MAC address of the client system,
* MachineName nvarchar(128) The machine name of the client system,
* MachineDomain nvarchar(128) The domain of the client system,
* LoggedOnUserName nvarchar(128) The user name that was used to log in to the client system,
* LoggedOnDomainName nvarchar(128) The domain name that was used to log in to the client system,
* Type nvarchar(50) The thin client name or operating system type of the client system,
* BrokerDnsName nvarchar(128) The DNS name of the View Connection Server instance
* BrokerUrl nvarchar(128) The URL of the View Connection Server instance
* BrokerTunneled nvarchar(128) The status of the tunnel connection for the view connection server
* BrokerTunnelUrl nvarchar(256) The URL of the view connection server tunnel connection, if the tunnel connection is enabled.
* BrokerRemoteIpAddress nvarchar(50) The IP address of the client system that is seen by the View Connection Server instance
* TZID nvarchar(50) The Olson time zone ID
* WindowsTimezone nvarchar(50) The GMT standard time
* BrokerDomainName nvarchar(50) Domain name used to authenticate to View Connection Server
* BrokerUserName nvarchar(50) Username used to authenticate to View Connection Server
* ClientID nvarchar(128) Specifies the unique client hardware id used as a link to the license key
* DisplaysNumber bigint Specifies the number of monitors being used on the client
* DisplaysTopology nvarchar(128) Specifies the arrangement, resolution, and dimensions of displays on the client.
* DisplaysTopologyV2 nvarchar(128) Specifies the arrangement, resolution, and dimensions of displays on the client.
* KeyboardType nvarchar(50) Specifies the type of keyboard being used on the client
* KeyboardLayout nvarchar(50) Specifies the keyboard layout being used on the client
* KeyboardSubType nvarchar(50) Specifies the keyboard subtype being used on the client
* SessionType nvarchar(50) Specifies the session type. The type can be desktop or application.
* MouseIdentifier bigint Specifies the type of mouse
* MouseNumButtons bigint Specifies the number of buttons supported by the mouse
* MouseSampleRate bigint Specifies the rate, in reports per second, at which input from a PS/2 mouse is sampled.
* Protocol nvarchar(50) Specifies the protocol being used
* Language nvarchar(50) Specifies the operating system language
* LaunchID nvarchar(128) Specifies the desktop pool Unique ID
* LaunchSessionType nvarchar(50) Specifies the launch session type
Indexes
PK_MachineUserHistoryViewClientInformation Primary Key ON ID
IX_MachineUserHistoryViewClientInformation Unique Index ON MachineUserHistoryID
Foreign Key
FK_MachineUserHistoryViewClientInformation_MachineUserHistory MachineUserHistoryID ↗ ❏ MachineUserHistory(ID)


Table MachineUserHistoryVolatileEnvironment

Inventories the volatile environment per machine user scan

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineUserHistoryID bigint
* Name nvarchar(256) Name of the environment variable
* Value nvarchar(max) Value of the environment variable
Indexes
PK_MachineUserHistoryVirtualEnvironment Primary Key ON ID
IX_MachineUserHistoryVirtualEnvironment Index ON MachineUserHistoryID
Foreign Key
FK_MachineUserHistoryVirtualEnvironment_MachineUserHistory MachineUserHistoryID ↗ ❏ MachineUserHistory(ID)


Table MachineUserHistoryWTSSessionInformation

For remote terminal sessions, records the WTSSessionInformation, see WTSQuerySessionInformation MSDN documentation.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineUserHistoryID bigint
  InitialProgram nvarchar(255) Name of the initial program that Remote Desktop Services runs when the user logs on
  ApplicationName nvarchar(255) Published name of the application that the session is running. Not supported on all Windows versions.
  WorkingDirectory nvarchar(255) Default directory used when launching the initial program
* SessionID bigint ID of the terminal server session
* UserName nvarchar(64) Name of the user associated with the session
  WinStationName nvarchar(64) Name of the Remote Desktop Services session
* DomainName nvarchar(64) Contains the name of the domain to which the logged-on user belongs
* ClientName nvarchar(64) Contains the name of the client..
  ClientAddress nvarchar(64) Contains the client's IP Address
  ClientDirectory nvarchar(255) Contains the directory in which the client is installed
  ClientProductID int Contains a client specific product identifier
* ClientProtocolType nvarchar(16) Console, ICA or RDP.
Indexes
PK_MachineUserHistoryWTSSessionInformation Primary Key ON ID
IX_MachineUserHistoryWTSSessionInformation_MachineUserHistoryID Unique Index ON MachineUserHistoryID
Foreign Key
FK_MachineUserHistoryWTSSessionInformation_MachineUserHistory MachineUserHistoryID ↗ ❏ MachineUserHistory(ID)


Table MachineUserMUICache

Windows MUI cache information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineUserID bigint
* Signature nvarchar(max) COLLATE Latin1_General_CI_AS Windows MUI signature
* Company nvarchar(255) COLLATE Latin1_General_CI_AS Company information from the Windows MUI cache.
* FriendlyAppName nvarchar(255) COLLATE Latin1_General_CI_AS Friendly application name from the Windows MUI cache
* FirstScan datetime2 First scan of this MUI cache entity in OctoSAM Inventory
* LastScan datetime2 Last scan of this MUI cache entity in OctoSAM Inventory
  Description nvarchar(max) COLLATE Latin1_General_CI_AS Description from the Windows MUI cache
  DisplayVersion nvarchar(255) COLLATE Latin1_General_CI_AS Display Version
  FileVersion nvarchar(255) COLLATE Latin1_General_CI_AS File Version from the version resource
  InternalName nvarchar(255) COLLATE Latin1_General_CI_AS Internal name of the executable from the version resource
  RawPublisher nvarchar(255) COLLATE Latin1_General_CI_AS Raw publisher name from the version resource
  Path nvarchar(512) COLLATE Latin1_General_CI_AS Path of the executable
  OriginalFilename nvarchar(512) COLLATE Latin1_General_CI_AS Original file name from the version resource
Indexes
PK_MachineUserMUICache Primary Key ON ID
Foreign Key
FK_MachineUserMUICache_MachineUser MachineUserID ↗ ❏ MachineUser(ID)


Table MachineUserOfficeAddIn
IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineUserID bigint
* Application nvarchar(128) COLLATE Latin1_General_CI_AS Application that this add-in is registered to
* Bits int Whether the add-in component is registered to the 32- or 64-bit version of the application
* Name nvarchar(128) COLLATE Latin1_General_CI_AS Name of the add-in
  FriendlyName nvarchar(256) COLLATE Latin1_General_CI_AS Friendlier name of the add-in if provided
  Description nvarchar(512) COLLATE Latin1_General_CI_AS Description of the add-in
  LoadBehavior int Add-in load behaviour, see Microsoft documentation
  CommandLineSafe int See Microsoft documentation
  RegistryKeyLastWriteTime datetime2 Date/Time of last write to the Registry key that registers the add-in
  RegistryPath nvarchar(256) COLLATE Latin1_General_CI_AS Registry path of the add-in registration
  ProgId nvarchar(128) COLLATE Latin1_General_CI_AS COM ProgramID of the add-in
  ClsId nvarchar(50) COLLATE Latin1_General_CI_AS COM CLSID of the add-in
  InProcServer nvarchar(512) COLLATE Latin1_General_CI_AS Path to the COM  server
  ThreadingModel nvarchar(50) COLLATE Latin1_General_CI_AS Threading Model
  InProcServerDescription nvarchar(512) COLLATE Latin1_General_CI_AS Description of the InProcServer registration
  FileDescription nvarchar(512) COLLATE Latin1_General_CI_AS File description from the resource of the registered COM server binary
  FileVersion nvarchar(128) COLLATE Latin1_General_CI_AS File version from the resource of the registered COM server binary
  ProductName nvarchar(256) COLLATE Latin1_General_CI_AS Product name from the resource of the registered COM server binary
  ProductVersion nvarchar(128) COLLATE Latin1_General_CI_AS Product version from the resource of the registered COM server binary
  CompanyName nvarchar(256) COLLATE Latin1_General_CI_AS Company name from the resource of the registered COM server binary
  RawSoftwarePublisher nvarchar(128) COLLATE Latin1_General_CI_AS Software publisher as scanned from the resource of the registered COM server binary
SoftwarePublisherID bigint
  DisplayVersion nvarchar(128) COLLATE Latin1_General_CI_AS Display version of the add-in
Indexes
PK_MachineUserOfficeAddIn Primary Key ON ID
IX_MachineUserOfficeAddIn_MachineUserID Index ON MachineUserID
IX_MachineUserOfficeAddIn_Name Index ON Name
Foreign Key
FK_MachineUserOfficeAddIn_MachineUser MachineUserID ↗ ❏ MachineUser(ID)
FK_MachineUserOfficeAddIn_SoftwarePublisher SoftwarePublisherID ↗ ❏ SoftwarePublisher(ID)


Table MachineUserSecurityGroup

Reserved for use in future versions of OctoSAM Inventory.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineUserID bigint
* Name nvarchar(512) Name of the security group
* Resolved bit True, if group name could be resolved, otherwise the group name usually contains the SID.
Indexes
PK_MachineUserSecurityGroups Primary Key ON ID
Foreign Key
FK_MachineUserSecurityGroup_MachineUser MachineUserID ↗ ❏ MachineUser(ID)


Table MachineUserSoftwareSignature

M:n relation between MachineUser and SoftwareSignature for per user signatures.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineUserID bigint
* SoftwareSignatureID bigint
* InformationSourceID bigint
* LastModification datetime2 Date/Time of last write to this entity
* LastScanGUID uniqueidentifier GUID of the scan that created this relation
* LastScan datetime2 Date/Time of the last scan that updated this relation
* LastUsage datetime2 For Metering signatures, date/time of last detected usage. Redundant to information in UsageDetail, provided for ease of querying and performance.
* Created datetime2 Date/Time this relation was created in the database
  InstallDate datetime2 Date/Time of installation (if available)
* FirstScan datetime2 Date/Time of the scan that created this relation
  KeyLastWriteTime datetime2 Date/Time the Registry for this signature was last updated
  AnalysisExtras xml Holds additional analysis data
  ScanHint nvarchar(50) COLLATE Latin1_General_CI_AS Additional information from the scanner for this machine to signature relation
Indexes
PK_MachineUserSoftwareSignature Primary Key ON ID
IX_MachineUserSoftwareSignature_MachineUserID Index ON MachineUserID
IX_MachineUserSoftwareSignature_SoftwareSignature Index ON SoftwareSignatureID
Foreign Key
FK_MachineUserSoftwareSignature_InformationSource InformationSourceID ↗ ❏ InformationSource(ID)
FK_MachineUserSoftwareSignature_MachineUser MachineUserID ↗ ❏ MachineUser(ID)
FK_MachineUserSoftwareSignature_SoftwareSignature SoftwareSignatureID ↗ ❏ SoftwareSignature(ID)


Table MailboxProvider

Mailbox provider information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MailboxProviderTypeID bigint
* CloudProviderID bigint
* Name nvarchar(128) Name of the mailbox provider
* Created datetime2 Date/Time this entity got created in the database
* CreatedGuid datetime2 Guid of the scan that created this mailbox provider
Indexes
PK_MailboxProvider Primary Key ON ID
Foreign Key
FK_MailboxProvider_CloudProvider CloudProviderID ↗ ❏ CloudProvider(ID)
FK_MailboxProvider_MailboxProviderType MailboxProviderTypeID ↗ ❏ MailboxProviderType(ID)


Table MailboxProviderType

Type of mailbox provider

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(128) Mailbox provider name
* OctopusID nvarchar(50) OctoSAM internal name of the mailbox provider
Indexes
PK_MailboxProviderType Primary Key ON ID
Referring Foreign Key
FK_MailboxProvider_MailboxProviderType ID ↙ ❏ MailboxProvider(MailboxProviderTypeID)


Table Manufacturer

Provides normalized hardware manufacturer info

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier
* Name nvarchar(50) Normalized hardware manufacturer name
* Notes nvarchar(max) Custom notes
* MasterNotes nvarchar(max) Notes from the master catalog
* Url nvarchar(128) Url to the manufacturers website
* AutoAssignRegex nvarchar(1024) Regular expression to discover manufacturer from hardware strings
  AutoAssignTestLikePattern nvarchar(128) SQL like pattern and/or regular expression to build test data for this manufacturer
* PredefinedByOctopus bit True if the manufaturer definition is maintained by Octosoft..
* Created datetime2 Date/Time this object was created
* CreatedBy nvarchar(128) User that created this object
* LastModification datetime2 Date/Time this manufacturer was last modified
* LastModifiedBy nvarchar(128) User that modified this object
  MasterLastModdified datetime2 Last modification timestamp of the manufacturer in the master catalog
  LastUpdateFromMaster datetime2 Date/Time this manufacturer definition was last updated from master
  LastSynchWithMaster datetime2 Date/Time this manufacturer definition was last synchronized with master
  CustomField1 nvarchar(255) Custom field 1, not used by OctoSAM.
  CustomField2 nvarchar(255) Custom field 2, not used by OctoSAM.
  CustomField3 nvarchar(255) Custom field 3, not used by OctoSAM.
  CustomField4 nvarchar(255) Custom field 4, not used by OctoSAM.
  ExtraData nvarchar(max) Extra data for this manufacturer
Indexes
PK_Manufacturer Primary Key ON ID
UK_Manufacturer_Guid Unique Key ON Guid
UK_Manufacturer_Name Unique Key ON Name
Referring Foreign Key
FK_Machine_Manufacturer ID ↙ ❏ Machine(ManufacturerID)
FK_Machine_ProcessorManufacturer ID ↙ ❏ Machine(ProcessorManufacturerID)


Table ObjectState

Reserved for future use.

IdxColumn NameDefinitionDescription
* ID bigint
* OctopusID nvarchar(16) COLLATE Latin1_General_CI_AS Octopus technical name of this state
* Name nvarchar(50) COLLATE Latin1_General_CI_AS Object state name
* Description nvarchar(255) COLLATE Latin1_General_CI_AS Object state description
Indexes
PK_ObjectState Primary Key ON ID
Referring Foreign Key
FK_Machine_ObjectState ID ↙ ❏ Machine(ObjectStateID)
FK_SoftwarePublisher_ObjectState ID ↙ ❏ SoftwarePublisher(ObjectStateID)
FK_SoftwareSignature_ObjectState ID ↙ ❏ SoftwareSignature(ObjectStateID)
FK_User_ObjectState ID ↙ ❏ User(ObjectStateID)


Table OptionalColumn

This table allows to show/hide columns in queries that use fieldsets. Columns that are not enabled are omitted from the query. This can be used to improve performance and readability of the column choosers.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(255) COLLATE Latin1_General_CI_AS Name of the column
* Enabled bit If False, the column is omitted from queries that use fieldsets
* Created datetime2 Date/Time this record got created
* Build nvarchar(50) COLLATE Latin1_General_CI_AS OctoSAM build that created this record
Indexes
PK_OptionalColumn Primary Key ON ID
UK_OptionalColumn_Name Index ON Name


Table Organization

Defines the organizations of this OctoSAM installation.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier DEFAULT newid()
* Name nvarchar(128) Name of the organization
* Description nvarchar(255) DEFAULT '' Description
* Notes nvarchar(max) DEFAULT '' Custom notes
* LastModification datetime2 Date/Time this record was last modified through the UI
* LastModifiedBy nvarchar(128) Client user that last modified this record
  CustomField1 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data, not used by OctoSAM Inventory,
  CustomField2 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data, not used by OctoSAM Inventory,
  CustomField3 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data, not used by OctoSAM Inventory,
  CustomField4 nvarchar(255) COLLATE Latin1_General_CI_AS Available for custom data, not used by OctoSAM Inventory,
Indexes
PK_Organization Primary Key ON ID
IX_Organization Unique Key ON Name
UK_Organization_Guid Unique Index ON Guid
Referring Foreign Key
FK_DirectoryMissingMachine_Organization ID ↙ ❏ DirectoryMissingMachine(OrganizationID)
FK_DirectoryMissingUser_Organization ID ↙ ❏ DirectoryMissingUser(OrganizationID)
FK_LicenseManagerServer_LicenseManagerServer ID ↙ ❏ LicenseManagerServer(OrganizationID)
FK_Machine_Organization ID ↙ ❏ Machine(OrganizationID)
FK_OrganizationToken_Organization ID ↙ ❏ OrganizationToken(OrganizationID)
FK_SoftwareItemOrganization_Organization ID ↙ ❏ SoftwareItemOrganization(OrganizationID)
FK_User_Organization ID ↙ ❏ User(OrganizationID)
FK_StatisticsSummary_Organization ID ↙ ❏ StatisticsSummary(OrganizationID)
FK_RbacUserOrganization_Organization ID ↙ ❏ RbacUserOrganization(OrganizationID)
FK_RbacUserSelectedOrganization_Organization ID ↙ ❏ RbacUserSelectedOrganization(OrganizationID)


Table OrganizationToken

Defines tokens for organization mapping

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OrganizationID bigint
* Token nvarchar(64) A string that matches the token defined in the corresponding mapping rule
* Notes nvarchar(max) DEFAULT '' Custom notes
Indexes
PK_OrganizationToken Primary Key ON ID
IX_OrganizationToken_TokenUniqueConstraint Unique Key ON Token
IX_OrganizationToken_OrganizationID Index ON OrganizationID
Foreign Key
FK_OrganizationToken_Organization OrganizationID ↗ ❏ Organization(ID)


Table PublishedSoftwarePackage

M:n relation between groups and software packages. Used for modelling published applications.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* SoftwarePackageID bigint
* GroupID bigint
* LastModification datetime2 Date/Time this relation was last modified
* LastModifiedBy nvarchar(50) Client user that last modified this relation
Indexes
PK_PublishedSoftwarePackage Primary Key ON ID
Foreign Key
FK_PublishedSoftwarePackage_Group GroupID ↗ ❏ Group(ID)
FK_PublishedSoftwarePackage_SoftwarePackage SoftwarePackageID ↗ ❏ SoftwarePackage(ID)


Table QueryPerformance

This table contains performance information for executed OctoSAM queries

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier GUID of the query. Each query definition has a unique GUID.
* Path nvarchar(512) COLLATE Latin1_General_CI_AS Repository path of the query at the time of execution
* StartDateTime datetime2 Date/Time the Query was started
* DurationMillis bigint Duration of the Query
* Rows bigint Number of rows the query returned
* User nvarchar(128) COLLATE Latin1_General_CI_AS User that executed the query
* Parameters nvarchar(max) COLLATE Latin1_General_CI_AS A JSON document containing the query parameters
* Frontend nvarchar(50) COLLATE Latin1_General_CI_AS OctoSAM frontend / application that started the query
Indexes
PK_QueryPerformance Primary Key ON ID
IX_QueryPerformance_Guid Index ON Guid
IX_QueryPerformance_User Index ON User


Table RbacGroup

RBAC groups.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(128) Name of the group
* MailAddress nvarchar(128) Mail address of this group in Active Directory
* DirectoryGUID uniqueidentifier Object-Guid attribute of this gorup in Active Directory
* DirectoryDistinguishedName nvarchar(512) DEFAULT '' DN of this group in Active Directory
* Created datetime2 Date/Time the group object was created in the database
* CreatedBy nvarchar(128) OctoSAM user that created the group
* LastModification datetime2 Date/Time the group object was last modified in the database
* LastModifiedBy nvarchar(128) OctoSAM user that modified the group
* PredefinedGroup nvarchar(50) Reserved for future use
  LastFoundInDirectory datetime2 Date/Time the group was last found in Active Directory
  DirectoryWhenChanged datetime2 whenChanged attribute from Active Directory
  DirectoryWhenCreated datetime2 whenCreated attribute from Active Directory
  EntraIdTenantId uniqueidentifier Tenant ID for groups imported from Entra ID
  EntraIdId nvarchar(128) COLLATE Latin1_General_CI_AS EntraID ID for groups imported from Entra ID
  Description nvarchar(512) COLLATE Latin1_General_CI_AS Description of the group
  EntraIdOnPremisesSyncEnabled bit True,if this group was synchronized from an on premises Active Directory to Entra ID
  EntraIdOnPremisesLastSyncDateTime datetime2 Date/Time the group was last synchronized
  EntraIdClassification nvarchar(128) COLLATE Latin1_General_CI_AS classification property from Entra ID
  EntraIdOnPremisesNetbiosName nvarchar(128) COLLATE Latin1_General_CI_AS NETBIOS name of the on premises Group 
  EntraIdOnPremisesSamAccountName nvarchar(128) COLLATE Latin1_General_CI_AS SAMAccount name of the on premises Group
  EntraIdGroupTypes nvarchar(128) COLLATE Latin1_General_CI_AS List of group types from Entra ID
  EntraIdSecurityEnabled bit True if this group is an Entra ID security group
Indexes
PK_RbacGroup Primary Key ON ID
IX_RbacGroup_DirectoryGUID Unique Index ON DirectoryGUID
UK_RbacGroup_Name Unique Key ON Name
Referring Foreign Key
FK_RbacGroupRole_RbacRole1 ID ↙ ❏ RbacGroupRole(RbacGroupID)
FK_RbacUserGroup_RbacUserGroup ID ↙ ❏ RbacUserGroup(RbacGroupID)


Table RbacGroupRole

M:n relation between group and role. A user can be directly in a role (via RbacUserRole) or indirectly via RbacUsergroup and RbacGroupRole

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* RbacGroupID bigint
* RbacRoleID bigint
* Created datetime2 Date/TIme the relation was created
CreatedByRbacUserID bigint
Indexes
PK_RbacGroupRole Primary Key ON ID
UK_RbacGroupRole_GroupIDRoleID Unique Key ON RbacGroupID, RbacRoleID
IX_RbacGroupRole_RbacRoleID Index ON RbacRoleID
Foreign Key
FK_RbacGroupRole_RbacRole1 RbacGroupID ↗ ❏ RbacGroup(ID)
FK_RbacGroupRole_RbacRole RbacRoleID ↗ ❏ RbacRole(ID)
FK_RbacGroupRole_RbacUser CreatedByRbacUserID ↗ ❏ RbacUser(ID)


Table RbacObject

Lookup table for object names for RbacRolePrivilegeConstraint

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(128) Name of the rbac object
Indexes
PK_RbacObject Primary Key ON ID
UK_RbacObject_Name Unique Key ON Name
Referring Foreign Key
FK_RbacPrivilege_RbacObject ID ↙ ❏ RbacPrivilege(ConstrainedRbacObjectID)


Table RbacPrivilege

Contains database representation of single privileges

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(256) Name of the privilege. This name is internal to OctoSAM and cannot be changed.
* Description nvarchar(256) Descritpion of the privilege. Displayed in RBAC related user interfaces.
* ConstrainedRbacObjectID bigint
* Created datetime2 Date/Time this privilege object was created
* CreatedBy nvarchar(128) OctoSAM user that created this privilege
* LastModification datetime2 Date/Time this privilege object was last modified
* LastModifiedBy nvarchar(128) OctoSAM user that last modified this entity
Indexes
PK_RbacPrivilege Primary Key ON ID
Foreign Key
FK_RbacPrivilege_RbacObject ConstrainedRbacObjectID ↗ ❏ RbacObject(ID)
Referring Foreign Key
FK_RbacRolePrivilege_RbacRolePrivilege ID ↙ ❏ RbacRolePrivilege(RbacPrivilegeID)


Table RbacRole

A role is a collection of privileges

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(128) Name of the Role
* Description nvarchar(256) Description of the Role
* Notes nvarchar(max) Notes
* Created datetime2 Date/Time the role object was created
* LastModification datetime2 Date/Time the role object was last modified
* CreatedBy nvarchar(128) OctoSAM user that created the object
* LastModifiedBy nvarchar(128) OctoSAM user that last modified the object
* PredefinedByOctopus bit DEFAULT 0 True for OctoSAM predefined Roles, these roles cannot be deleted.
Indexes
PK_RbacRole Primary Key ON ID
Referring Foreign Key
FK_RbacGroupRole_RbacRole ID ↙ ❏ RbacGroupRole(RbacRoleID)
FK_RbacRolePrivilege_RbacRole ID ↙ ❏ RbacRolePrivilege(RbacRoleID)
FK_RbacUserRole_RbacRole ID ↙ ❏ RbacUserRole(RbacRoleID)


Table RbacRolePrivilege

M:n relation between Privileges and Roles

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* RbacRoleID bigint
* RbacPrivilegeID bigint
* Created datetime2 Date/Time the object was created,
* CreatedBy nvarchar(128) OctoSAM user that created the object
* LastModification datetime2 Date/Time the object was last modified,
* LastModifiedBy nvarchar(128) OctoSAM user that last modified the object,
Indexes
PK_RbacRolePrivilege Primary Key ON ID
UK_RbacRolePrivilege_RoleIDPrivilegeID Unique Key ON RbacRoleID, RbacPrivilegeID
IX_RbacRolePrivilege_RbacPrivilegeID Index ON RbacPrivilegeID
Foreign Key
FK_RbacRolePrivilege_RbacRolePrivilege RbacPrivilegeID ↗ ❏ RbacPrivilege(ID)
FK_RbacRolePrivilege_RbacRole RbacRoleID ↗ ❏ RbacRole(ID)


Table RbacUser

User object for RBAC. Typically replicated from Active Directory

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(128) Unique user name
* PrintableName nvarchar(256) Printable name showed for this user in the user interface
* DirectoryGUID uniqueidentifier Object-GUID attribute from Active Directory
* DirectoryDistinguishedName nvarchar(512) DEFAULT '' DN of this user in Active Directory
* TelephoneNumber nvarchar(256) DEFAULT '' telephoneNumber attribute of this user in ActiveDirectory
* UserPrincipalName nvarchar(256) userPrincipalName attribute of this user in Active Directory
* MailAddress nvarchar(256) mail attribute of this user in Active Directory,
UserID bigint Optional, ID of OctoSAM Inventory user object if one can be mapped.
* Enabled bit True if the user is enabled in Active Directory
* Created datetime2 Date/Time this object was created
* CreatedBy nvarchar(128) OctoSAM user that created the object
* LastModification datetime2 Date/Time this object was last modified
* LastModifiedBy nvarchar(128) OctoSAM user that last modified the object
* LastFoundInDirectory datetime2 Date/Time this object was last found in Active Directory
  DirectoryWhenCreated datetime2 whenCreated attribute from Active Directory
  DirectoryWhenChanged datetime2 whenChanged attribute from Active Directory
* DeletedInDirectory bit DEFAULT 0 True if the account was deleted in Active Directory but cannot be removed from the database due to referential integrity. For example if set as SoftwareItem owner.
  DeletedInDirectoryFirstDetected datetime2 Date/Time the Deleted in Directory flag was set
  DirectoryAccountExpires datetime2 accountExpires attribute from ActiveDirectory
  PasswordLastSet datetime2 Date/Time the password was last set in Active Directory
  PasswordNeverExpires bit True if the Password Never Expires flag is set in Active Directory
  UserPasswordExpiryTime datetime2 Calculated date/time the password will expire
  EntraIdTenantId uniqueidentifier Entra ID tenant ID of this RBAC user
EntraIdId nvarchar(128) COLLATE Latin1_General_CI_AS Entra ID ID of this RBAC user
  Notes nvarchar(max) COLLATE Latin1_General_CI_AS Notes for this RBAC user
  HashedKey nvarchar(max) COLLATE Latin1_General_CI_AS Reserved for future use
  ExtraData nvarchar(max) COLLATE Latin1_General_CI_AS Extra data in JSON format
  DirectoryMsDSConsistencyGuid uniqueidentifier A unique ID used by Microsoft Entra ID to synchronize user information,
  Res1 nvarchar(256) COLLATE Latin1_General_CI_AS Reserved for future use
  Res2 nvarchar(256) COLLATE Latin1_General_CI_AS Reserved for future use
  Res3 nvarchar(256) COLLATE Latin1_General_CI_AS Reserved for future use
  Res4 nvarchar(256) COLLATE Latin1_General_CI_AS Reserved for future use
  EntraIdOnPremisesSyncEnabled bit True if the Entra ID user was synchronized from an on premises active directory
  EntraIdOnPremisesLastSyncDateTime datetime2 Date/Time the user was last synchronized
  EntraIdLastSignInDateTime datetime2 Date/Time the user last signed in with Microsoft Entra ID
Indexes
PK_RbacUser Primary Key ON ID
IX_RbacUser_DirectoryGUID Unique Index ON DirectoryGUID
UK_RbacUser_Name Unique Key ON Name
IX_RbacUser_UserID Index ON UserID access rbac user via inventory user id
IX_RbacUser_EntraIdId Index ON EntraIdId
Foreign Key
FK_RbacUser_User UserID ↗ ❏ User(ID)
Referring Foreign Key
FK_LicenseManagerRbacUserFavoriteFeature_RbacUser ID ↙ ❏ LicenseManagerRbacUserFavoriteFeature(RbacUserID)
FK_RbacGroupRole_RbacUser ID ↙ ❏ RbacGroupRole(CreatedByRbacUserID)
FK_RbacUserGroup_RbacUser ID ↙ ❏ RbacUserGroup(RbacUserID)
FK_RbacUserPreferences_RbacUser ID ↙ ❏ RbacUserPreferences(RbacUserID)
FK_RbacUserRole_RbacUser ID ↙ ❏ RbacUserRole(RbacUserID)
FK_RbacUserRole_RbacUser_Created ID ↙ ❏ RbacUserRole(CreatedByRbacUserID)
FK_RecentlyUsedObject_RbacUser ID ↙ ❏ RecentlyUsedObject(RbacUserID)
FK_SoftwareItemOwner_RbacUser ID ↙ ❏ SoftwareItemOwner(RbacUserID)
FK_RbacUserOrganization_RbacUser ID ↙ ❏ RbacUserOrganization(RbacUserID)
FK_RbacUserSelectedOrganization_RbacUser ID ↙ ❏ RbacUserSelectedOrganization(RbacUserID)


Table RbacUserGroup

M:n User to Group relation. Replicated from Active Directory

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* RbacUserID bigint
* RbacGroupID bigint
Indexes
PK_RbacUserGroup Primary Key ON ID
UK_RbacUserGroup_UserIDGroupID Unique Key ON RbacUserID, RbacGroupID
IX_RbacUserGroup_RbacGroupID Index ON RbacGroupID
Foreign Key
FK_RbacUserGroup_RbacUserGroup RbacGroupID ↗ ❏ RbacGroup(ID)
FK_RbacUserGroup_RbacUser RbacUserID ↗ ❏ RbacUser(ID)


Table RbacUserOrganization

This n:m relation table models the RBAC User to Organization Privilege in a way that's easy to integrate into SQL Queries. The information is redundant to the Organization privileges assigned to the user

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* RbacUserID bigint
* OrganizationID bigint
* UpdateEnabled bit If True, the RBAC user has update privileges in this organization. Update privileges for objects and fields are also required.
Indexes
PK_RbacUserOrganization Primary Key ON ID
UK_RbacUserOrganization_RbacUser_Organization Unique Key ON RbacUserID, OrganizationID
Foreign Key
FK_RbacUserOrganization_Organization OrganizationID ↗ ❏ Organization(ID)
FK_RbacUserOrganization_RbacUser RbacUserID ↗ ❏ RbacUser(ID)
FK_RbacUserOrganization_RbacUserOrganization ID ↗ ❏ RbacUserOrganization
Referring Foreign Key
FK_RbacUserOrganization_RbacUserOrganization ID ↙ ❏ RbacUserOrganization


Table RbacUserPreferences

Stores user preferences for web applications.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* RbacUserID bigint
* Name nvarchar(64) Name of the preference setting
* LastModification datetime2 Date/Time this setting was last modified
* Value nvarchar(max) String representation of the value
  XmlValue xml Optional for Xml Values that need to be referenced by SQL
  BlobValue varbinary(max) Optional for binary settings values
  DateTimeValue datetime2 Date/Time representation of the value
  BooleanValue bit Boolean representation of the value
  IntegerValue bigint Integer representation of the value
Indexes
PK_RbacUserPreferences Primary Key ON ID
UK_RbacUserPreferences_RbacUserID_Name Unique Key ON RbacUserID, Name
Foreign Key
FK_RbacUserPreferences_RbacUser RbacUserID ↗ ❏ RbacUser(ID)


Table RbacUserRole

M:n User to Role relation for users with directly assigned roles.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* RbacUserID bigint
* RbacRoleID bigint
* Created datetime2 Date/Time this relation got created
CreatedByRbacUserID bigint Rbac User that created this relationship
Indexes
PK_RbacUserRole Primary Key ON ID
UK_RbacUserRole_UserIDRoleID Unique Key ON RbacUserID, RbacRoleID
IX_RbacUserRole_RbacRoleID Index ON RbacRoleID
Foreign Key
FK_RbacUserRole_RbacRole RbacRoleID ↗ ❏ RbacRole(ID)
FK_RbacUserRole_RbacUser RbacUserID ↗ ❏ RbacUser(ID)
FK_RbacUserRole_RbacUser_Created CreatedByRbacUserID ↗ ❏ RbacUser(ID)


Table RbacUserSelectedOrganization
IdxColumn NameData Type
* ID bigint IDENTITY
* RbacUserID bigint
* OrganizationID bigint
Indexes
PK_RbacUserSelectedOrganization Primary Key ON ID
UK_RbacUserSelectedOrganization_RbacUser_Organization Unique Key ON RbacUserID, OrganizationID
Foreign Key
FK_RbacUserSelectedOrganization_Organization OrganizationID ↗ ❏ Organization(ID)
FK_RbacUserSelectedOrganization_RbacUser RbacUserID ↗ ❏ RbacUser(ID)


Table RecentlyUsedObject

Per user recently used objects.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* RbacUserID bigint
* RecentlyUsedObjectTypeID bigint
* ObjectGuid uniqueidentifier
* FirstUsed datetime2 Date/Time the object was first used
* LastUsed datetime2 Date/Time the object was last used
* UsageCount bigint Number of times the object was used
  Favorite bit True if the user selected this object as a favorite
  ExtraData nvarchar(max) Extra data for this recently used object
Indexes
PK_RecentlyUsedObject Primary Key ON ID
UK_RecentlyUsedObject_RbacUserIDRecentyUsedObjctTypeIDObjectGuid Unique Key ON RbacUserID, RecentlyUsedObjectTypeID, ObjectGuid
Foreign Key
FK_RecentlyUsedObject_RbacUser RbacUserID ↗ ❏ RbacUser(ID)
FK_RecentlyUsedObject_RecentlyUsedObjectType RecentlyUsedObjectTypeID ↗ ❏ RecentlyUsedObjectType(ID)


Table RecentlyUsedObjectType

Lookup table for recently used object types.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* ObjectName nvarchar(50) Name of the recently used object type
* DisplayName nvarchar(50) Display name of the recently used object type
Indexes
PK_RecentlyUsedObjectType Primary Key ON ID
UK_RecentlyUsedObjectType_ObjectName Unique Key ON ObjectName
Referring Foreign Key
FK_RecentlyUsedObject_RecentlyUsedObjectType ID ↙ ❏ RecentlyUsedObject(RecentlyUsedObjectTypeID)


Table Repository

Centrally store queries, reports and scripts that can be used by multiple components.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* GUID uniqueidentifier GUID if supported by the content type stored in the repository item
  CustomerID uniqueidentifier A Guid that identifies the customer for customer specific items
  InstallationID uniqueidentifier Reserved for future use
* Enabled bit DEFAULT 1 This item is selectable in the gui / runnable in services
* Path nvarchar(256) A logical path name that optionally specifies the position of this item in tree structures
* Blob varbinary(max) Contents of this repository item
* Description nvarchar(max) Description if supported by the repository type
* Created datetime2 Date/Time this item was created
* CreatedBy nvarchar(64) User that created this item
* LastModification datetime2 Date/Time this item was last modified
* LastModifiedBy nvarchar(128) User that last modified this item
* RepositoryGroup nvarchar(16) An identification string that can be be referenced when loading repository items
* SourceLastModified datetime2 DEFAULT CONVERT([datetime2],'0001-01-01',(0)) Last write time of the source file
* SupportWeb bit DEFAULT 1 This resource can be used by web applications
* SupportDesktop bit DEFAULT 1 This resource can be used by desktop applications
  RequiredPrivileges nvarchar(max) List of rbac privileges required to enable this item
  Hash nvarchar(128) Hash calculated over the repository binary contents
  ExtraData nvarchar(max) COLLATE Latin1_General_CI_AS Extra data for this repository item
  RequiredModules nvarchar(256) COLLATE Latin1_General_CI_AS Required modules to enable this item
  DocumentationPath nvarchar(256) COLLATE Latin1_General_CI_AS Path into online documentation of this item
Indexes
PK_Repository Primary Key ON ID
IX_Repository_Path Unique Index ON Path
IX_Repository Index ON GUID


Table SerilogEvent

Contains events from the Serilog logging framework, see Serilog documentation.

IdxColumn NameDefinitionDescription
* Id bigint IDENTITY
  Message nvarchar(max)
  MessageTemplate nvarchar(max)
  Level nvarchar(128)
* TimeStamp datetime
  Exception nvarchar(max)
  Properties nvarchar(max)
  SourceContext nvarchar(max)
Indexes
PK_SerilogEvent Primary Key ON Id
IX_SerilogEvent_Timestamp Index ON TimeStamp


Table SoftwareCatalogConflict

Contains conflicts detected by the software catalog update mechanism.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Created datetime2 Date/Time the entry was created
* SoftwareSignatureID bigint
SoftwarePackageID bigint
  SoftwarePackageGuid uniqueidentifier
* Action nvarchar(50) DEFAULT '' Catalog action that causes the conflict
* CatalogVersion nvarchar(128) Version info of used catalog
* Notes nvarchar(max) Notes written during the catalog update process
Indexes
PK_SoftwareCatalogConflict Primary Key ON ID
Foreign Key
FK_SoftwareCatalogConflict_SoftwarePackage SoftwarePackageID ↗ ❏ SoftwarePackage(ID)
FK_SoftwareCatalogConflict_SoftwareSignature SoftwareSignatureID ↗ ❏ SoftwareSignature(ID)


Table SoftwareCategory

Defines the software categories.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(32) Name of the software category
* Description nvarchar(255) DEFAULT '' Description
* SortOrder int DEFAULT 0 OctoSAM Inventory sorts categories in ascending sort order by default
* Junk bit DEFAULT 0 Flag to signal a category as junk. junk categories can be ignored on some reports and queries.
  Custom1 nvarchar(255) Custom Field 1, not used by OctoSAM.
  Custom2 nvarchar(255) Custom Field 2, not used by OctoSAM.
* Notes nvarchar(max) DEFAULT '' Notes
* LastModification datetime2 Date/Time the category was last modified
* LastModifiedBy nvarchar(128) Client user that last modified this Software category
* OctopusID nvarchar(32) Internal ID for predefined software categories, used for catalog updates. 
Indexes
PK_SoftwareCategory Primary Key ON ID
IX_SoftwareCategory_Name Unique Index ON Name
IX_SoftwareCategory_OctopusID Index ON OctopusID
Referring Foreign Key
FK_SoftwarePackage_SoftwareCategory ID ↙ ❏ SoftwarePackage(SoftwareCategoryID)


Table SoftwareItem

Software items hold customer specific information about software objects.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
SoftwarePublisherID bigint
* Guid uniqueidentifier Unique ID of the item, can be used for export/import or for the web UI.
SiteUniqueID nvarchar(128) A site defined unique id for each item. Must be unique if not empty.
* Name nvarchar(128) Name of the software Item
* Version nvarchar(128) Version of the software item
  StartDate datetime2 Start date of the software item
  EndDate datetime2 End date of the software item
  AdditionalInfoLink nvarchar(256) Can contain a link to additional information
* Description nvarchar(max) Description of the item. Can be html formatted.
* Notes nvarchar(max) Remarks that are visible to all users that have read access to the item
  InitialCost decimal(18,2) Initial Cost
InitialCostCurrencyID bigint
  CustomField1 nvarchar(max) Custom field 1, not used by OctoSAM.
  CustomField2 nvarchar(max) Custom field 2, not used by OctoSAM.
  CustomField3 nvarchar(max) Custom field 3, not used by OctoSAM.
  CustomField4 nvarchar(max) Custom field 4, not used by OctoSAM.
  CustomField5 nvarchar(max) Custom field 5, not used by OctoSAM.
  CustomField6 nvarchar(max) Custom field 6, not used by OctoSAM.
  Res1 nvarchar(max) Reserved for future use
  Res2 nvarchar(max) Reserved for future use
* Created datetime2 Date/Time the item got created
* LastModification datetime2 Date/Time the item was last modified
* CreatedByRbacUserID bigint RBAC user that created the item
* LastModifiedByRbacUserID bigint RBAC user that last modified the item
* VisibleStartDate datetime2 Item becomes automatically visible after this date
* Visible bit Item is visible
* Enabled bit If not enabled, the Item cannot be edited.
* OwnerNotes nvarchar(max) DEFAULT '' Remarks that can only be read by software package owners
  RecurringCost decimal(18,2) Recurring Cost
RecurringCostCurrencyID bigint
* PrintableName nvarchar(255) DEFAULT '' Name of this item for reports and queries
* Active bit DEFAULT 1 Mark the Item as active. Inactive items can be hidden from most lists.
* AdministratorNotes nvarchar(max) DEFAULT '' Remarks that can only be read by a small group of users
  Units decimal(18,0) A universal field that can contain a number
  ExtraData nvarchar(max) Extra data for this software item
  SoftwareInstallationApproval bit Installation approval logic is active for this software item
  Spla bit True, if the Software Item describes a Microsoft SPLA item
Indexes
PK_SoftwareItem Primary Key ON ID
UK_SoftwareItem_Guid Unique Key ON Guid
UK_SoftwareItem_UniqueNameVersion Unique Key ON Name, Version
IX_SoftwareItem_SoftwarePublisherID Index ON SoftwarePublisherID
IX_SoftwareItem_SiteUniqueID Unique Index ON SiteUniqueID
Foreign Key
FK_SoftwareItem_InitialCostCurrency InitialCostCurrencyID ↗ ❏ Currency(ID)
FK_SoftwareItem_RecurringCostCurrency RecurringCostCurrencyID ↗ ❏ Currency(ID)
FK_SoftwareItem_SoftwarePublisher SoftwarePublisherID ↗ ❏ SoftwarePublisher(ID)
Referring Foreign Key
FK_SoftwareItemLicenseManagerServer_SoftwareItem ID ↙ ❏ SoftwareItemLicenseManagerServer(SoftwareItemID)
FK_SoftwareItemMachine_SoftwareItem ID ↙ ❏ SoftwareItemMachine(SoftwareItemID)
FK_SoftwareItemOrganization_SoftwareItem ID ↙ ❏ SoftwareItemOrganization(SoftwareItemID)
FK_SoftwareItemSoftwarePackage_SoftwareItem ID ↙ ❏ SoftwareItemSoftwarePackage(SoftwareItemID)
FK_SoftwareItemUser_SoftwareItem ID ↙ ❏ SoftwareItemUser(SoftwareItemID)


Table SoftwareItemLicenseManagerServer

M:n relation between SoftwareItem and LicenseManagerServer tables

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* SoftwareItemID bigint
* LicenseManagerServerID bigint
* Created datetime2 Date/Time this entity got created in the database
  CreatedBy nvarchar(50) User that created this relation
Indexes
PK_SoftwareItemLicenseManagerServer Primary Key ON ID
IX_SoftwareItemLicenseManagerServer_LicenseManagerServerID Index ON LicenseManagerServerID
IX_SoftwareItemLicenseManagerServer_SoftawareItemID Index ON SoftwareItemID
Foreign Key
FK_SoftwareItemLicenseManagerServer_LicenseManagerServer LicenseManagerServerID ↗ ❏ LicenseManagerServer(ID)
FK_SoftwareItemLicenseManagerServer_SoftwareItem SoftwareItemID ↗ ❏ SoftwareItem(ID)


Table SoftwareItemMachine

M:n SoftwareItem to Machine relation, for Items that are linked to specific machines

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* SoftwareItemID bigint
* MachineID bigint
* Created datetime2 Date/Time this relation got created
* CreatedBy nvarchar(128) User that created this relation
* LastModification datetime2 Date/Time this relation got last modified
* LastModifiedBy nvarchar(128) User that last modified this relation
  ExtraData nvarchar(max) COLLATE Latin1_General_CI_AS Reserved for future use
  Res1 nvarchar(128) COLLATE Latin1_General_CI_AS Reserved for future use
  Res2 nvarchar(128) COLLATE Latin1_General_CI_AS Reserved for future use
Indexes
PK_SoftwareItemMachine Primary Key ON ID
Foreign Key
FK_SoftwareItemMachine_Machine MachineID ↗ ❏ Machine(ID)
FK_SoftwareItemMachine_SoftwareItem SoftwareItemID ↗ ❏ SoftwareItem(ID)


Table SoftwareItemOrganization

M:n SoftwareItem to Organization relation for Items that are linked to specific organizattions

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OrganizationID bigint
* SoftwareItemID bigint
* Visible bit Reserved for future use
* MachineEntitled bit True if machines of the organizations are entitled
* UserEntitled bit True if users of the organization are entitled
Indexes
PK_SoftwareItemOrganization Primary Key ON ID
Foreign Key
FK_SoftwareItemOrganization_Organization OrganizationID ↗ ❏ Organization(ID)
FK_SoftwareItemOrganization_SoftwareItem SoftwareItemID ↗ ❏ SoftwareItem(ID)


Table SoftwareItemOwner

M:n relation between SoftwareItem and RBAC User. Models software item ownership. Software Item Owners can be assigned special privileges on their owned products.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* RbacUserID bigint
* SoftwareItemID bigint
* Created datetime Date/Time this relation got created
* CreatedByRbacUserID bigint Rbac User that created the relation
Indexes
PK_SoftwareListOwner Primary Key ON ID
IX_SoftwareItemOwner_RbacUserID Index ON RbacUserID
IX_SoftwareItemOwner_SoftwareItemID Index ON SoftwareItemID
Foreign Key
FK_SoftwareItemOwner_RbacUser RbacUserID ↗ ❏ RbacUser(ID)
FK_SoftwareItemOwner_SoftwareItemOwner ID ↗ ❏ SoftwareItemOwner
Referring Foreign Key
FK_SoftwareItemOwner_SoftwareItemOwner ID ↙ ❏ SoftwareItemOwner


Table SoftwareItemSoftwarePackage

M:n relation between SoftwareItem and SoftwarePackage

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* SoftwarePackageID bigint
* SoftwareItemID bigint
  Created datetime2 Date/Time this entity got created
  CreatedBy nvarchar(50) COLLATE Latin1_General_CI_AS User who created this entity
Indexes
PK_SoftwareListSoftwarePackage Primary Key ON ID
IX_SoftwareItemSoftwarePackage_SoftwareItemID Index ON SoftwareItemID
IX_SoftwareItemSoftwarePackage_SoftwarePackageID Index ON SoftwarePackageID
Foreign Key
FK_SoftwareItemSoftwarePackage_SoftwareItem SoftwareItemID ↗ ❏ SoftwareItem(ID)
FK_SoftwareItemSoftwarePackage_SoftwarePackage SoftwarePackageID ↗ ❏ SoftwarePackage(ID)


Table SoftwareItemUser

M:n relation between SoftwareItem and User for items that are linked to specific users

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* SoftwareItemID bigint
* UserID bigint
* Created datetime2 Date/Time this relation got created
* CreatedBy nvarchar(128) User that created the relation
* LastModification datetime2 Date/Time this relation got last updated
* LastModifiedBy nvarchar(128) User that last modified the relation
Indexes
PK_SoftwareItemUser Primary Key ON ID
IX_SoftwareItemUser_SoftwareItemID Index ON SoftwareItemID
IX_SoftwareItemUser_UserID Index ON UserID
Foreign Key
FK_SoftwareItemUser_SoftwareItem SoftwareItemID ↗ ❏ SoftwareItem(ID)
FK_SoftwareItemUser_User UserID ↗ ❏ User(ID)


Table SoftwareLicensingType

Licensing Type (Freware, Shareware, Commercial etc.).

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OctopusID nvarchar(32) Internal Id used for catalog updates
* Name nvarchar(50) Name
* LicensingRelevant bit True for commercial licensing types
Indexes
PK_SoftwareLicensingType Primary Key ON ID
IX_SoftwareLicensingType_Name Unique Index ON Name
Referring Foreign Key
FK_SoftwarePackage_SoftwareLicensingType ID ↙ ❏ SoftwarePackage(SoftwareLicensingTypeID)


Table SoftwarePackage

A software package defines a logical software entity. A software package can own 0 to n software signatures.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(255) Name of the software package
* Notes nvarchar(max) DEFAULT '' Custom notes
* SoftwareCategoryID bigint
* SoftwarePublisherID bigint
* LastModification datetime2 Date/Time of last write to this software package
  DeploymentGroup nvarchar(255) Can be used to assign security groups to machine objects in the directory. Some software deployment systems use this to determine what package to install on what machine (or for which user).
* MeteringEnabled bit DEFAULT 0 True, if the software package definition supports package metering.
  CustomField1 nvarchar(255) Custom data not used by OctoSAM
  CustomField2 nvarchar(255) Custom data not used by OctoSAM
* PredefinedByOctopus bit DEFAULT 0 The package definition is maintained through OctoSAM master catalog updates
* PredefinedSiteSpecific bit DEFAULT 0 The package definition is maintained by Octosoft through OctoSAM site specific master catalog updates
  CustomField3 nvarchar(255) Custom Data - not used by OctoSAM Inventory
  CustomField4 nvarchar(255) Custom Data - not used by OctoSAM Inventory
  SynchTokenID nvarchar(255) Can be used for synchronization with another inventory or CMDB system. Holds the key to the identical item in the CMDB. Not used by OctoSAM Inventory.
  SynchLastSynch datetime2 Date/Time of last synchronization of this SoftwarePackage with the partner CMDB. Not used by OctoSAM Inventory.
* AutoAssignEnabled bit DEFAULT 0 Auto assign rules for new signatures enabled
* AutoAssignRegex nvarchar(2048) A regular expression that is used to automatically assign new signatures to this software package
  AutoAssignTestLikePattern nvarchar(128) SQL LIKE and/or regular expression pattern used to select signatures for auto assign testing
* LastModifiedBy nvarchar(128) Client User that last modified this software package through the Octopus UI
* DeploymentAction nchar(1) DEFAULT N'U' Used for deployment consolidation. Can be 'U' for Unknown, 'A' for Approved, 'R' for Replace with, or 'I' for Ignored.
DeploymentReplacementSoftwarePackageID bigint If DeploymentAction = 'R', this Field holds the PackageID of the replacement package
  Res1 nvarchar(64) Reserved for internal use by future versions
  Res2 nvarchar(64) Reserved for internal use by future versions
* Created datetime2 Date/Time package was created in the database
* CreatedBy nvarchar(64) User that created the package
  CreatedGuid uniqueidentifier Reserved for future use
* KeepDynamicMachineSignatureRelations bit DEFAULT 0 Prevents automatic dynamic signature to machine reorg. Dynamic signatures (processes) to machine relations are cleared after 10 days if they are not in a software package with static signature relations to the same machine or this flag set.
* Guid uniqueidentifier GUID used for catalog updates. Stays the same for all OctoSAM defined software packages through the lifecycle of the package definition. Allows rename and delete of packages during catalog update.. Do not set if definig your own custom packages directly in the database.
* SoftwareLicensingTypeID bigint
  LastUpdateFromMaster datetime2 Date/Time a software catalog update last updated this package
  LastSynchWithMaster datetime2 Date/Time time a software catalog update contained this package
  MasterLastModified datetime2 Date/Time master definition was updated. by Octosoft.
  MasterLastModifiedBy nvarchar(128) User that updated the softwrae catalog
* MasterNotes nvarchar(max) DEFAULT '' Package master catalog notes
* AutoAssignNotes nvarchar(max) DEFAULT '' Notes about quirks in the AutoAssign rules
* SwidTagMayRemainOnUninstall bit DEFAULT 0 Set to true for software that routinely leaves the swid tag file behind on uninstall. Adobe is known for this behaviour.
* IgnoreSignaturePublishers bit DEFAULT 0 If set to true, OcoSAM Inventory does not try to find the package publisher based on signature publishers.
  MeteringRegex nvarchar(2048) Reserved for future use
  MeteringTestLikePattern nvarchar(128) Reserved for future use
  AuxiliaryRegex nvarchar(2048) Reserved for future use
  AuxiliaryTestLikePattern nvarchar(128) Reserved for future use
  SoftwareProductVersionID bigint Reserved for future use
  EditionName nvarchar(128) Reserved for future use
* EditionPriority int DEFAULT 0 Reserved for future use
  HintSoftwarePackageUsageStartDate datetime2 Min consolidated usage date for this software package
  HintSoftwarePackageUsageEndDate datetime2 Max consolidated usage date for this Package
  HintHasSoftwareItems bit True if the Software Package is linked to at least one SoftwareItem
  CustomerID uniqueidentifier A guid that indicates the customer for client specific packages
  InstallationID uniqueidentifier Reserved for future use,
  AnalysisExtras xml Holds additional analysis data,
  ServiceNowSysID uniqueidentifier Service Now: sys_id of replicated object,
  ServiceNowLastExport datetime2 Date/Time of last export to ServiceNow,
  ServiceNowLastImport datetime2 Date/Time of last import from ServiceNow,
  ExtraData nvarchar(max) Extra data for this object (JSON),
  LifecycleSupportPolicy nvarchar(50) For package specific software life cycle: contains a publisher specific life cycle policy name,
  LifecycleStartDate datetime2 For package specific software life cycle: life cycle start date,
  LifecycleMainstreamEndDate datetime2 For package specific software life cycle: 
mainstream support end date,
  LifecycleExtendedEndDate datetime2 For package specific software life cycle: 
extended support end date,
  LifecycleRetirementDate datetime2 Reserved for future use,
  LifecycleReleaseStartDate datetime2 Reserved for future use,
  LifecycleReleaseEndDate datetime2 Reserved for future use,
  LifecycleLongTermSupport bit for package specific software life cycle: true if a long term support release
LifecycleDefinitionTypeID bigint
  LifecycleNotes nvarchar(max) COLLATE Latin1_General_CI_AS Notes from the lifcycle definition for packages that have a package specific lifecycle definition,
  AlwaysCreatePackage bit DEFAULT 0 If true, the package always gets created in the database regardless of installation status,
Indexes
PK_SoftwarePackage Primary Key ON ID
IX_SoftwarePackage Unique Key ON Name
UK_SoftwarePackage_Guid Unique Key ON Guid
IX_SoftwarePackage_Category Index ON SoftwareCategoryID
IX_SoftwarePackage_Publisher Index ON SoftwarePublisherID
Foreign Key
FK_SoftwarePackage_SoftwareCategory SoftwareCategoryID ↗ ❏ SoftwareCategory(ID)
FK_SoftwarePackage_SoftwareLicensingType SoftwareLicensingTypeID ↗ ❏ SoftwareLicensingType(ID)
FK_SoftwarePackage_SoftwarePackage1 ID ↗ ❏ SoftwarePackage
FK_SoftwarePackage_SoftwarePackage_DeploymentReplacementSoftwarePackageID DeploymentReplacementSoftwarePackageID ↗ ❏ SoftwarePackage(ID)
FK_SoftwarePackage_SoftwarePublisher SoftwarePublisherID ↗ ❏ SoftwarePublisher(ID)
FK_SoftwarePackage_LifecycleDefinitionType LifecycleDefinitionTypeID ↗ ❏ LifecycleDefinitionType(ID)
Referring Foreign Key
FK_MachineSoftwarePackage_SoftwarePackage ID ↙ ❏ MachineSoftwarePackage(SoftwarePackageID)
FK_PublishedSoftwarePackage_SoftwarePackage ID ↙ ❏ PublishedSoftwarePackage(SoftwarePackageID)
FK_SoftwareCatalogConflict_SoftwarePackage ID ↙ ❏ SoftwareCatalogConflict(SoftwarePackageID)
FK_SoftwareItemSoftwarePackage_SoftwarePackage ID ↙ ❏ SoftwareItemSoftwarePackage(SoftwarePackageID)
FK_SoftwarePackage_SoftwarePackage1 ID ↙ ❏ SoftwarePackage
FK_SoftwarePackage_SoftwarePackage_DeploymentReplacementSoftwarePackageID ID ↙ ❏ SoftwarePackage(DeploymentReplacementSoftwarePackageID)
FK_SoftwarePackageAppVGuid_SoftwarePackage ID ↙ ❏ SoftwarePackageAppVGuid(SoftwarePackageID)
FK_SoftwarePackageUsageDetail_SoftwarePackage ID ↙ ❏ SoftwarePackageUsageDetail(SoftwarePackageID)
FK_SoftwareSignature_SoftwarePackage ID ↙ ❏ SoftwareSignature(SoftwarePackageID)


Table SoftwarePackageAppVGuid

Allows site-specific Mapping of Microsoft AppV Guids to Software Packages

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* SoftwarePackageID bigint
* AppVGuid uniqueidentifier Guid as defined in App-V
* Created datetime2 Date/Time this entity got created
* CreatedBy nvarchar(50) User that created this entity
Indexes
PK_SoftwarePackageAppVGuid Primary Key ON ID
IX_SoftwarePackageAppVGuid_AppVGuid Index ON AppVGuid
IX_SoftwarePackageAppVGuid_SoftwarePackageID Index ON SoftwarePackageID
Foreign Key
FK_SoftwarePackageAppVGuid_SoftwarePackage SoftwarePackageID ↗ ❏ SoftwarePackage(ID)


Table SoftwarePackageUsageDetail

Consolidated usage information per software package per user per machine per day. Perform OctoSAM Inventory housekeeping to update this table from UsageDetail.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* UserID bigint
* SoftwarePackageID bigint
* UsageDate datetime2 Date the usage was detected. Note that the time portion of this column is always 00:00:00,000, This is because .net and older versions of SQL Server do not have a dedicated Date datatype. May change to Date in the future.
* Minutes int Consolidated usage time in minutes per day-
Indexes
PK_SoftwarePackageUsageDetail Primary Key ON ID
IX_SoftwarePackageUsageDetail_MachineID_Clustered Index ON MachineID
IX_SoftwarePackageUsageDetail_PackageID Index ON SoftwarePackageID
IX_SoftwarePackageUsageDetail_UserID Index ON UserID
Foreign Key
FK_SoftwarePackageUsageDetail_Machine MachineID ↗ ❏ Machine(ID)
FK_SoftwarePackageUsageDetail_SoftwarePackage SoftwarePackageID ↗ ❏ SoftwarePackage(ID)
FK_SoftwarePackageUsageDetail_User UserID ↗ ❏ User(ID)


Table SoftwarePublisher

Normalized publisher information from the catalog.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier Unique identifier for objects that are synchronized with the master catalog
* PredefinedByOctopus bit True if publisher is to be synchronized with the master catalog
* Name nvarchar(128) Software publisher's name
* Url nvarchar(128) Link to the Website
* Notes nvarchar(max) Customers notes to the publisher. Not synchronized from the master catalog.
* MasterNotes nvarchar(max) Notes that are synchronized from the master catalog,
* AutoAssignEnabled bit DEFAULT 0 True if signture publisher are to be discovered,
* AutoAssignRegex nvarchar(1024) Regex to discover the publisher in signtures,
  AutoAssignTestLikePattern nvarchar(128) SQL LIKE type filter used to select signatures for auto assign testing
* AutoAssignNotes nvarchar(max) Notes about the discovery rules from master catalog,
* JunkFilterEnabled bit DEFAULT 0 True if junk signatures are to be discovered,
* JunkFilterRegex nvarchar(1024) DEFAULT '' Regex to discover junk signatures per publisher,
  JunkFilterTestLikePattern nvarchar(128) SQL LIKE type filter used to select signatures for junk filter testing
* Created datetime2 DateTime this entity got created,
* CreatedBy nvarchar(50) User that created the entity,
* LastModification datetime2 DateTime this entity got last modified,
* LastModifiedBy nvarchar(128) User that last modified the entity,
  MasterLastModified datetime2 DateTime the master catalog entity got last modified,
  MasterLastModifiedBy nvarchar(128) User that last modified the master catalog information (not replicated),
  LastUpdateFromMaster datetime2 DateTime the entity got last updated from master,
  LastSynchWithMaster datetime2 DateTime the entity last synchronized with master,
  CustomField1 nvarchar(255) Not used by OctoSAM,
  CustomField2 nvarchar(255) Not used by OctoSAM,
  CustomField3 nvarchar(50) Not used by OctoSAM,
  CustomField4 nvarchar(50) Not used by OctoSAM,
* HintHasSoftwareItems bit DEFAULT 0 True if software items assigned to this publisher exist,
ObjectStateID bigint
Indexes
PK_SoftwarePublisher Primary Key ON ID
UK_SoftwarePublisher_Guid Unique Key ON Guid
UK_SoftwarePublisher_Name Unique Key ON Name
Foreign Key
FK_SoftwarePublisher_ObjectState ObjectStateID ↗ ❏ ObjectState(ID)
Referring Foreign Key
FK_Machine_SoftwarePublisher ID ↙ ❏ Machine(OperatingSystemSoftwarePublisherID)
FK_SoftwareItem_SoftwarePublisher ID ↙ ❏ SoftwareItem(SoftwarePublisherID)
FK_SoftwarePackage_SoftwarePublisher ID ↙ ❏ SoftwarePackage(SoftwarePublisherID)
FK_SoftwarePublisherSwidRegid_SoftwarePublisher ID ↙ ❏ SoftwarePublisherSwidRegid(SoftwarePublisherID)
FK_SoftwareSignature_SoftwarePublisher ID ↙ ❏ SoftwareSignature(SoftwarePublisherID)
FK_MachineOfficeAddIn_SoftwarePublisher ID ↙ ❏ MachineOfficeAddIn(SoftwarePublisherID)
FK_MachineUserOfficeAddIn_SoftwarePublisher ID ↙ ❏ MachineUserOfficeAddIn(SoftwarePublisherID)


Table SoftwarePublisherSwidRegid

Reserved for future use

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* SoftwarePublisherID bigint
* Regid nvarchar(128)
* Created datetime2 Date/Time this entity got created in the database
* CreatedBy nvarchar(64) User that created this entity
* LastModification datetime2 Date/Time this entity got last modified
* LastModifiedBy nvarchar(128) User that last modified this entity
Indexes
PK_SoftwarePublisherSwidRegid Primary Key ON ID
Foreign Key
FK_SoftwarePublisherSwidRegid_SoftwarePublisher SoftwarePublisherID ↗ ❏ SoftwarePublisher(ID)


Table SoftwareRepackager

Detected software repackagers. Relies on the Import Service detecting special signatures that software repackagers add to the install.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(50) Name of a detected repackager
* Description nvarchar(250) Description of a detected repackager
* Created datetime2 Date/Time a repackager was first detected
Indexes
PK_SoftwareRepackager Primary Key ON ID
Referring Foreign Key
FK_MachineSoftwareSignature_SoftwareRepackager ID ↙ ❏ MachineSoftwareSignature(SoftwareRepackagerID)


Table SoftwareSignature

A software signature is a unique pattern detected by software scan, like a fingerprint that a particular software leaves on on machines.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
MD5Hash char(16) Reserved for future use. Unique Hash over multiple columns, used to speed up the import service and to discern software signatures in future versions.
SoftwarePackageID bigint
* Signature nvarchar(350) Signature after signature rewriting process. Used to uniquely identify a software signature object.
* Dynamic bit A dynamic signature is a signature that is not present on every scan. For example information about running processes. Dynamic signature relations to machines are not immdiately removed if not found in a .single scan file.
* RawPublisher nvarchar(64) COLLATE Latin1_General_CI_AS Publisher of the software (raw information as seen by the scan, see SoftwarePublisher table for normalized publisher information).
* Version nvarchar(128) Version Information from the MSI registry (if known)
* Notes nvarchar(max) DEFAULT '' Custom notes
* Created datetime2 Time this object was created
* CreatedGUID uniqueidentifier Scan GUID that created this Software Signature
* ScanSignature nvarchar(350) The Signature as reported by Octoscan2 (without signature rewriting)
  ScanHint nvarchar(32) Octoscan can place additional information about found software signatures that can be used for rewriting
  CustomField1 nvarchar(255) Custom Data - not used by OctoSAM Inventory
  CustomField2 nvarchar(255) Custom Data - not used by OctoSAM Inventory
  LastModification datetime2 Date/Time this Signature record was last modified through the OctoSAM Inventory UI
  Comments nvarchar(255) Comment field from the Windows installer registry,
  Contact nvarchar(255) Contact field from the Windows Installer Registry
  ProductCode nvarchar(255) ProductCode from the Windows Installer Registry
  ProductName nvarchar(255) ProductName from either the Windows Installer Registry or from process version resource
  VersionMajor bigint VersionMajor Field from the Windows installer fegistry
  VersionMinor bigint VersionMinor Field from the Windows installer registry
  HelpLink nvarchar(255) HelpLink Field from the Windows Installer Registry
  UrlInfoAbout nvarchar(255) UrlInfoAbout Field from the Windows Installer Registry
  UrlUpdateInfo nvarchar(255) UrlUpdateInfo Field from the Windows Installer Registry
* SystemComponent bit DEFAULT 0 SystemComponent Flag from the Windows Installer Registry
  Language bigint Language code from the Windows Installer Registry
  Info nvarchar(255) Info field from Windows Registry and Mac system_profiler
  Res1 nvarchar(64) Reserved for internal use of future versions
  Res2 nvarchar(64) Reserved for internal use of future versions
  Path nvarchar(255) Installation location of a software component
  Architecture nvarchar(16) Architecture field from the Windows Installer Registry or from process executable information
* MayRemainAfterUninstall bit DEFAULT 0 This can be used for static signatures that are left behind on product uninstall. For example some Adobe products leave the SWID tag file on uninstall.
  Rewritten bit True if the Signature field was rewritten by signature rewriting rules
  RewritingRuleName nvarchar(128) Name of the last rule that was applied at signature rewriting
* SwidSignature bit DEFAULT 0 True if the signature was generated from an SWID tag file
SoftwarePublisherID bigint
* Junk bit DEFAULT 0 True if the signature is considered junk by junk filter rules
  ReportedToCentral datetime2 For installations with central reporting of new signatures, timestamp when the signature was reported.
* Virtualized bit DEFAULT 0 True if a signature stems from a virtualization system such as App-V
  LicensingRelevant bit For software packages with licensing type multiple, this can indicate a commercial signature. Requires additional detection Logic in OctoSAM. Used for example for Java Packages that have free and paid update levels.
  BaseVersion nvarchar(64) Signature version determined by per-product logic within OctoSAM for signatures where uniform versioning has a speical relevance such as Java
  AnalysisExtras xml Holds extra data that is used internally by OctoSAM
  ExtraData nvarchar(max) Extra data for this software signature that is used internally by OctoSAM
  InstallationApproved bit If true, installation of this signature is approved on all machines.
  InstallationApprovedChanged datetime2 Date/Time the installation approval flag was last changed
  InstallationApprovedChangedBy nvarchar(50) COLLATE Latin1_General_CI_AS User that last changed the installation approval flag
  ExactVersion nvarchar(128) COLLATE Latin1_General_CI_AS Some scanners provide a detailed signature version for special signatures such as Java, where exact build version can be of interest.
  ReleaseType nvarchar(50) COLLATE Latin1_General_CI_AS Some software such as Oracle Java is available in different release types. The values in this field are specific to the software or publisher.
  LastScan datetime2 Date/Time this signature was last scanned on any machine
* Guid uniqueidentifier DEFAULT newid() A unique ID that can be used to link to this object by external applications
ObjectStateID bigint
  CustomField3 nvarchar(255) COLLATE Latin1_General_CI_AS Custom Data - not used by OctoSAM Inventory
  CustomField4 nvarchar(255) COLLATE Latin1_General_CI_AS Custom Data - not used by OctoSAM Inventory
Indexes
PK_SoftwareSignature Primary Key ON ID
IX_SoftwareSignatureSignature Unique Key ON Signature
IX_SoftwareSignature_Dynamic Index ON Dynamic
IX_SoftwareSignature_MD5Hash Index ON MD5Hash
IX_SoftwareSignature_PackageID Index ON SoftwarePackageID
IX_SoftwareSignature_ScanSignature Index ON ScanSignature
IX_SoftwareSignature_SoftwarePublisher Index ON SoftwarePublisherID
UK_SoftwareSignature_Guid Unique Key ON Guid
IX_SoftwareSignature_FilterLicensingRelevant Index ON ID
Foreign Key
FK_SoftwareSignature_SoftwarePackage SoftwarePackageID ↗ ❏ SoftwarePackage(ID)
FK_SoftwareSignature_SoftwarePublisher SoftwarePublisherID ↗ ❏ SoftwarePublisher(ID)
FK_SoftwareSignature_ObjectState ObjectStateID ↗ ❏ ObjectState(ID)
Referring Foreign Key
FK_MachineSoftwareSignature_SoftwareSignature ID ↙ ❏ MachineSoftwareSignature(SoftwareSignatureID)
FK_MachineUserSoftwareSignature_SoftwareSignature ID ↙ ❏ MachineUserSoftwareSignature(SoftwareSignatureID)
FK_SoftwareCatalogConflict_SoftwareSignature ID ↙ ❏ SoftwareCatalogConflict(SoftwareSignatureID)
FK_UsageDetail_SoftwareSignature ID ↙ ❏ UsageDetail(SoftwareSignatureID)


Table StatisticsSummary
IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
OrganizationID bigint
* Created datetime2 Date/Time this statistics summary was created
* BuildVersion nvarchar(50) COLLATE Latin1_General_CI_AS OctoSAM build version
* BuildDate datetime2 OctoSAM build date
* Machines bigint Number of machines
* Servers bigint Number of machines with a server operating system
* WindowsServers bigint Number of Windows servers
* WindowsMachines bigint Number of Windows machines
* MacMachines bigint Number of Macs
* EsxMachines bigint Number of ESX hosts
* LinuxMachines bigint Number of Linux machines
* Users bigint Number of users
* LicenseUnits bigint Assigned license units (machines)
* LicenseServerUnits bigint Assigned server license units
* LicenseGraceUnits bigint Grace license that allow operation of OctoSAM even if the license units are exceeded
* LicenseServerGraceUnits bigint Grace server license units
* LicenseReadOnlyAfter datetime2 After this date, OctoSAM can only be used in read-only mode
* LicenseValidThru datetime2 License expiry date
* LicenseOptions nvarchar(512) COLLATE Latin1_General_CI_AS License options
* OracleJavaApprovedJavaInstallations bigint Number of approved Oracle Java SE installations that might consume a license
* OracleJavaMsiInstallations bigint Number of Oracle Java SE installations that were made using a .MSI installaion that may require a paid license
* OracleJavaLicensingRelevantInstallations bigint Number of Oracle Java SE installations that require a paid subscription
* JavaInstallations bigint Total number of detected Java installations of any type
* JavaPackages bigint Number of different Java packages installed
* ServersDeletedInDirectory bigint Number of servers that we detected as deleted in directory
* MachinesDeletedInDirectory bigint Number of machines that we detected as deleted in directory
* CatalogConflicts bigint Number of conflicts in the software catalog at last catalog update
* ErrorsLast24Hrs bigint Number of logged errors in the last 24 hrs
* WarningsLast24Hrs bigint Number of logged warnings in the last 24 hrs
* IncompleteScanFileErrorsLast24Hrs bigint Number of logged incomplete scan file errors in the last 24 hrs
* LicenseManagerServersErrorsLast24Hrs bigint Number of logged license manager server observer errors in the last 24 hrs
* CustomCounter1 bigint DEFAULT 0 Not used by OctoSAM
* CustomCounter2 bigint DEFAULT 0 Not used by OctoSAM
* CustomCounter3 bigint DEFAULT 0 Not used by OctoSAM
* CustomCounter4 bigint DEFAULT 0 Not used by OctoSAM
  CustomField1 nvarchar(50) COLLATE Latin1_General_CI_AS Not used by OctoSAM
  CustomField2 nvarchar(50) COLLATE Latin1_General_CI_AS Not used by OctoSAM
  CustomField3 nvarchar(50) COLLATE Latin1_General_CI_AS Not used by OctoSAM
  CustomField4 nvarchar(50) COLLATE Latin1_General_CI_AS Not used by OctoSAM
  ResCounter1 bigint DEFAULT 0 Reserved for future use
* ResCounter2 bigint DEFAULT 0 Reserved for future use
* ResCounter3 bigint DEFAULT 0 Reserved for future use
* ResCounter4 bigint DEFAULT 0 Reserved for future use
  Res1 nvarchar(50) COLLATE Latin1_General_CI_AS Reserved for future use
  Res2 nvarchar(50) COLLATE Latin1_General_CI_AS Reserved for future use
  Res3 nvarchar(50) COLLATE Latin1_General_CI_AS Reserved for future use
* ImportsLast24Hrs bigint DEFAULT 0 Total number of imports in the last 24 hrs
* MacImportsLast24Hrs bigint DEFAULT 0 Number of imported Mac scans in the last 24 hrs
* LinuxImportsLast24Hrs bigint DEFAULT 0 Number of imported Linux scans in the last 24 hrs
* WindowsWorkstations bigint DEFAULT 0 Number of Windows Workstations
  Date date Date this entity got created
* SoftwarePackages bigint DEFAULT 0 Number of software packages in the database
* SoftwareSignatures bigint DEFAULT 0 Number of software signatures in the database
* MachineSoftwareSignatures bigint DEFAULT 0 Size of the machine to software signature relation
* UsageDetails bigint DEFAULT 0 Number of software metering detail records 
* SoftwarePackageUsageDetails bigint DEFAULT 0 Number of software package metering records
* WmiInstanceProperties bigint DEFAULT 0 Number of WMI instance properties
* ScannerErrorsLast24Hrs bigint DEFAULT 0 Number of reported scanner errors in the last 24 hrs
* ScannerWarningsLast24Hrs bigint DEFAULT 0 Number of reported scanner warnings in the last 24 hrs
  LastHousekeepingStart datetime2 Date/Time the last housekeeping got started
  LastHousekeepingEnd datetime2 Date/Time the last housekeeping ended
Indexes
PK_StatisticsSummary Primary Key ON ID
IX_StatisticsSummary_Organization Index ON OrganizationID
IX_StatisticsSummary_Created Index ON Created
Foreign Key
FK_StatisticsSummary_Organization OrganizationID ↗ ❏ Organization(ID)


Table SwidDocument

Used to hold scanned SWID Tag XML documents.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineSoftwareSignatureID bigint
* SwidDocument xml Contents of the tag file
* Path nvarchar(255) Absolute path of the tag file on the client machine
* Created datetime2 DEFAULT getdate() Date/Time this entry was created
* CreatedGUID uniqueidentifier GUID of the scan that created this entry
* LastScan datetime2 Date/Time this SWID Tag was last found in a scan
* LastScanGUID uniqueidentifier GUID of the scan file that last detected this SWID tag
  ProductTitle nvarchar(250) SWID product_title
  ProductVersion nvarchar(50) SWID product_version
  SoftwareCreator nvarchar(255) SWID software_creator name
  SoftwareCreatorRegID nvarchar(50) SWID software_creator regid
  SoftwareLicensor nvarchar(255) SWID software_licensor name
  SoftwareLicensorRegID nvarchar(50) SWID software_creator regid
  TagCreator nvarchar(255) SWID tag_creator name
  TagCreatorRegID nvarchar(50) SWID tag_creator regid
  UniqueID nvarchar(255) SWID software_id unique_id
  EntitlementRequiredIndicator bit SWID entitlement_required
  ActivationStatus nvarchar(50) SWID activation_status
  ChannelType nvarchar(50) SWID channel_type
  CustomerType nvarchar(50) SWID customer_type
  SerialNumber nvarchar(255) SWID serial_number element
  LicenseLinkage bit true if SWID document contains a license_linkage element
Indexes
PK_SwidDocument Primary Key ON ID
IX_SwidDocument_MachineSoftwareSignatureID Index ON MachineSoftwareSignatureID
Foreign Key
FK_SwidDocument_MachineSoftwareSignature MachineSoftwareSignatureID ↗ ❏ MachineSoftwareSignature(ID)


Table UalDeviceAccess

Microsoft User Access Log device access data.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* UalRoleID bigint
ClientMachineID bigint
* IPAddress nvarchar(50) Microsoft UAL Device Access IP address
* ClientFQDN nvarchar(128) Hostname of the client through DNS reverse lookup or OctoSAM Inventory lookup
* ActivityCount bigint The number of times a particular device accessed the role or service
* FirstSeen datetime2 The date and time when an IP address was first used to access a role or service
* LastSeen datetime2 The date and time when an IP address was last used to access a role or service
Indexes
PK_UalDeviceAccess Primary Key ON ID
IX_UalDeviceAccess_ClientMachineID Index ON ClientMachineID
IX_UalDeviceAccess_MachineID Index ON MachineID
IX_UalDeviceAccess_RoleID Index ON UalRoleID
Foreign Key
FK_UalDeviceAccess_ClientMachine ClientMachineID ↗ ❏ Machine(ID)
FK_UalDeviceAccess_Machine MachineID ↗ ❏ Machine(ID)
FK_UalDeviceAccess_UalRole UalRoleID ↗ ❏ UalRole(ID)


Table UalRole

Holds Microsoft User Access Log application/role Names and GUIDs

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier Microsoft User Access Logging role GUID
* ProductName nvarchar(256) Microsoft User Access Logging product name
* RoleName nvarchar(256) Microsoft User Access Logging role name
Indexes
PK_UalRole Primary Key ON ID
IX_UalRoleGuid Unique Index ON Guid, ProductName
Referring Foreign Key
FK_UalDeviceAccess_UalRole ID ↙ ❏ UalDeviceAccess(UalRoleID)
FK_UalUserAccess_UalRole ID ↙ ❏ UalUserAccess(UalRoleID)


Table UalUserAccess

Holds Microsoft User Access Log user access data.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineID bigint
* UalRoleID bigint
UserID bigint Set to Octosoft user id  for users that could be mapped
* UserName nvarchar(256) The user name on the client that accompanies the UAL entries from installed roles and products, if applicable.
* TenantIdentifier nvarchar(64) A unique GUID for a tenant client of an installed role or product that accompanies the UAL data, if applicable.
* ActivityCount bigint The number of times a particular user accessed a role or service
* FirstSeen datetime2 The date and time when a user first accesses a role or service
* LastSeen datetime2 The date and time when a user last accessed a role or service
Indexes
PK_UalUserAccess Primary Key ON ID
IX_UalUserAccess_MachineID Index ON MachineID
IX_UalUserAccess_UalRoleID Index ON UalRoleID
IX_UalUserAccess_UserID Index ON UserID
Foreign Key
FK_UalUserAccess_Machine MachineID ↗ ❏ Machine(ID)
FK_UalUserAccess_UalRole UalRoleID ↗ ❏ UalRole(ID)
FK_UalUserAccess_User UserID ↗ ❏ User(ID)


Table UsageDetail

Holds detailed usage information as imported from octoscan scan files. This table should usually not be referenced directly by reports and queries. Use the consolidated SoftwarePackageUsageDetail table instead.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* SoftwareSignatureID bigint
* UserID bigint
* MachineID bigint
* ScanGUID uniqueidentifier GUID of the .scan file that created this record.
* Minutes int Usage in minutes
* ScanDateTime datetime2 Date/Time of the .scan file.
* UsageDate datetime2 Date this usage was detected. Note that the time portion of this column is always 00:00:00,000.
Indexes
PK_UsageDetail Primary Key ON ID
IX_UsageDetail_MachineID Index ON MachineID
IX_UsageDetail_ScanGUID Index ON ScanGUID
IX_UsageDetail_SoftwareSignatureID Index ON SoftwareSignatureID
IX_UsageDetail_UsageDate Index ON UsageDate
IX_UsageDetail_UserID Index ON UserID
Foreign Key
FK_UsageDetail_Machine MachineID ↗ ❏ Machine(ID)
FK_UsageDetail_SoftwareSignature SoftwareSignatureID ↗ ❏ SoftwareSignature(ID)
FK_UsageDetail_User UserID ↗ ❏ User(ID)


Table UsbDevice

Reserved for future use.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* UsbDeviceVendorID bigint
* UsbDeviceCode bigint
* Description nvarchar(512)
* Remarks nvarchar(512)
Indexes
PK_UsbDevice Primary Key ON ID
IX_UsbDevice Unique Index ON UsbDeviceVendorID, UsbDeviceCode
Foreign Key
FK_UsbDevice_UsbDeviceVendor UsbDeviceVendorID ↗ ❏ UsbDeviceVendor(ID)
Referring Foreign Key
FK_MachineUsbDevice_UsbDevice ID ↙ ❏ MachineUsbDevice(UsbDeviceID)


Table UsbDeviceVendor

Reserved for future use.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* UsbDeviceVendorCode bigint
* Name nvarchar(512)
* Remarks nvarchar(512)
Indexes
PK_UsbDeviceVendor Primary Key ON ID
IX_UsbDeviceVendor Unique Index ON UsbDeviceVendorCode
Referring Foreign Key
FK_UsbDevice_UsbDeviceVendor ID ↙ ❏ UsbDevice(UsbDeviceVendorID)


Table User

Basic user Information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* OrganizationID bigint
* LoginName nvarchar(128) sAMAccount name,
* DomainName nvarchar(128) Domain of the logged on user,
* DisplayName nvarchar(255) COLLATE Latin1_General_CI_AS DisplayName attribute from the directory service,
* UserPrincipalName nvarchar(255) COLLATE Latin1_General_CI_AS UserPrincipalName from the directory service,
* Description nvarchar(255) COLLATE Latin1_General_CI_AS Description attribute from the directory service,
* DnsDomain nvarchar(255) COLLATE Latin1_General_CI_AS The user's DNS domain
* ImportSourceID bigint Always 1 for current version of OctoSAM Inventory,
* LastModification datetime2 Time of last write to the entity,
  CustomField1 nvarchar(255) Available for custom data, not used by OctoSAM Inventory,
  CustomField2 nvarchar(255) Available for custom data, not used by OctoSAM Inventory,
* Notes nvarchar(max) DEFAULT '' Custom notes,
* DirectoryPath nvarchar(255) Path of the user object in the directory service
* DirectoryContainerPath nvarchar(255) DEFAULT '' Path to the container objct of this user
* ImporterInstance nvarchar(16) Import instance name if multiple import modules write to the same database..
* LastScanGUID uniqueidentifier GUID of last scan file that updated this entity
* LastScan datetime2 Date/Time of last scan of this user. User info may stem from multiple sources. Time can by out of sync for users scanned on client machines.
* SID nvarchar(200) Security Identifier
* ExcludeFromSoftwareInventory bit DEFAULT 0 If true, software signatures reported by this user are ignored.
* IgnoreNewSignatures bit DEFAULT 0 If true, new signatures reported by this user are ignored.
* FoundInDirectory bit True if the user was found in Active Directory at the last check (usually within 1 day)
  LastFoundInDirectory datetime2 Date/Time the user object was last found in Active Directory,
* Created datetime2 Date/Time this object was created,
* CreatedGUID uniqueidentifier Scan GUID that created this object
LastMachineID bigint Last machine that delivered a scan for this user,
MostFrequentlyUsedMachineID bigint Machine that this User uses most frequently
  CustomField3 nvarchar(255) Custom Data - not used by OctoSAM Inventory
  CustomField4 nvarchar(255) Custom Data - not used by OctoSAM Inventory
  SynchTokenID nvarchar(255) Can be used for synchronization with another inventory or CMDB system. Holds the key to the identical item in the CMDB. Not used by OctoSAM Inventory.
  SynchLastSynch datetime2 Timestamp of last synchoronization of this User with the partner CMDB. Not used by OctoSAM Inventory.
* LastModifiedBy nvarchar(128) DEFAULT 'unknown' Windows User that last modified this User record through the OctoSAM UI
  Res1 nvarchar(64) Reserved for internal use by future versions
  Res2 nvarchar(64) Reserved for internal use by future versions
  DirectoryExt1 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  DirectoryExt2 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  DirectoryExt3 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
  DirectoryExt4 nvarchar(128) Site specific data, can optionally be used to load site-specific extended schema properties.
* PrintableName nvarchar(128) DEFAULT '' Combination of attributes for consisten naming on screen or in reports
  DirectoryLastLogonTimestamp datetime2 LastLogonTimestamp attribute from Active Directory (updated on import and housekeeping). Resolution: 14 days.
  DirectoryUserAccountControl bigint UserAccountControl attribute from Active Directory (updated on import and housekeeping)
  DirectoryDisabled bit True if the UserAccountControl attribute has the disable bit set
  DirectoryEmployeeID nvarchar(64) EmployeeID attribute from Active Directory (updated on import and housekeeping)
  DirectoryDepartmentNumber nvarchar(64) DepartmentNumber from Active Drectory
  DirectoryDepartment nvarchar(255) Department from Active Directory
* FirstScan datetime2 Date/Time of first scan
  DirectoryPhysicalDeliveryOfficeName nvarchar(128) PhysicalDeliveryOfficeName attribute from Active Directory
  DirectoryHomeDirectory nvarchar(255) HomeDirectoy attribute from Active Directory
  DirectoryHomeDrive nvarchar(16) HomeDrive attribute from Active Directory
  DirectoryTitle nvarchar(128) Title (JobTitle) attribute from Active Directory
* Active bit DEFAULT 1 Reserved for future use
  DirectoryCompany nvarchar(128) Directory attribute from Active Directory
  DirectoryTelephoneNumber nvarchar(255) TelephoneNumber attribute from Active Directory
  DirectoryMail nvarchar(255) Mail attribute from Active Directory
  DirectoryProxyAddresses nvarchar(255) ProxyAddresses attribute from Active Directory
  DirectoryCity nvarchar(255) City attribute from Active Directory
  DirectoryPostalCode nvarchar(255) PostalCode attribute from Active Directory
  DirectoryStreet nvarchar(255) Street attribute from Active Directory
  DirectoryStreetAddress nvarchar(255) StreetAddress attribute from Active Directory
  DirectoryExtensionAttribute1 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute2 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute3 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute4 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute5 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute6 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute7 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute8 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute9 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute10 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute11 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute12 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute13 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute14 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryExtensionAttribute15 nvarchar(255) ExtensionAttribute from Active Directory
  DirectoryGUID uniqueidentifier objectGuid attribute from Active Directory
  DirectoryPreferredLanguage nvarchar(16) User's preferred language from ActiveDirectory
  DirectoryWhenChanged datetime2 whenChanged attribute from Active Directory (updated on import and housekeeping)
  DirectoryWhenCreated datetime2 whenCreated attribute from Active Directory
* SuggestSoftwareUninstall bit DEFAULT 1 If true, suggest this user in reports / queries for software uninstalls.
  HintSoftwarePackageUsageStartDate datetime2 Min consolidated usage date for this User
  HintSoftwarePackageUsageEndDate datetime2 Max consolidated usage date for this User
  HintInGroups bit True if the User is member in any Group
  HintCloudServices bit True if the user has any assigned cloud services,
  MacFullName nvarchar(256) For users scanned on Mac, contains the users FullName as seen by system_profiler,
  NumericUserID bigint For users scanned on Unix/Linux/macOS contains the numeric user id
* Guid uniqueidentifier DEFAULT newid() A unique ID that can be used to link to this user object by external applications,
  DirectoryMsDSConsistencyGuid uniqueidentifier A unique ID used by Microsoft Entra ID to synchronize user information,
* DeletedInDirectory bit DEFAULT 0 True, if the user object was deleted from the directory.
  DeletedInDirectoryFirstDetected datetime2 Date/Time the DeletedInDirectory flag was set,
  DirectoryAccountExpires datetime2 accountExpires attribute from Active Directory (updated on import and housekeeping),
  HintHasAccessLog bit True if user has UAL data available,
  AnalysisExtras xml Holds additional analysis data,
  ServiceNowSysID uniqueidentifier Service Now: sys_id of the replicated object,
  ServiceNowLastExport datetime2 Date/Time of last export to ServiceNow,
  ServiceNowLastImport datetime2 Date/Time of last import from Service Now
  HintOwnsSoftwareItems bit True if the user owns any software Items,
  HintHasRelevantSoftwareItems bit True if there are software items relevant for this user,
  ExtraData nvarchar(max) Extra data collected for this user,
  DirectoryType nvarchar(16) COLLATE Latin1_General_CI_AS Directory type that this user was found in.,
  EntraIdTenantId uniqueidentifier Entra ID tenant Id
  EntraIdOnPremisesDistinguishedName nvarchar(255) COLLATE Latin1_General_CI_AS Distinguished name that got replicated from on-site to Entra ID
  EntraIdOnPremisesDomainName nvarchar(255) COLLATE Latin1_General_CI_AS Domain name that got replicated from on-site to Entra ID
  EntraIdOnPremisesLastSyncDateTime datetime2 Date/Time this object was last synchronized from on-site AD
  EntraIdOnPremisesSID nvarchar(200) COLLATE Latin1_General_CI_AS SID of the on-prem user
  EntraIdOnPremisesSyncEnabled bit If true the user object gets synchronized from an on-size AD
  EntraIdOnPremisesUserPrincipalName nvarchar(256) COLLATE Latin1_General_CI_AS UPN that got synchronized from on-prem AD
  EntraIdUserType nvarchar(50) COLLATE Latin1_General_CI_AS Entra ID user type
  EntraIdEmployeeLeaveDateTime datetime2 Date/Time this employee was left or will leave
  EntraIdEmployeeHireDate datetime2 Date this employee was hired
  EntraIdDeletedDateTime datetime2 Date/Time this user object was deleted in Azure AD
  EntraIdGivenName nvarchar(255) COLLATE Latin1_General_CI_AS Given name of the user
  EntraIdSurname nvarchar(255) COLLATE Latin1_General_CI_AS Surname of the user
  EntraIdCreationType nvarchar(255) COLLATE Latin1_General_CI_AS Entra ID creation type
  EntraIdCostCenter nvarchar(255) COLLATE Latin1_General_CI_AS Cost center from Entra ID
  EntraIdPreferredDataLocation nvarchar(255) COLLATE Latin1_General_CI_AS Preferred data location from Entra ID
  EntraIdDivision nvarchar(255) COLLATE Latin1_General_CI_AS Division from Entra ID
  MappingTag nvarchar(255) COLLATE Latin1_General_CI_AS A field that can be used for custom organization mapping
  HintHasAutoStart bit True if the user has scanned Windows auto start information
  HintHasMuiCache bit True if the user has scanned MUI cache information
CloudProviderAccountID bigint
  LastFoundInEntraId datetime2 Date/Time this user was last found in EntraID
ObjectStateID bigint
  EntraIdLastSignInDateTime datetime2 Date/Time this user last signed in to Entra ID. This information may not be available depending on your Entra ID license.
  EntraIdLastSignInRequestId nvarchar(255) COLLATE Latin1_General_CI_AS Request id of the last Entra ID sign in. This information may not be available depending on your Entra ID license.
  EntraIdLastNonInteractiveSignInDateTime datetime2 Date/Time of the last non-interactive sign in to Entra ID. This information may not be available depending on your Entra ID license.
  EntraIdLastNonInteractiveSignInRequestId nvarchar(255) COLLATE Latin1_General_CI_AS Request id of the last non-interactive sign in to Entra ID. This information may not be available depending on your Entra ID license.
  HintHasCloudAppUsage bit True if Microsoft 365 usage data is available in the OctoSAM inventory
  EntraIdId nvarchar(128) COLLATE Latin1_General_CI_AS Microsoft EntraID ID of this user
  LastScannerTag nvarchar(255) COLLATE Latin1_General_CI_AS Command-line tag that was specified on the last scan of this user
  HintHasOfficeAddIns bit True, if Microsoft Office add-ins have been detected on this machine
  ScannedDistinguishedName nvarchar(255) COLLATE Latin1_General_CI_AS Distinguished user name as scanned from Octoscan2. Modern Windows that are joined to an Active Directory provide this information locally.
  EntraIdAccountEnabled bit Entra ID AccountEnabled 
  EntraIdSyncDiagnostics nvarchar(255) COLLATE Latin1_General_CI_AS Diagnostics message from the OctoSAM Graph Entra ID importer
Indexes
PK_User Primary Key ON ID
UK_User_Guid Unique Key ON Guid
IX_User Index ON OrganizationID Access
IX_User_SID Index ON SID
IX_User_Performance1 Unique Index ON OrganizationID, ID
Foreign Key
FK_User_LastMachine LastMachineID ↗ ❏ Machine(ID)
FK_User_MostFrequentlyUsedMachine MostFrequentlyUsedMachineID ↗ ❏ Machine(ID)
FK_User_Organization OrganizationID ↗ ❏ Organization(ID)
FK_User_CloudProviderAccount CloudProviderAccountID ↗ ❏ CloudProviderAccount(ID)
FK_User_ObjectState ObjectStateID ↗ ❏ ObjectState(ID)
Referring Foreign Key
FK_ImportControl_User ID ↙ ❏ ImportControl(UserID)
FK_LicenseManagerServerUser_User ID ↙ ❏ LicenseManagerServerUser(UserID)
FK_Machine_LastUser ID ↙ ❏ Machine(LastUserID)
FK_Machine_MostFrequentUser ID ↙ ❏ Machine(MostFrequentUserID)
FK_MachineUser_User ID ↙ ❏ MachineUser(UserID)
FK_RbacUser_User ID ↙ ❏ RbacUser(UserID)
FK_SoftwareItemUser_User ID ↙ ❏ SoftwareItemUser(UserID)
FK_SoftwarePackageUsageDetail_User ID ↙ ❏ SoftwarePackageUsageDetail(UserID)
FK_UalUserAccess_User ID ↙ ❏ UalUserAccess(UserID)
FK_UsageDetail_User ID ↙ ❏ UsageDetail(UserID)
FK_UserCloudProviderAccountLicensingPlan_User ID ↙ ❏ UserCloudProviderAccountLicensingPlan(UserID)
FK_UserGroup_User ID ↙ ❏ UserGroup(UserID)
FK_UserMachineAffinity_User ID ↙ ❏ UserMachineAffinity(UserID)
FK_CloudUser_User ID ↙ ❏ CloudUser(UserID)


Table UserCloudProviderAccountLicensingPlan

User assigned account licensing plan relation Information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* UserID bigint
* CloudProviderAccountLicensingPlanID bigint
* Created datetime2 Date/Time this relation got created
* LastScan datetime2 Date/Time this relation got last scanned
* LastScanGuid uniqueidentifier GUID of the last scan that scanned this relation
  LastUserActivityDetected datetime2 Date/Time of the last user activity concerning this licensing plan (if supported)
Indexes
PK_UserCloudProviderAccountLicensingPlan Primary Key ON ID
UK_UserCloudProviderAccountLicensingPlan_UserIDCloudProviderAccountLicensingPlanID Unique Key ON UserID, CloudProviderAccountLicensingPlanID
IX_UserCloudProviderAccountLicensingPlan_CloudProviderAccountLicensingPlanID Index ON CloudProviderAccountLicensingPlanID
IX_UserCloudProviderAccountLicensingPlan_UserID Index ON UserID
Foreign Key
FK_UserCloudProviderAccountLicensingPlan_CloudProviderAccountLicensingPlan CloudProviderAccountLicensingPlanID ↗ ❏ CloudProviderAccountLicensingPlan(ID)
FK_UserCloudProviderAccountLicensingPlan_User UserID ↗ ❏ User(ID)
Referring Foreign Key
FK_UserCloudProviderAccountLicensingPlanCloudProviderService_CloudProviderAccountLicensingPlan ID ↙ ❏ UserCloudProviderAccountLicensingPlanCloudProviderService(UserCloudProviderAccountLicensingPlanID)


Table UserCloudProviderAccountLicensingPlanCloudProviderService

User assigned account licensing plan service rlation status Information.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* UserCloudProviderAccountLicensingPlanID bigint
* CloudProviderAccountLicensingPlanCloudProviderServiceID bigint
* Created datetime2 Date/Time this relation got created,
* CreatedGuid uniqueidentifier GUID of the scan that created this relation,
* LastScan datetime2 Date/Time this relation got last scanned,
* LastScanGuid uniqueidentifier GUID of the last scan,
* ProvisioningStatus nvarchar(50) Provider dependent provisioning status,
  LastUserActivityDetected datetime2 Last detected user activity for this service (if supported),
Indexes
PK_UserCloudProviderAccountLicensingPlanCloudProviderService Primary Key ON ID
UK_UserCloudProviderAccountLicensingPlanCloudProviderService Unique Key ON UserCloudProviderAccountLicensingPlanID, CloudProviderAccountLicensingPlanCloudProviderServiceID
IX_UserCloudProviderAccountLicensingPlanCloudProviderService_CloudProviderAccountLicensingPlanCloudProviderServiceID Index ON CloudProviderAccountLicensingPlanCloudProviderServiceID
IX_UserCloudProviderAccountLicensingPlanCloudProviderService_UserCloudProviderAccountLicensingPlanID Index ON UserCloudProviderAccountLicensingPlanID
Foreign Key
FK_UserCloudProviderAccountLicensingPlanCloudProviderService_CloudProviderAccountLicensingPlanCloudProviderService CloudProviderAccountLicensingPlanCloudProviderServiceID ↗ ❏ CloudProviderAccountLicensingPlanCloudProviderService(ID)
FK_UserCloudProviderAccountLicensingPlanCloudProviderService_CloudProviderAccountLicensingPlan UserCloudProviderAccountLicensingPlanID ↗ ❏ UserCloudProviderAccountLicensingPlan(ID)


Table UserGroup

M:n relation between User and Group tables.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* UserID bigint
* GroupID bigint
* Created datetime2 Date/Time this relation was created in the database
* LastScan datetime2 Date/Time this relation was last scanned
Indexes
PK_UserGroup Primary Key ON ID
IX_UserGroup_UserGroup Unique Key ON UserID, GroupID
IX_UserGroup_Group Index ON GroupID
IX_UserGroup_User Index ON UserID
Foreign Key
FK_UserGroup_Group GroupID ↗ ❏ Group(ID)
FK_UserGroup_User UserID ↗ ❏ User(ID)


Table UserImage

Store thumbnail images of users

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* UserObjectGUID uniqueidentifier the objectGuid of the user,
* LastSync datetime2 Date/Time the image was last synchronized,
* LastModification datetime2 Date/Time the image was last updated,
* Image varbinary(max) The binary image,
Indexes
PK_UserImage Primary Key ON ID
IX_UserImage_UserObjectGuid Unique Index ON UserObjectGUID


Table UserMachineAffinity

Used to replicate User Device Affinity from other systems such as Microsoft SCCM.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* UserMachineAffinityProviderID bigint
* UserID bigint
* MachineID bigint
* Created datetime2 Date/Time this affinity relation got created-
* LastScan datetime2 Date/Time this affinity relation got last scanned-
Indexes
PK_UserMachineAffinity Primary Key ON ID
IX_UserMachineAffinity_UK Unique Index ON UserMachineAffinityProviderID, UserID, MachineID
Foreign Key
FK_UserMachineAffinity_Machine MachineID ↗ ❏ Machine(ID)
FK_UserMachineAffinity_User UserID ↗ ❏ User(ID)
FK_UserMachineAffinity_UserMachineAffinity UserMachineAffinityProviderID ↗ ❏ UserMachineAffinityProvider(ID)


Table UserMachineAffinityProvider

Holds information about different Providers of user device affinity information

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* DisplayName nvarchar(128) Display Name of the affinity provider
* ProviderGUID uniqueidentifier
* Description nvarchar(255) Description for the affinity provider
* Notes nvarchar(max) Notes
* Created datetime2 Date/Time this UserMachineAffinityProvider got created
* LastScan datetime2 Date/Time of the last scan. On file based imports, this is the write time of the imported file.
* CreatedGUID uniqueidentifier GUID of the scan that created the provider
* LastScanGUID uniqueidentifier GUID of the last scan. For import based scans, this is a synthetic GUID.
Indexes
PK_UserMachineAffinityProvider Primary Key ON ID
Referring Foreign Key
FK_UserMachineAffinity_UserMachineAffinity ID ↙ ❏ UserMachineAffinity(UserMachineAffinityProviderID)
FK_UserMachineAffinityProviderScanHistory_UserMachineAffinityProviderScanHistory ID ↙ ❏ UserMachineAffinityProviderScanHistory(UserMachineAffinityProviderID)


Table UserMachineAffinityProviderScanHistory

History for user device affinity imports

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* UserMachineAffinityProviderID bigint
* Scan datetime2 Date/Time of the scan
* Import datetime2 Date/Time of Import
* ScanGUID uniqueidentifier GUID of the scan
* Build nvarchar(255) Scanner Build Information
Indexes
PK_UserMachineAffinityProviderScanHistory Primary Key ON ID
Foreign Key
FK_UserMachineAffinityProviderScanHistory_UserMachineAffinityProviderScanHistory UserMachineAffinityProviderID ↗ ❏ UserMachineAffinityProvider(ID)
FK_UserMachineAffinityProviderScanHistory_UserMachineAffinityProviderScanHistory1 ID ↗ ❏ UserMachineAffinityProviderScanHistory
Referring Foreign Key
FK_UserMachineAffinityProviderScanHistory_UserMachineAffinityProviderScanHistory1 ID ↙ ❏ UserMachineAffinityProviderScanHistory


Table VirtualMachine

Holds information for virtual machines.For Hyper-V specific columns see MSDN WMI Msvm_ComputerSystem class.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
  VirtualizationManagementSystemID bigint
MachineID bigint
* Name nvarchar(128) Name of the virtual machine
  GuestHostName nvarchar(128) The guests host name
  GuestHostFullyQualifiedDomainName nvarchar(128) The guests fully qualified domain name. Used for guest machine to VM mapping.
  GuestOperatingSystem nvarchar(128) Dectected Guest operating system as seen from the hypervisor. This usually requires some guest tools to be installed in the guest operating system.
  GuestOperatingSystemFamily nvarchar(16) Family of the detected guest operating system,
HostMachineID bigint
* Hypervisor nvarchar(16) Name of the hypervisor,
* HostOperatingSystemFamily nvarchar(16) DEFAULT N'ESX' Family of the operatingsystem the hypervisor runs on,
  HostFullyQualifiedDomainName nvarchar(128) Fully qualified domain name of the host that this vm is running on,
* Notes nvarchar(max) Notes
* PoweredOn bit True if the VM was powered on at time of scan
  VirtualCores bigint Virtual cores or virtual processors that the hypervisor provides
  MemoryMB bigint RAM that the hypervisor provides
  UsedSpaceGB decimal(18,4) DEFAULT 0 Used disc space
* ProvisionedSpaceGB decimal(18,4) DEFAULT 0 Disc space provisioned to this VM
* Created datetime2 Date/Time this VM entity was created in the database
* CreatedGUID uniqueidentifier GUID of the scan file that created this VM
* LastScan datetime2 Date/Time this VM was last scanned
* LastScanGUID uniqueidentifier uuid of the last scan file
* LastHostChange datetime2 Timestamp this VM migrated last from another host to the current host (v-motion etc)
* LastHostChangeGUID uniqueidentifier GUID of the scan file that indicated the host change
* InstanceUUID uniqueidentifier A unique identifier of the vm. This id should not change in case of rename or move of a vm.
  MoRef nvarchar(128) For VMWare the object name of the vm
DatacenterID bigint
* FirstScan datetime2 Date/Time this vm was first scanned
* FirstScanGUID uniqueidentifier GUID of the first scan that scanned this VM
  GuestToolsVersion nvarchar(50) DEFAULT '' Version of installed VMWare guest tools
  GuestToolsCurrent bit True if guest tools were current at scan time
  InstallDate datetime2 The date and time the virtual machine configuration was created for a virtual machine
  ElementName nvarchar(128) A display name for the object. This property is inherited from CIM_ManagedElement, and it is always set to the display name of the computer for a virtual machine. 
  InstanceId nvarchar(128) Hyper-V Instance Id
  OperationalStatus bigint Operational Status of the virtual Machine. For values see MSDN Documentation.
  StatusDescriptions nvarchar(128) Operational Status of the virtual Machine
  Status nvarchar(50) Hyper-V 
  HealthState bigint Specifies the current health of the element. This attribute expresses the health of this element but not necessarily that of its subcomponents. 
  EnabledState bigint The enabled and disabled states of an element. This property can also indicate the transitions between these requested states. 
  RequestedState bigint The last requested or desired state for the virtual machine as passed to theRequestStateChange method, or 12 (Not Applicable) if no state change is in progress. The actual state of the element is represented by EnabledState. This property is provided to compare the last requested and current enabled or disabled states. 
  EnabledDefault bigint An administrator's default or startup configuration for the enabled state of an element
  TimeOfLastStateChange datetime2 The date and time when the enabled state of the element last changed
  OnTimeInMilliseconds bigint For the virtual machine, this property indicates the time, in milliseconds, since the machine was last turned on, reset, or restored at scan time. This time excludes the time the virtual machine was in the paused state. 
  ProcessID bigint The identifier of the process under which this virtual machine was running at scan time. This value can be used to uniquely identify the instance of Vmwp.exe on the system that is running the virtual machine.
  TimeOfLastConfigurationChange datetime2 The date and time the configuration of this virutal machine last changed
  NumberOfNumaNodes bigint Hyper-V: See MSDN Documentation
  ReplicationState bigint Replication State of the virtual machine. For values see MSDN documentation.
  ReplicationHealth bigint The replication health for the virtual machine. For values see MSDN documentation.
  ReplicationMode bigint Hyper-V: See MSDN documentation
  FailedOverReplicationType bigint Hyper-V: See MSDN Documentation
  LastReplicationType bigint Hyper-V: See MSDN documentation
  LastReplicationTime datetime2 Hyper-V: See MSDN documentation
  EnhancedSessionModeState bigint Hyper-V: See MSDN documentation
  LastApplicationConsistentReplicationTime datetime2 The time at which the last application-consistent replication was received for the virtual machine
  GuestConfiguredOperatingSystem nvarchar(128) Guest operating system as configured for the VM for hypervisors that support this
  AnalysisExtras xml Holds additional analysis data
  GuestToolsVersionStatus2 nvarchar(128) Guest Tools VersionStatus2 field for VMware virtual machines
  GuestToolsRunningStatus nvarchar(128) GuestTools RunningStatus field for VMware virtual machines
  ServiceNowSysId uniqueidentifier Service Now: sys_id of the replciated object
  ServiceNowTargetClass nvarchar(128) Service Now: class of the replicated object
  ServiceNowLastExport datetime2 Date/Time of last export to Service Now
  ServiceNowLastImport datetime2 Date/Time of last import from Service Now
UUID uniqueidentifier A unique identifier of the vm. For VMware this is equal to the hardware serial number and used for vm to host mapping.
  ExtraData nvarchar(max) Extra data for this object (JSON)
  Container bit True if the virtual machine is a container
Indexes
PK_VirtualMachine Primary Key ON ID
IX_VirtualMachine_HostMachineID Index ON HostMachineID
IX_VirtualMachine_MachineID Index ON MachineID
IX_VirtualMachine_UUID Index ON UUID
IX_VirtualMachine_InstanceUUID Index ON InstanceUUID
Foreign Key
FK_VirtualMachine_Datacenter DatacenterID ↗ ❏ Datacenter(ID)
FK_VirtualMachine_HostMachine HostMachineID ↗ ❏ Machine(ID)
FK_VirtualMachine_Machine MachineID ↗ ❏ Machine(ID)
Referring Foreign Key
FK_VirtualMachineHistory_VirtualMachine ID ↙ ❏ VirtualMachineHistory(VirtualMachineID)
FK_VirtualMachineMobilityHistory_VirtualMachine ID ↙ ❏ VirtualMachineMobilityHistory(VirtualMachineID)


Table VirtualMachineHistory

Holds information about the scan history of a virtual machine. Mainly used to detect frequent change of host (license mobility).

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* VirtualMachineID bigint
* Created datetime2 Date/Time this history entity got created
* Scan datetime2 Date/Time this history entity got scanned
* GuestScan bit True if update to history is caused by a guest scan
* ScanGUID uniqueidentifier Uuid of the scan that created this entity
MachineID bigint
HostMachineID bigint
  VirtualCores bigint Virtual cores at time of scan
  MemoryMB bigint Configured memory at time of scan
  UsedSpace decimal(18,4) Used disc space at time of scan
* PoweredOn bit True if virtual machine was powered on during this scan
* HostChange bit Host machine changed between prior scan and this scan
  DaysSinceLastHostChange bigint Number of days since this virtual machine was last migrated from another host
Indexes
PK_VirtualMachineHistory Primary Key ON ID
IX_VirtualMachineHistoryVirtualMachine Index ON VirtualMachineID
Foreign Key
FK_VirtualMachineHistory_Machine MachineID ↗ ❏ Machine(ID)
FK_VirtualMachineHistory_VirtualMachineHistory HostMachineID ↗ ❏ Machine(ID)
FK_VirtualMachineHistory_VirtualMachine VirtualMachineID ↗ ❏ VirtualMachine(ID)


Table VirtualMachineMobilityHistory

History of virtual machine to host relation changes.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* VirtualMachineID bigint
* ChangeDate datetime2 Date/Time of the host change
* Created datetime2 Date/Time the change this entity got created
MachineID bigint
  MachineName nvarchar(255) Redundant machine name, in case the relation to the machine via id gets deleted.
NewHostMachineID bigint
* NewHostName nvarchar(255) Redundant machine name, in case the relation to the machine via id gets deleted.
  Res1 nvarchar(255) Reserved for future use
  Res2 nvarchar(255) Reserved for future use
  AdditionalData nvarchar(max) Reserved for future use
Indexes
PK_VirtualMachineMobilityHistory Primary Key ON ID
Foreign Key
FK_VirtualMachineMobilityHistory_Machine MachineID ↗ ❏ Machine(ID)
FK_VirtualMachineMobilityHistory_NewHostMachine NewHostMachineID ↗ ❏ Machine(ID)
FK_VirtualMachineMobilityHistory_VirtualMachine VirtualMachineID ↗ ❏ VirtualMachine(ID)


Table VirtualizationManagementSystem

Source system for virtualization information. For VMware: corresponds to a vCenter.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier DEFAULT newid()
* Name nvarchar(255) Name
* InstanceUUID uniqueidentifier The unique ID of this ManagementSystem. Used to identify the source of scans and to remove objects no longer scanned..
* Created datetime2 Date/Time this object got created
* CreatedGUID uniqueidentifier GUID of the scan file that created this object
* LastScan datetime2 Date/Time this object got last scanned
* LastScanGUID uniqueidentifier GUID of the last scan file that for this object
* ManagementSystem nvarchar(50) Name of the Manament System
* ManagementSystemVersion nvarchar(16) Version of the Management System
ServerUniqueID bigint
  ServiceNowSysID uniqueidentifier Service Now: sys_id of the replicated object
  ServiceNowTargetClass nvarchar(128) Service Now: class of the replicated object
  ServiceNowLastExport datetime2 Date/Time of last export to Service Now
  ServiceNowLastImport datetime2 Date/Time of last import from Service Now
Indexes
PK_VirtualizationManagementSystem Primary Key ON ID
UK_VirtualizationManagementSystem Unique Key ON InstanceUUID, ServerUniqueID
Referring Foreign Key
FK_Datacenter_VirtualizationManagementSystem ID ↙ ❏ Datacenter(VirtualizationManagementSystemID)
FK_Machine_VirtualizationManagementSystem ID ↙ ❏ Machine(VirtualizationManagementSystemID)
FK_VirtualizationManagementSystemScanHistory_VirtualizationManagementSystem ID ↙ ❏ VirtualizationManagementSystemScanHistory(VirtualizationManagementSystemID)
FK_VirtualizationManagementSystemSetting_VirtualizationManagementSystem ID ↙ ❏ VirtualizationManagementSystemSetting(VirtualizationManagementSystemID)


Table VirtualizationManagementSystemScanHistory

Scan history per VirtualizationManagementSystem.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* VirtualizationManagementSystemID bigint
* Scan datetime2 Date/Time the scan file got produced
* Import datetime2 Date/Time the scan file got imported
* ScanGUID uniqueidentifier GUID of the scan
* Build nvarchar(64) Build of the scanner that generated the scan file
Indexes
PK_VirtualizationManagementSystemenScanHistory Primary Key ON ID
Foreign Key
FK_VirtualizationManagementSystemScanHistory_VirtualizationManagementSystem VirtualizationManagementSystemID ↗ ❏ VirtualizationManagementSystem(ID)


Table VirtualizationManagementSystemSetting

Contains additional data for a virtualization management system that does not fit into the standardized table.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* VirtualizationManagementSystemID bigint
* Name nvarchar(255) Name of the setting
* Value nvarchar(max) Value of the setting - string representation
  IntegerValue bigint Integer representation for numeric settings
  DateTimeValue datetime DateTime representation for datetime settings
  BooleanValue bit Boolean representation for boolean settings
Indexes
PK_VirtualizationManagementSystemSettings Primary Key ON ID
UK_VirtualizationManagementSystemSettings_1 Unique Index ON VirtualizationManagementSystemID, Name
Foreign Key
FK_VirtualizationManagementSystemSetting_VirtualizationManagementSystem VirtualizationManagementSystemID ↗ ❏ VirtualizationManagementSystem(ID)


Table WmiClass

Holds a row for each unique WMI class scanned

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Name nvarchar(256) Name of the WMI class. See Microsoft WMI documentation. Names beginning with X_ are Octopus extension classes.
* Enabled bit DEFAULT 1 If this flag is set to false, the import service does no longer import information for this wmi class into the database. Can be used to conserve database space if certain WMI data is not essential.
Indexes
PK_WmiClass Primary Key ON ID
IX_WmiClass_Name Unique Key ON Name
Referring Foreign Key
FK_WmiClassProperty_WmiClass ID ↙ ❏ WmiClassProperty(WmiClassID)
FK_WmiInstance_WmiClass ID ↙ ❏ WmiInstance(WmiClassID)
FK_WmiInstanceHistory_WmiClass ID ↙ ❏ WmiInstanceHistory(WmiClassID)


Table WmiClassProperty

Holds a row for each unique property per class scanned

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* WmiClassID bigint
* Name nvarchar(64) Name of the Property as defined by WMI or Octopus for Octopus extension classes
* Type nchar(1) DEFAULT N'S' S for String, I for Integer, B for Boolean
* Array bit DEFAULT 0 true if the property is multivalued (array)
Indexes
PK_WmiClassProperty Primary Key ON ID
IX_WmiClassProperty_WmiClassID_WmiName Index ON Name, WmiClassID
Foreign Key
FK_WmiClassProperty_WmiClass WmiClassID ↗ ❏ WmiClass(ID)
Referring Foreign Key
FK_WmiInstanceHistoryProperty_WmiClassProperty ID ↙ ❏ WmiInstanceHistoryProperty(WmiClassPropertyID)
FK_WmiInstanceProperty_WmiClassProperty ID ↙ ❏ WmiInstanceProperty(WmiClassPropertyID)


Table WmiInstance

Each entity is an instance of a WMI class scanned on a particular machine

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* Guid uniqueidentifier DEFAULT newid()
* MachineID bigint
* WmiClassID bigint
InformationSourceID bigint
* Name nvarchar(512) Instance Name
  ImportSourceID bigint Id of the import module. 1 for OctoscanImportService or OctoscanImportUtil.
  ImporterInstance nvarchar(16) Name of the importer Instance if multiple importers are active
* LastScanGUID uniqueidentifier GUID of .scan file that generated the instance information
* LastScan datetime2 Date/Time of last scan that generated the instance information
  BulkInsertID bigint Internal ID used for bulk insert operations
  ServiceNowSysID uniqueidentifier
  ServiceNowTargetClass nvarchar(128) Service Now: class of the replicated object
  ServiceNowLastExport datetime2 Date/Time of last export to Service Now
  ServiceNowLastImport datetime2 Date/TIme of last import from ServiceNow
Indexes
PK_WmiInstance Primary Key ON ID
IX_WmiInstance_Guid Unique Index ON Guid
IX_WmiInstance_MachineID Index ON MachineID
IX_WmiInstance_ClassID Index ON WmiClassID
Foreign Key
FK_WmiInstance_InformationSource InformationSourceID ↗ ❏ InformationSource(ID)
FK_WmiInstance_Machine MachineID ↗ ❏ Machine(ID)
FK_WmiInstance_WmiClass WmiClassID ↗ ❏ WmiClass(ID)
FK_WmiInstance_WmiInstance ID ↗ ❏ WmiInstance
Referring Foreign Key
FK_WmiInstance_WmiInstance ID ↙ ❏ WmiInstance
FK_WmiInstanceProperty_WmiInstance ID ↙ ❏ WmiInstanceProperty(WmiInstanceID)


Table WmiInstanceHistory

Each entity is an instance of a WMI class scanned in a particular MachineUserHistory context.
This table together with WmiInstanceHistoryProperty holds historized WMI data for each scan.
See WmiInstance for description of the columns.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* MachineUserHistoryID bigint
* WmiClassID bigint
InformationSourceID bigint
* LastScan datetime2 Date/Time this instance history item was scanned
* LastScanGUID uniqueidentifier UUID of the scan of this history item
* Name nvarchar(512) Instance name
  ImportSourceID bigint
  ImporterInstance nvarchar(16) Name of the importer instance that created this entry
  BulkInsertID bigint Internal ID used for bulk inserts
Indexes
PK_WmiInstanceHistory Primary Key ON ID
IX_WmiInstanceHistory_MachineUserHistoryID Index ON MachineUserHistoryID
Foreign Key
FK_WmiInstanceHistory_InformationSource InformationSourceID ↗ ❏ InformationSource(ID)
FK_WmiInstanceHistory_MachineUserHistory MachineUserHistoryID ↗ ❏ MachineUserHistory(ID)
FK_WmiInstanceHistory_WmiClass WmiClassID ↗ ❏ WmiClass(ID)
Referring Foreign Key
FK_WmiInstanceHistoryProperty_WmiInstanceHistory ID ↙ ❏ WmiInstanceHistoryProperty(WmiInstanceHistoryID)


Table WmiInstanceHistoryProperty

See WmiInstanceProperty for description of the columns.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* WmiInstanceHistoryID bigint
* WmiClassPropertyID bigint
* Value nvarchar(256) The value of the property
  IntegerValue bigint Integer representation of the value or null. Provided for easier use in queries, for calculations etc.
  BooleanValue bigint Boolean representation of the value or null. Provided for easier use in queries, for calculations etc.
  DateTimeValue datetime2 DateTime representation of the value or null. Provided for easier use in queries, for calculations etc.
Indexes
PK_WmiInstanceHistoryProperty Primary Key ON ID
IX_WmiInstanceHistoryProperty_WmiInstanceHistoryID Index ON WmiInstanceHistoryID
IX_WmiInstanceHistoryPropertyValue Index ON Value
Foreign Key
FK_WmiInstanceHistoryProperty_WmiClassProperty WmiClassPropertyID ↗ ❏ WmiClassProperty(ID)
FK_WmiInstanceHistoryProperty_WmiInstanceHistory WmiInstanceHistoryID ↗ ❏ WmiInstanceHistory(ID)
Referring Foreign Key
FK_WmiInstanceHistoryPropertyArray_WmiInstanceHistoryProperty ID ↙ ❏ WmiInstanceHistoryPropertyArray(WmiInstanceHistoryPropertyID)


Table WmiInstanceHistoryPropertyArray

For multi-valued (array) properties, each entity is an item in the array.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* WmiInstanceHistoryPropertyID bigint
* Sequence bigint Specifies the relative order within the array
* Value nvarchar(256) The value of the item
  IntegerValue bigint If the property is an array of numeric values, this contains an integer representation for easier querying and calculations.
Indexes
PK_WmiInstanceHistoryPropertyArray Primary Key ON ID
IX_WmiInstanceHistoryPropertyArray_WmiInstanceHistoryPropertyID Index ON WmiInstanceHistoryPropertyID
Foreign Key
FK_WmiInstanceHistoryPropertyArray_WmiInstanceHistoryProperty WmiInstanceHistoryPropertyID ↗ ❏ WmiInstanceHistoryProperty(ID)


Table WmiInstanceProperty

Each entity is a property scanned for a particular instance of a WMI class per machine.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* WmiInstanceID bigint
* WmiClassPropertyID bigint
* Value nvarchar(256) String representation of the value. This column is always filled with a string representation.
  IntegerValue bigint Integer representation of the value or null. Provided for easier use in queries, for calculations etc.
  BooleanValue bit Boolean representation of the value or null. Provided for easier use in queries.
  DateTimeValue datetime2 DateTime representation of the value or null. Provided for easier use in queries, DateTime calculations etc.
Indexes
PK_WmiInstanceProperty Primary Key ON ID
IX_WmiInstanceProperty_CombinedIndex Index ON WmiInstanceID, WmiClassPropertyID
IX_WmiInstanceProperty_Value Index ON Value
IX_WmiInstanceProperty_WmiClassPropertyID Index ON WmiClassPropertyID
IX_WmiInstanceProperty_WmiInstanceID Index ON WmiInstanceID
Foreign Key
FK_WmiInstanceProperty_WmiClassProperty WmiClassPropertyID ↗ ❏ WmiClassProperty(ID)
FK_WmiInstanceProperty_WmiInstance WmiInstanceID ↗ ❏ WmiInstance(ID)
Referring Foreign Key
FK_WmiInstancePropertyArray_WmiInstanceProperty ID ↙ ❏ WmiInstancePropertyArray(WmiInstancePropertyID)


Table WmiInstancePropertyArray

For WMI multi-valued (array) properties, each entity is an item in the array.

IdxColumn NameDefinitionDescription
* ID bigint IDENTITY
* WmiInstancePropertyID bigint
* Sequence bigint Specifies the relative order within the array
* Value nvarchar(256) The value of the item
  IntegerValue bigint If the property is an array of numeric values, this contains an integer representation for easier querying.
Indexes
PK_WmiInstancePropertyArray Primary Key ON ID
IX_WmiInstancePropertyArray_WmiInstancePropertyID Index ON WmiInstancePropertyID
Foreign Key
FK_WmiInstancePropertyArray_WmiInstanceProperty WmiInstancePropertyID ↗ ❏ WmiInstanceProperty(ID)