Back to smart-alert-es

SalesCandy Git archive

smart-alert-es

Queries alert data scoped to projects, teams, and salespeople.

README

This repository manages queries for alert data, scoping results by projects, teams, and salespeople. It centralizes logic for querying various dimensions of alert information.

The system accepts parameters defining the scope (project ID, team ID, etc.) and outputs structured alert data based on the defined query criteria.

Selected files and folders

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

Reconstructed issues

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

Fix parsing of Sns messages

Previously, the system failed to correctly parse messages originating from SNS topics. This change updates the parsing logic to reliably handle various SNS message formats, ensuring data integrity for alerts sourced this way.

73f0930b3892

Update elasticsearch client

The underlying Elasticsearch client library required an update to maintain compatibility and leverage newer features. This revision updates the client dependency to ensure stable and efficient querying against the Elasticsearch cluster.

46c01b4bcee4

Implement secrets manager

Previously, sensitive configuration values were managed in less secure locations. This update integrates the secrets manager, ensuring that credentials and sensitive parameters are retrieved securely at runtime rather than being hardcoded.

0e39910fa5c1

Selected commits

  1. Update elasticsearch client

    Reza Rosli ·

    46c01b4bcee45c49dba0a90df86e3b1e8958024c

  2. Reduce permission for DynamoDB

    Reza Rosli ·

    16c22ec1f44eeded13a4b40ed5edf71dace805ba

  3. Add renovate.json

    Renovate Bot ·

    5692a11a70f1bd6afafb55d93bc90f98c4b70fec

  4. Implement secrets manager

    Reza Rosli ·

    74761ad23f8b404a99a5df7e5d3d2a2bdc817a94

  5. Implement secrets manager

    Reza Rosli ·

    0e39910fa5c1d495068f6d3e34674f4125a3d7a7

  6. Fix parsing of Sns messages

    Reza Rosli ·

    73f0930b38927e1281f2ffc1d04263e94cf712dd

  7. Tighten permissions

    Reza Rosli ·

    cda80e0bc95de5c496c830ac6b199e3685e69e89

  8. Attach to CandyFloss security group

    Reza Rosli ·

    cc88411d684a40b82779dda606b0357af2619854

  9. Fix serverless.yml validation errors

    Reza Rosli ·

    be757931852959f01ba9ec3f3f727d96c6b3287b

  10. Update dependencies

    Reza Rosli ·

    9cb259bb577bb53b2ee5c6205acc817e739ff3cb

  11. Put into VPC to be able to connect to Elastic Cloud

    Reza Rosli ·

    1f0fb67b1ddd430a33dd123abbc15f9e0d7dd989

  12. Use "leads" index alias instead of direct lead index

    Reza Rosli ·

    7584fef567236691493faa47b24e36f39bc31024

  13. Modify to handle all project events

    Reza Rosli ·

    5b8ac7f882dce5a971309b6395f8f5ea0d1ea14f

  14. fix serverless env mistype

    Shi Yek Lim ·

    a42b537e9e1c5e2b80a81ce563b5bffdb95f575b

  15. update nodejs runtime to 12.x

    Muhammad Anwaar ·

    3e56d309f4dea528bd3f9df079d7f50193dfa101

  16. change to use composite id for team

    Lim ·

    393f036a2c556a7ddf4d5b0eddc871f29c408d61

  17. Fix serverless.yml

    Reza Rosli ·

    ee106b6e3205e6c096489bc73d0ef6b5117744b8

  18. Remove serverless deployment bucket and fix ssm reference

    Reza Rosli ·

    de20df98fa2e5d9a1872358e8f4d6babc76f793e

  19. Add logs to confirm trigger event

    Reza Rosli ·

    2c867828946346420b9b1ec4e58a22f8ef0e7f0c

  20. Initial commit

    Shi Yek Lim ·

    79348a414deec49625e2bbeb59cc58bd61373c96