-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added server side AWS account ID log redaction #327
Added server side AWS account ID log redaction #327
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: micahhausler The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
@@ -394,6 +394,11 @@ server: | |||
# role to assume before querying EC2 API in order to discover metadata like EC2 private DNS Name | |||
ec2DescribeInstancesRoleARN: arn:aws:iam::000000000000:role/DescribeInstancesRole | |||
|
|||
# AWS Account IDs to scrub from server logs. (Defaults to empty list) | |||
scrubbedAccounts: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: To me "redacted" is more explicit than "scrubbed"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went back and forth on this, but in my mind "redacted" sounded too much like the whole log entry was omitted, and in this case I'm just redacting part of the log line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like and understand "scrub" FWIW. 👍
@@ -394,6 +394,11 @@ server: | |||
# role to assume before querying EC2 API in order to discover metadata like EC2 private DNS Name | |||
ec2DescribeInstancesRoleARN: arn:aws:iam::000000000000:role/DescribeInstancesRole | |||
|
|||
# AWS Account IDs to scrub from server logs. (Defaults to empty list) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to give the ability to redact more than just account IDs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could certainly add that at some point
This feature allows administrators to prevent specific account IDs from being emitted in server logs.