Back to auditlogger

SalesCandy Git archive

auditlogger

Subscribes to events and stores them as audit logs.

README

This repository observes specified SNS topics to capture and store system events as comprehensive audit logs. It ensures data persistence for tracking user and system activities.

Use Case: Centralized logging and auditing of events published to various SNS topics. Inputs are event data streams from SNS. Outputs are structured, persistent audit records.

Selected files and folders

  • README.md
  • app
  • package.json
  • serverless.yml

Reconstructed issues

Summaries inferred from the archive. Original issue records are unavailable here.

Restore visibility for user update events

Previously, viewing logs for user updates after specific changes in customer-api v3.7.9 was difficult. This change restores the necessary visibility into these user update events.

17dff5c17f85

Fix missing usernames in logs

Some audit logs were recorded without associated usernames. This update addresses that gap by ensuring usernames are correctly populated for relevant user-related logs.

a026b9bb3c41

Add support for biologin:mobile case

The system lacked handling for events originating from the biologin:mobile source. This commit adds the necessary case logic to process and log these specific events correctly.

8f5dc0950f25

Selected commits

  1. Allow to view user:updated logs after fixes in customer-api v3.7.9

    Reza Rosli ·

    17dff5c17f85819bf9cd31fb8e5c81cfc9bd48ab

  2. Fix missing usernames with some logs related to users

    Reza Rosli ·

    a026b9bb3c41a9a92b635c12315d03bb155555d9

  3. Add case for biologin:mobile

    Reza Rosli ·

    8f5dc0950f257df259168a638cf9dda78d932af6

  4. Add case for reset mapping leadsource

    Reza Rosli ·

    3c068a9f26830cdc19b2172bf6eb1418c77b3996

  5. Add sonarqube config

    Reza Rosli ·

    f66c2c171cd38f35ae50a809d1f747b2cf5a3db8

  6. Change to constant declaration

    Reza Rosli ·

    dec1776591502483f4a01c7342adcb39d92afa98

  7. Move getLogs function to this repo from sc-manager and various improvements

    Reza Rosli ·

    c3d5d3c480bc580f15d896f675963096fe82a988

  8. Add renovate.json

    Renovate Bot ·

    d02d25e4cddc8397a7f9266009f166a510fd5618

  9. change db credentials for ssl configuration

    Shoaib ·

    3959b0b99d8fb4931604f48dfc76911c8eb4207c

  10. change database credentials with secret manager.

    Shoaib ·

    5ca6eb846fb7fa706a6fab6072c928a65fcfb30b

  11. clean up commented code.

    Shoaib ·

    25017dfac8416ea0538d7b4903a051559dbaafd3

  12. Update to Node 12

    Reza Rosli ·

    3c439e79601efa1acfa9f5aec3b5ea2fe15b2a3e

  13. remove console.log

    Lim ·

    9ca598c11454f3fa515717931e2ff8a06f563d13

  14. basic

    Lim ·

    04e670ff04ca3a0c41b8da0db0b141002843d111

  15. add dlq

    Shi Yek Lim ·

    fc158d99b730653ff29480f8e8ff608e749580a0

  16. Update deployment settings and temporarily ignore bad data

    Reza Rosli ·

    300517aa7a82b19414e660f6347ac0396356864d

  17. Make it work with Aurora

    Reza Rosli ·

    61415181588d853ed628ba5a04463f027ea5a886

  18. Use centralised deployment bucket

    Reza Rosli ·

    ba989762c37e229f564c88e3c5e2e84b00cc047c

  19. Reorganise to handle two SNS topics with the same queue

    Reza Rosli ·

    573ec71d8298e60bc6e489e4a745eff2d4e3aba2

  20. Initial commit

    Reza Rosli ·

    cafe9584e691cecae9ad6e2d3d39811980275b63

  21. Initial commit

    Reza Rosli ·

    abaaa324305c587d3b9e267767eaad9831e8f0bc