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

Migrating project to use groups in allowlist #613

Merged
merged 4 commits into from
Nov 9, 2023
Merged

Conversation

andrewrlee
Copy link
Contributor

This PR migrates the project to use groups of IPs in their allowlist.

By referring to groups to IP addresses, we can centralize the definition of groups of ip addresses.
If these lists require changing in the future, we can change the definition once and future deploys across all services will automatically include these new IPs.

2 allowlist(s) have been detected that can be migrated.

Allowlist: helm_deploy/values-dev.yaml

New Groups

The effect of applying this PR is as follows:

  • The following groups will be applied: internal,prisons
  • The size of the allowlist defined in this file will change: 29 => 1 (28 removed)

Added IPs

The new Group membership will result in the following IPs being added to your allowlist by applying this PR:

  • mojo-azure-landing-zone-public-egress-1

  • mojo-azure-landing-zone-public-egress-2

  • mojo-azure-landing-zone-public-egress-3

  • mojo-azure-landing-zone-public-egress-4

Removed IPs

The following IPs have been identified as unnecessary and will be removed by applying this PR:

  • health-kick

  • ark-dom1-psn1

  • ark-dom1-psn2

  • dxc_webproxy1

  • dxc_webproxy2

  • dxc_webproxy3

  • dxc_webprox23

  • quantum

  • quantum_alt

  • quantum3

Allowlist: helm_deploy/values-preprod.yaml

New Groups

The effect of applying this PR is as follows:

  • The following groups will be applied: internal,prisons
  • The size of the allowlist defined in this file will change: 28 => 0 (28 removed)

Added IPs

The new Group membership will result in the following IPs being added to your allowlist by applying this PR:

  • mojo-azure-landing-zone-public-egress-1

  • mojo-azure-landing-zone-public-egress-2

  • mojo-azure-landing-zone-public-egress-3

  • mojo-azure-landing-zone-public-egress-4

Removed IPs

The following IPs have been identified as unnecessary and will be removed by applying this PR:

  • health-kick

  • ark-dom1-psn1

  • ark-dom1-psn2

  • dxc_webproxy1

  • dxc_webproxy2

  • dxc_webproxy3

  • dxc_webprox23

  • quantum

  • quantum_alt

  • quantum3

andrewrlee and others added 4 commits November 9, 2023 16:52
By referring to groups to IP addresses, we can centralize the definition of groups of ip addresses.
If these lists require changing in the future, we can change the definition once and future deploys across all services will automatically include these new IPs.

2 allowlist(s) have been detected that can be migrated.



## Allowlist: helm_deploy/values-dev.yaml

### New Groups

The effect of applying this PR is as follows:

- The following groups will be applied: `internal,prisons`
- The size of the allowlist defined in this file will change: `29 => 1 (28 removed)`

### Added IPs

The new Group membership will result in the following IPs being added to your allowlist by applying this PR:


- mojo-azure-landing-zone-public-egress-1
  

- mojo-azure-landing-zone-public-egress-2
  

- mojo-azure-landing-zone-public-egress-3
  

- mojo-azure-landing-zone-public-egress-4
  

### Removed IPs

The following IPs have been identified as unnecessary and will be removed by applying this PR:


- health-kick
  

- ark-dom1-psn1
  

- ark-dom1-psn2
  

- dxc_webproxy1
  

- dxc_webproxy2
  

- dxc_webproxy3
  

- dxc_webprox23
  

- quantum
  

- quantum_alt
  

- quantum3
  

## Allowlist: helm_deploy/values-preprod.yaml

### New Groups

The effect of applying this PR is as follows:

- The following groups will be applied: `internal,prisons`
- The size of the allowlist defined in this file will change: `28 => 0 (28 removed)`

### Added IPs

The new Group membership will result in the following IPs being added to your allowlist by applying this PR:


- mojo-azure-landing-zone-public-egress-1
  

- mojo-azure-landing-zone-public-egress-2
  

- mojo-azure-landing-zone-public-egress-3
  

- mojo-azure-landing-zone-public-egress-4
  

### Removed IPs

The following IPs have been identified as unnecessary and will be removed by applying this PR:


- health-kick
  

- ark-dom1-psn1
  

- ark-dom1-psn2
  

- dxc_webproxy1
  

- dxc_webproxy2
  

- dxc_webproxy3
  

- dxc_webprox23
  

- quantum
  

- quantum_alt
  

- quantum3
By referring to groups to IP addresses, we can centralize the definition of groups of ip addresses.
If these lists require changing in the future, we can change the definition once and future deploys across all services will automatically include these new IPs.

2 allowlist(s) have been detected that can be migrated.



## Allowlist: helm_deploy/values-dev.yaml

### New Groups

The effect of applying this PR is as follows:

- The following groups will be applied: `internal,prisons`
- The size of the allowlist defined in this file will change: `29 => 1 (28 removed)`

### Added IPs

The new Group membership will result in the following IPs being added to your allowlist by applying this PR:


- mojo-azure-landing-zone-public-egress-1
  

- mojo-azure-landing-zone-public-egress-2
  

- mojo-azure-landing-zone-public-egress-3
  

- mojo-azure-landing-zone-public-egress-4
  

### Removed IPs

The following IPs have been identified as unnecessary and will be removed by applying this PR:


- health-kick
  

- ark-dom1-psn1
  

- ark-dom1-psn2
  

- dxc_webproxy1
  

- dxc_webproxy2
  

- dxc_webproxy3
  

- dxc_webprox23
  

- quantum
  

- quantum_alt
  

- quantum3
  

## Allowlist: helm_deploy/values-preprod.yaml

### New Groups

The effect of applying this PR is as follows:

- The following groups will be applied: `internal,prisons`
- The size of the allowlist defined in this file will change: `28 => 0 (28 removed)`

### Added IPs

The new Group membership will result in the following IPs being added to your allowlist by applying this PR:


- mojo-azure-landing-zone-public-egress-1
  

- mojo-azure-landing-zone-public-egress-2
  

- mojo-azure-landing-zone-public-egress-3
  

- mojo-azure-landing-zone-public-egress-4
  

### Removed IPs

The following IPs have been identified as unnecessary and will be removed by applying this PR:


- health-kick
  

- ark-dom1-psn1
  

- ark-dom1-psn2
  

- dxc_webproxy1
  

- dxc_webproxy2
  

- dxc_webproxy3
  

- dxc_webprox23
  

- quantum
  

- quantum_alt
  

- quantum3
Copy link
Contributor

@tpmcgowan tpmcgowan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tpmcgowan tpmcgowan merged commit ecd5ddd into main Nov 9, 2023
4 of 5 checks passed
@tpmcgowan tpmcgowan deleted the alee/ip-allowlist branch November 9, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants