Skip to content

Support for references view on the profile page#179

Merged
pagbabian-splunk merged 2 commits into
ocsf:mainfrom
floydtree:profile-reference-view
May 1, 2026
Merged

Support for references view on the profile page#179
pagbabian-splunk merged 2 commits into
ocsf:mainfrom
floydtree:profile-reference-view

Conversation

@floydtree

Copy link
Copy Markdown
Contributor

Profiles in the OCSF schema can define a references field (e.g. the datetime profile links to RFC-3339), but the profile detail page never rendered them. The object detail page already has this — this PR reuses the same object_references_section/1 helper to show references on profile pages too.

Changes

  • profile.html.eex — added object_references_section(@DaTa[:references]) below the description, matching the object page layout
  • mix.exs — version bump to 4.0.2
    The helper already handles nil/empty references gracefully, so profiles without references are unaffected.

Testing

Verified profiles with references (e.g. datetime) display the References section with clickable links | ocsf/ocsf-schema#1616
Verified profiles without references render unchanged

Signed-off-by: Rajas Panat <rajaspa@amazon.com>
Signed-off-by: Rajas Panat <rajaspa@amazon.com>
@pagbabian-splunk pagbabian-splunk merged commit c7539d0 into ocsf:main May 1, 2026
1 check passed
@floydtree floydtree deleted the profile-reference-view branch May 1, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants