OCSF.User (OCSF v0.1.0)

Copy Markdown View Source

OCSF User object.

Represents a user identity in an OCSF event. Corresponds to the OCSF User object.

Fields

  • :uid -- unique user identifier. Classified as :identifier.
  • :name -- display name. Classified as :identity (PII, erasable).
  • :email_addr -- email address. Classified as :contact (PII, erasable).
  • :org -- %OCSF.Organization{} or nil. Classified as :tenant.
  • :type_id -- user type identifier. Classified as :taxonomic.

PII classification

See OCSF.Classification for data class definitions. Call __ocsf_fields__/0 to inspect this module's field classifications.

See OCSF.Organization, OCSF.Actor, and OCSF.Classification for related modules.

Summary

Functions

Return field classification metadata for PII policy enforcement.

Types

t()

@type t() :: %OCSF.User{
  email_addr: String.t() | nil,
  name: String.t() | nil,
  org: OCSF.Organization.t() | nil,
  type_id: integer() | nil,
  uid: String.t() | nil
}

Functions

__ocsf_fields__()

@spec __ocsf_fields__() :: keyword()

Return field classification metadata for PII policy enforcement.