Ingestion Bot Fix + AcitvityFeedAlerts Update (#9475)

This commit is contained in:
Mohit Yadav 2022-12-22 04:42:16 +05:30 committed by GitHub
parent 20fa7b10fa
commit 517da06ece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -72,6 +72,8 @@ public class ChangeEventHandler implements EventHandler {
if (changeEvent == null) {
return null;
}
// Always set the Change Event Username as context Principal, the one creating the CE
changeEvent.setUserName(loggedInUserName);
LOG.info(
"Recording change event {}:{}:{}:{}",
changeEvent.getTimestamp(),

View File

@ -9,12 +9,12 @@
},
"filteringRules": [
{
"name": "DisableIngestionActivityFeedData",
"name": "matchUpdatedBy",
"effect": "exclude",
"condition": "matchUpdatedBy('ingestion-bot')"
},
{
"name": "DisableUsageSummaryFromActivityFeed",
"name": "matchAnyFieldChange",
"effect": "exclude",
"condition": "matchAnyFieldChange('usageSummary')"
}