Skip to main content

Security & SSO Schema

Schemas

SecurityQuestion

PropertyTypeDescription
idintegerQuestion ID
namestringQuestion text
enabledbooleanWhether the question is active
answerstringAnswer to the question
_warningstringWarning message if applicable

NPR_Result

Used for security question validation submissions.

PropertyTypeDescription
windows_userstringWindows username
email_addressstringUser email address
activedirectory_dnstringAzure AD distinguished name
onpremise_activedirectory_dnstringOn-premises AD distinguished name
enrolledbooleanWhether user is enrolled in security questions
questionsarray of SecurityQuestionThe user's security questions
hide_answersbooleanWhether answers are hidden
validatedbooleanWhether validation passed

AuditPasswordField

PropertyTypeDescription
object_typeintegerType of object the password field is attached to
object_idintegerID of the associated object
field_idintegerPassword field ID
valuestringField value
objectPasswordObjectTypeReference to the password object type
_warningstringWarning message if applicable

Audit

PropertyTypeDescription
idintegerAudit record ID
ticket_idintegerAssociated ticket ID
agent_idintegerAgent who performed the action
user_idintegerUser who performed the action
usernamestringUsername of actor
datedatetimeTimestamp of the audited action
datetime_fromdatetimeStart of the changed value's time range
datetime_todatetimeEnd of the changed value's time range
valuestringDescription of the change
fromstringPrevious value
tostringNew value
table_namestringDatabase table affected
id1integerPrimary record ID
id2integerSecondary record ID
clientidintegerAssociated client ID
actoutcomestringOutcome of the audited action
guiduuidUnique identifier
_redactbooleanWhether the record should be redacted
_warningstringWarning message if applicable
PropertyTypeDescription
idintegerLink ID
ticket_idintegerAssociated ticket
user_idintegerOwning user
viewedbooleanWhether the link has been accessed
date_vieweddatetimeWhen the link was accessed
new_secure_secret_valuestringThe secret value to share
new_secure_passphrasestringOptional passphrase to protect the link
password_link_expirationintegerExpiration time (in hours or days)
expiry_datedatetimeComputed expiry timestamp
attemptsintegerNumber of access attempts
generated_secure_linkstringThe generated shareable URL
_isvalidatebooleanWhether this is a validation request

ImpersonationRequest

PropertyTypeDescription
iridintegerImpersonation request ID
requestorintegerAgent ID of the requestor
agentintegerTarget agent ID
userintegerTarget user ID
timestampdatetimeWhen the request was created
enc_idintegerEncrypted identifier
token_usedbooleanWhether the impersonation token has been used
used_timestampdatetimeWhen the token was used
jwtstringJWT token for impersonation
_warningstringWarning message if applicable

KeyVault

PropertyTypeDescription
idintegerVault entry ID
namestringDisplay name
urlstringAzure Key Vault URL
connection_typeintegerAuthentication type (e.g., managed identity)
managed_identity_idstringManaged identity client ID
_warningstringWarning message if applicable

SingleSignOnApplication

Represents an OIDC/SAML SSO application configuration.

PropertyTypeDescription
idintegerApplication ID
guiduuidUnique identifier
namestringApplication display name
instance_idintegerAssociated HaloPSA instance
typeintegerSSO protocol type
type_descriptionstringHuman-readable type label
oidc_urlstringOIDC discovery or authority URL
client_idstringOAuth2 client ID
oidc_typeintegerOIDC subtype
new_client_secretstringNew client secret (write-only)
activebooleanWhether the application is enabled
allowed_entitiesintegerWho can authenticate (agents, users, both)
auto_redirect_agentbooleanAuto-redirect agents to this SSO provider
auto_redirect_userbooleanAuto-redirect users to this SSO provider
single_logoutbooleanEnable single logout
promptstringOIDC prompt parameter
id_attributeintegerField used as the identifier attribute
custom_id_attributestringCustom identifier attribute name
user_matching_fieldintegerHaloPSA field to match against the SSO identity
allow_user_provisoningbooleanAuto-provision users on first SSO login
domain_matchingbooleanMatch users by email domain
default_siteintegerDefault site for provisioned users
button_labelstringLogin button label
button_colourstringLogin button color
button_logostringLogin button logo
domain_hintstringDomain hint passed to the identity provider
app_typeintegerApplication category
allowed_tenantsstringComma-separated allowed tenant IDs
extra_claim_validationarrayAdditional claims to validate on login
log_attemptsbooleanLog all SSO attempts
scopestringOAuth2 scopes requested

AzureADConnection

Represents an Azure AD / Microsoft Entra integration connection. Used for SSO, user sync, Intune device sync, and Microsoft Sentinel integration.

Core Identity:

PropertyTypeDescription
idintegerConnection ID
guiduuidUnique identifier
namestringConnection display name
domainstringPrimary domain
directoryidstringAzure AD tenant (directory) ID
applicationidstringAzure AD application (client) ID
typeintegerConnection type
authorizedbooleanWhether OAuth authorization is complete
redirect_uristringOAuth redirect URI
token_expirydatetimeAccess token expiry
authorityintegerAuthority/cloud type (e.g., commercial, GCC)
authentication_typeintegerAuthentication method (client secret, certificate, managed identity, ROPC)
credential_typeintegerCredential type for authentication

Sync & Import Settings:

PropertyTypeDescription
halointegratorenabledbooleanWhether HaloIntegrator sync is active
halointegrator_lastsyncdatetimeLast successful sync timestamp
halointegrator_lasterrorstringLast sync error message
createunmatchedusersbooleanCreate new users for unmatched Azure AD accounts
deactivate_usersbooleanDeactivate users removed in Azure AD
deactivate_agentsbooleanDeactivate agents removed in Azure AD
auto_create_mappingsbooleanAutomatically create site/client mappings
auto_allow_ssobooleanAuto-enable SSO for synced users
use_delta_queriesbooleanUse delta query API for incremental sync
dont_sync_new_tenantsbooleanSkip auto-syncing newly discovered tenants

Intune Settings:

PropertyTypeDescription
intune_enabledbooleanEnable Intune device import
intune_dont_update_typebooleanDo not update asset type on re-import
intune_unlink_usersbooleanUnlink users from Intune devices
intuneusermatchingfieldintegerField used to match Intune users
default_intune_statusintegerDefault status for imported Intune devices
intune_inactive_statusintegerStatus for inactive Intune devices
intune_inactive_days_past_lastsyncdateintegerDays past last sync before marking inactive
intune_recovered_statusintegerStatus to set when inactive device reconnects
intune_delete_statusintegerStatus to set for deleted Intune devices

Field Mappings:

PropertyTypeDescription
mappings_userarrayField mappings for user sync
mappings_agentarrayField mappings for agent sync
mappings_agent_rolesarrayRole mappings for agents
mappings_user_rolesarrayRole mappings for users
mappings_sitearray (AzureADMapping)Azure AD group to HaloPSA site mappings
mappings_clientarray (AreaAzureTenant)Azure AD tenant to HaloPSA client mappings
mappings_devicearrayField mappings for device sync
mappings_ticketarrayField mappings for Sentinel ticket import
mappings_priorityarrayPriority mappings

LDAPConnection

Represents an LDAP/Active Directory connection for on-premises directory sync.

PropertyTypeDescription
idintegerConnection ID
guiduuidUnique identifier
namestringConnection display name
hostnamestringLDAP server hostname or IP
domainnamestringActive Directory domain name
portstringLDAP port (default 389 or 636 for LDAPS)
use_sslbooleanUse LDAPS (SSL/TLS)
connection_typestringConnection type identifier
authentication_typestringAuthentication method
usernamestringService account username
integrator_passwordstringService account password (write-only)
basednstringBase distinguished name for searches
synccontactsbooleanSync contacts in addition to users
externalbooleanExternal LDAP server
pagesizeintegerResults page size for large directories
useadauthenticationintegerAD authentication method
halointegratorenabledbooleanEnable HaloIntegrator sync
halointegrator_lastsyncdatetimeLast successful sync timestamp
halointegrator_lasterrorstringLast sync error message
allow_accessbooleanAllow directory access
mappings_userarray (LDAPName)Field mappings for users
mappings_agentarray (LDAPName)Field mappings for agents
ldap_stringsarray (LDAPString)LDAP filter strings
integrator_typeintegerIntegrator sync type