Skip to content

Commit

Permalink
[Tech Debt] Blacklist auth headers from logs
Browse files Browse the repository at this point in the history
  • Loading branch information
levinmr committed Jul 8, 2024
1 parent efcaaad commit 513cb74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const loggerConfig = () => {
level: config.log_level,
}),
],
headerBlacklist: ["x-api-key", "api-data-gov-secret"],
};
};

Expand Down

0 comments on commit 513cb74

Please sign in to comment.