Skip to content

Commit

Permalink
Merge branch 'main' into MLPAB-2119-post-office-progress
Browse files Browse the repository at this point in the history
  • Loading branch information
hawx authored Dec 6, 2024
2 parents 3b253f9 + 04fb417 commit ee00f52
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 88 deletions.
48 changes: 4 additions & 44 deletions lang/cy.json

Large diffs are not rendered by default.

44 changes: 4 additions & 40 deletions lang/en.json

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion terraform/account/network_firewall_rules.rules
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
drop tls $HOME_NET any -> $EXTERNAL_NET any (tls.sni; content:"evil.com"; startswith; nocase; endswith; msg:"matching TLS denylisted FQDNs"; priority:1; flow:to_server, established; sid:1; rev:1;)
pass http $HOME_NET any -> $EXTERNAL_NET any (http.host; dotprefix; content:".amazon.com"; endswith; msg:"matching HTTP allowlisted FQDNs"; priority:1; flow:to_server, established; sid:1; rev:1;)
pass http $HOME_NET any -> $EXTERNAL_NET any (http.host; content:"api.notifications.service.gov.uk"; startswith; endswith; msg:"matching HTTP allowlisted FQDNs"; priority:1; flow:to_server, established; sid:2; rev:1;)
pass http $HOME_NET any -> $EXTERNAL_NET any (http.host; content:"api.os.uk"; startswith; endswith; msg:"matching HTTP allowlisted FQDNs"; priority:1; flow:to_server, established; sid:3; rev:1;)
pass http $HOME_NET any -> $EXTERNAL_NET any (http.host; content:"current.cvd.clamav.net"; startswith; endswith; msg:"matching HTTP allowlisted FQDNs"; priority:1; flow:to_server, established; sid:4; rev:1;)
pass http $HOME_NET any -> $EXTERNAL_NET any (http.host; content:"database.clamav.net"; startswith; endswith; msg:"matching HTTP allowlisted FQDNs"; priority:1; flow:to_server, established; sid:5; rev:1;)
pass http $HOME_NET any -> $EXTERNAL_NET any (http.host; content:"development.lpa-uid.api.opg.service.justice.gov.uk"; startswith; endswith; msg:"matching HTTP allowlisted FQDNs"; priority:1; flow:to_server, established; sid:6; rev:1;)
pass http $HOME_NET any -> $EXTERNAL_NET any (http.host; content:"integration.lpa-uid.api.opg.service.justice.gov.uk"; startswith; endswith; msg:"matching HTTP allowlisted FQDNs"; priority:1; flow:to_server, established; sid:7; rev:1;)
pass http $HOME_NET any -> $EXTERNAL_NET any (http.host; content:"oidc.integration.account.gov.uk"; startswith; endswith; msg:"matching HTTP allowlisted FQDNs"; priority:1; flow:to_server, established; sid:8; rev:1;)
pass http $HOME_NET any -> $EXTERNAL_NET any (http.host; content:"publicapi.payments.service.gov.uk"; startswith; endswith; msg:"matching HTTP allowlisted FQDNs"; priority:1; flow:to_server, established; sid:9; rev:1;)
drop http $HOME_NET any -> $EXTERNAL_NET any (http.header_names; content:"|0d 0a|"; startswith; msg:"not matching any HTTP allowlisted FQDNs"; priority:1; flow:to_server, established; sid:10; rev:1;)
2 changes: 1 addition & 1 deletion terraform/account/region/network.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "network" {
source = "github.com/ministryofjustice/opg-terraform-aws-firewalled-network?ref=v0.2.8"
source = "github.com/ministryofjustice/opg-terraform-aws-firewalled-network?ref=v0.2.9"
cidr = var.network_cidr_block
enable_dns_hostnames = true
enable_dns_support = true
Expand Down
2 changes: 1 addition & 1 deletion web/template/donor/evidence_successfully_uploaded.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<h2 class="govuk-heading-m">{{ tr .App "whatHappensNext" }}</h2>

{{ if .Donor.SignedAt.IsZero }}
{{ trFormatHtml .App "youCanStillSignYourLpa" "Application" (printf "application%s" .Donor.FeeType.String | tr .App) }}
{{ trFormatHtml .App "youCanStillSignYourLpa" "Application" (printf "application:%s" .Donor.FeeType.String | tr .App) }}
{{ end }}

<h3 class="govuk-heading-s">{{ tr .App "ifYourApplicationIsSuccessful" }}</h3>
Expand Down
2 changes: 1 addition & 1 deletion web/template/donor/what_happens_next_post_evidence.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl">{{ tr .App "whatHappensNext" }}</h1>

{{ trFormatHtml .App "whatHappensNextPostEvidenceContent" "Application" (printf "application%s" .Donor.FeeType.String | tr .App) }}
{{ trFormatHtml .App "whatHappensNextPostEvidenceContent" "Application" (printf "application:%s" .Donor.FeeType.String | tr .App) }}

<h2 class="govuk-heading-m">{{ tr .App "ifYourApplicationIsSuccessful" }}</h2>
<p class="govuk-body">
Expand Down

0 comments on commit ee00f52

Please sign in to comment.