Skip to content

Audit logging#68

Merged
lsipii merged 11 commits intomainfrom
VFD-279-kayttajatietojen-muutosten-auditlog
Sep 1, 2023
Merged

Audit logging#68
lsipii merged 11 commits intomainfrom
VFD-279-kayttajatietojen-muutosten-auditlog

Conversation

@lsipii
Copy link
Copy Markdown
Contributor

@lsipii lsipii commented Jul 26, 2023

  • logitetaan tietojen muutokset ajoympäristön logeihin (cloudwatch)
    • tallentuu id ja muuttuneiden kenttien nimet (mutta ei arvoja)

Login syntaksi esim. Person-taulun muutoksille:

  • Modified: @AuditLog { TableName = Person, Action = Modified, KeyValues = [Id = 4f092480-cf11-4291-930e-2c8bb696f2f0], ChangedColumns = [ResidencyCode], EventDate = 08/18/2023 08:13:12 }

@lsipii lsipii marked this pull request as ready for review July 31, 2023 06:24
@lsipii lsipii requested a review from LauriGofore July 31, 2023 06:24
@lsipii
Copy link
Copy Markdown
Contributor Author

lsipii commented Aug 25, 2023

Nyt logi tallentuu cloudwatchiin jonka säilyvyyttä mahdollisesti halutaan tuotantannossa rajata. Nämä auditlog-tyyppiset viestit pitäisi ehkä säilöä pysyvämpään säiliöön: ehkä tätä varten logi-streami esim s3-bucketiin arkistoon?

Copy link
Copy Markdown
Contributor

@LauriGofore LauriGofore left a comment

Choose a reason for hiding this comment

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

👍

@lsipii lsipii merged commit 944413e into main Sep 1, 2023
@lsipii lsipii deleted the VFD-279-kayttajatietojen-muutosten-auditlog branch September 1, 2023 14:54
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