Function: isAuditProducer()
isAuditProducer(
action,module):boolean
Defined in: packages/contracts/src/schemas/audit-actions.ts:971
Whether a module may record an action.
Parameters
action
"subject.create" | "grant.create" | "grant.revoke" | "accreditation.apply" | "accreditation.admit" | "accreditation.publish" | "identifier.create" | "identifier.publish" | "identifier.update" | "authentication-identity.link" | "bootstrap.apply" | "access.deny" | "person.reinvite" | "person.invite" | "subject-key.destroy" | "identity-provider.converge" | "audit.record-refused" | "framework.publish" | "anchor.converge" | "entity-statement.prepare" | "entity-statement.publish" | "entity-statement.renew" | "signing-key.generate" | "configuration.apply" | "identifier.prepare" | "identifier.converge" | "registry.probe" | "placement.create" | "agent.converge" | "audit.checkpoint" | "subject-key.rewrap" | "bootstrap.plan" | "bootstrap.setup-code-issued" | "bootstrap.setup-code-reissued" | "bootstrap.setup-redeemed" | "bootstrap.setup-code-burned" | "bootstrap.setup-reopened" | "bootstrap.setup-step-applied" | "bootstrap.setup-completed" | "signing-key.register" | "placement.quota-held" | "identifier.key-discard" | "bootstrap.root-invite"
A registered action.
module
string
The producing module, as the outbox relay knows it from the wiring.
Returns
boolean
true when the action's producers list the module.