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

[updatecli] Track GitHub SSH in bound IPs allowed from our controllers and agents #4398

Open
2 tasks
dduportal opened this issue Nov 19, 2024 · 1 comment
Open
2 tasks

Comments

@dduportal
Copy link
Contributor

dduportal commented Nov 19, 2024

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.

Reproduction steps

No response

@jayfranco999
Copy link
Collaborator

Update:

jenkins-infra/shared-tools#160 updates the attribute destination_address_prefix to destination_address_prefixes with the list of GitHub git end points.

Next steps include tracking the list of ips in destination_address_prefixes with updatecli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment