Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audit logging #144

Merged
merged 6 commits into from
Dec 6, 2024
Merged

Conversation

jekuaitk
Copy link
Contributor

@jekuaitk jekuaitk commented Nov 22, 2024

https://leantime.itkdev.dk/#/tickets/showTicket/2917

  • Adds update hook to install os2web_audit
  • Adds audit logging to os2forms_digital_post
  • Adds audit logging to os2forms_nemid

@jekuaitk jekuaitk changed the title Feature/audit log digital post Audit logging Nov 26, 2024
@jekuaitk jekuaitk requested a review from cableman December 6, 2024 09:25
$userCpr = $authProviderPlugin->fetchValue('cpr');
$lookedUpCpr = $cprLookupResult->getCpr();

$this->auditLogger->info('DataLookup', 'User with cpr ' . $userCpr . ' looked at cpr ' . $lookedUpCpr);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the message be "looked up" and not "looked at"

@jekuaitk jekuaitk merged commit 8a1e8c8 into OS2Forms:develop Dec 6, 2024
7 checks passed
@jekuaitk jekuaitk deleted the feature/audit-log-digital-post branch December 6, 2024 09:43
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.

2 participants