SalesCandy Git archive
CandyGuard
Makes AWS audit logs available for security review.
README
This repository provides security audit logging for SalesCandy by querying AWS CloudTrail logs stored in S3 via Athena. It currently supports a single method for client applications to download logs, focusing on tracking encryption/decryption events for data integrity.
The system ingests cloud audit logs streamed to an S3 bucket. It outputs queryable data via Athena, which client applications can then process, for example, by saving results to a local database.
Selected files and folders
README.mdpackage.jsonserverless.yml
Reconstructed issues
Summaries inferred from the archive. Original issue records are unavailable here.
Intermittent Athena Query Failure
Previously, calling Athena to query S3 logs would fail intermittently after a period of inactivity. This issue was addressed by updating S3 access permissions to ensure reliable querying over time.
Inconsistent Variable Naming
The codebase contained variable names that did not adhere to established project conventions. This change updated naming to improve code readability and maintainability.
Handling Ordered Query Results
The previous implementation did not guarantee the order of results returned from queries. This update ensures that query results are returned in a predictable, ordered sequence.
Selected commits
-
Add renovate.json
Renovate Bot ·
2739a64f75f31a09b0e729e89e729473ec89ca09 -
Merge branch 'bugfix/permissions' into 'master'
Reza Rosli ·
efa6af6a74cdfe918352589751b99ed288196189 -
Update permissions for S3 to fix intermittent error when calling Athena after some time -- probably will solve it
Reza Rosli ·
2dad5a46691faa36cc4899972bc9298f9da61c26 -
- use a better variable name to conform to conventions - send an ordered result
Reza Rosli ·
2eb475248e97d8b6ebf550f5839a51100ed9fec7 -
Update README.md
Reza Rosli ·
efdb0b9ba4e74b105d25cdd4c713214e16a90d27 -
Update README.md
Reza Rosli ·
86c8f2c33bb762a78ffd438c8166ca495b0d0970 -
Update README.md
Reza Rosli ·
59c12f13f95595f5dd8860ba2b4e60780fd1675b -
Update README.md
Reza Rosli ·
2955f4166d03941ca4a56090ca1cca0ff20ae597 -
Fix config file references
Reza Rosli ·
dbf7caf584fdfd48aa0f76925b7ae7399f019baa -
Remove npm-sql package and use string query (note: need to be hardened)
Reza Rosli ·
a650f27accdfedc28d87b7d23b7af79a9daa93d2 -
Initial commit
Reza Rosli ·
30007618287e7c06ced1aca602270cc18844277e