Skip to content
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

Log DNS queries made in our VPC #256

Closed
AntoineAugusti opened this issue Apr 30, 2021 · 1 comment
Closed

Log DNS queries made in our VPC #256

AntoineAugusti opened this issue Apr 30, 2021 · 1 comment
Assignees
Labels

Comments

@AntoineAugusti
Copy link
Contributor

AntoineAugusti commented Apr 30, 2021

To prepare #255

Log DNS queries made in our VPC to a CloudWatch Logs log group for auditing purposes and before only allowing some queries. We can do this for our own VPC

resource "aws_vpc" "notification-canada-ca" {
cidr_block = "10.0.0.0/16"
enable_dns_hostnames = true
tags = {
Name = "notification-canada-ca"
CostCenter = "notification-canada-ca-${var.env}"
}
}

You can create a new log group for this, and keep a retention of 2-3 weeks only. Asked the AWS support if we need to give some IAM permissions (waiting for an answer).

Ressources to look at:

@AntoineAugusti
Copy link
Contributor Author

Fixed in #266 by @jimleroyer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants