Skip to content

Commit

Permalink
reorganize logAggregatedStats post
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay288 committed Oct 2, 2022
1 parent 2837a30 commit 39af5fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/services/logging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ export const logAggregatedStats = async () => {
method: "POST",
data: {
instanceUUID: settings.uuid,
email: settings.updateEmail,
skippedEmail: settings.skippedUpdateEmail,
eventName: "instanceAggregatedStats",
data: {
numEndpoints: counts.endpointsTracked,
numHosts: counts.hostCount,
openAlerts: counts.newAlerts,
openHighRiskAlerts: counts.highRiskAlerts,
piiDataFields: counts.piiDataFields,
email: settings.updateEmail,
skippedEmail: settings.skippedUpdateEmail,
},
},
})
Expand Down

0 comments on commit 39af5fc

Please sign in to comment.