[updatecli] Track GitHub SSH in bound IPs allowed from our controllers and agents #4398
Labels
cert.ci.jenkins.io
ci.jenkins.io
infra.ci.jenkins.io
release.ci.jenkins.io
triage
Incoming issues that need review
trusted.ci.jenkins.io
Milestone
Service(s)
cert.ci.jenkins.io, ci.jenkins.io, infra.ci.jenkins.io, release.ci.jenkins.io, trusted.ci.jenkins.io
Summary
In https://github.com/jenkins-infra/shared-tools/blob/3612af5941ad4f991dd5f731e91c27c1394f0477/terraform/modules/azure-jenkinsinfra-azurevm-agents/main.tf#L81, we define a network firewall rule which allow outbound SSH from our VM agents to any SSH server.
We want to restrict this list to only the GitHub
git
endpoints to avoid cloning repositories from other sources.This will also be needed soon in the new ci.jenkins.io AWS instance.
destination_address_prefix
todestination_address_prefixes
(include the values). See its doc at https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/network_security_rule#destination_address_prefixes-1.git
)Reproduction steps
No response
The text was updated successfully, but these errors were encountered: