-
Notifications
You must be signed in to change notification settings - Fork 1
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
Tdrd 339 automated or semi automated workflow for blocking i ps with malicious activity #579
Tdrd 339 automated or semi automated workflow for blocking i ps with malicious activity #579
Conversation
Need IP in CIDR notation
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.
Looks good. Just one comment.
Once this is deployed should document the process for blocking an IP address. Should go into the: https://github.com/nationalarchives/tdr-dev-documentation-internal/tree/main/manual repo; and link to it from the BAU documentation
root_locals.tf
Outdated
@@ -60,6 +60,8 @@ locals { | |||
|
|||
ip_allowlist = concat(local.developer_ip_list, local.trusted_ip_list) | |||
|
|||
ip_blocked_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.
Will the intention be to hardcode the ip address into the Terraform? Given this is a public repo, I'm not sure what the privacy implications are about this. The other IP addresses are stored in the tdr-configurations
repo which is private.
I'd check with probably Kurtis about hardcoding an IP address into a public Github reop.
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.
Just one query. Thanks.
@@ -60,6 +60,8 @@ locals { | |||
|
|||
ip_allowlist = concat(local.developer_ip_list, local.trusted_ip_list) | |||
|
|||
ip_blocked_list = module.tdr_configuration.terraform_config["ip_blocked_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.
Bit confused. From this PR: https://github.com/nationalarchives/da-terraform-configurations/pull/47 these are in the da-terraform_configurations
not the tdr_configuration
.
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.
The source for tdr_configuration is da-terraform-configurations
module "tdr_configuration" {
source = "./da-terraform-configurations"
project = "tdr"
}
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.
Didn't notice that.
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.
Looks good. Thanks
No description provided.