ZRM Docs
Domain Model

Credential Request

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
workspaceIdstringYesID of the associated workspace
credentialIdstringNoID of the associated credential
siteIdstringYesID of the associated site
systemIdstringNoID of the associated system
requestTypeenum(new, modify, revoke, renew)YesRequest type
requestedScopestringYesRequested scope
impactedSystemsunknownYesImpacted systems
requestedBystringYesRequested by
assignedApproverstringNoAssigned approver
statusenum(pending, approved, denied, cancelled)YesStatus
policyCheckResultunknownNoPolicy check result
approvedBystringNoApproved by
approvedAtstring.date-timeNoApproved at
deniedReasonstringNoDenied reason
notesstringNoNotes

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstringNoID of the associated workspace
credentialIdstringNoID of the associated credential
siteIdstringYesID of the associated site
systemIdstringNoID of the associated system
requestTypeenum(new, modify, revoke, renew)YesRequest type
requestedScopestringYesRequested scope
impactedSystemsunknownYes[]Impacted systems
requestedBystringYesRequested by
assignedApproverstringNoAssigned approver
statusenum(pending, approved, denied, cancelled)Yes"pending"Status
policyCheckResultunknownNoPolicy check result
approvedBystringNoApproved by
approvedAtstring.date-timeNoApproved at
deniedReasonstringNoDenied reason
notesstringNoNotes

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
credentialIdstringNoID of the associated credential
siteIdstringNoID of the associated site
systemIdstringNoID of the associated system
requestTypeenum(new, modify, revoke, renew)NoRequest type
requestedScopestringNoRequested scope
impactedSystemsunknownNo[]Impacted systems
assignedApproverstringNoAssigned approver
statusenum(pending, approved, denied, cancelled)No"pending"Status
policyCheckResultunknownNoPolicy check result
approvedBystringNoApproved by
approvedAtstring.date-timeNoApproved at
deniedReasonstringNoDenied reason
notesstringNoNotes

On this page