OpenMetadata
OpenMetadata copied to clipboard
Fix: Avoid store sensitive info in created event if a Secrets Manager is configured
Describe your changes :
The connection and security config stored in IngestionPipeline and Services objects must be nullified when we save an entityCreated event.
Type of change :
- [x] Improvement
Checklist:
- [x] I have read the CONTRIBUTING document.
- [ ] I have commented on my code, particularly in hard-to-understand areas.
- [ ] I have added tests that prove my fix is effective or that my feature works.
- [x] All new and existing tests passed.
Reviewers
Backend: @open-metadata/backend
Test summary
Run details
| Project | openmetadata |
| Status | Passed |
| Commit | cb4f57d5ff |
| Started | Aug 12, 2022 10:28 AM |
| Ended | Aug 12, 2022 10:38 AM |
| Duration | 10:36 💡 |
| OS | Linux Ubuntu - 20.04 |
| Browser | Chrome 104 |
View run in Cypress Dashboard ➡️
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard
@nahuelverdugo can we extend this irrespective if secrets manager configured or not. Even if the users are configuring a db we should avoid sending sensitive information into ChangeEvent. Given ChangeEvent can be published via web hook or slack
@nahuelverdugo can we extend this irrespective if secrets manager configured or not. Even if the users are configuring a db we should avoid sending sensitive information into ChangeEvent. Given ChangeEvent can be published via web hook or slack
Should we do the same with entityUpdated events?
[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed! 
[OpenMetadata-catalog] Kudos, SonarCloud Quality Gate passed! 








