Skip to content

Commit

Permalink
Merge pull request #35 from hmrc/BDOG-2592
Browse files Browse the repository at this point in the history
BDOG-2592: Allowlist filter config
  • Loading branch information
peteanning authored May 16, 2023
2 parents c458bd3 + 1502c6b commit dc1bebb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ lazy val microservice = Project("platform-status-frontend", file("."))
.configs(IntegrationTest)
.settings(integrationTestSettings(): _*)
.settings(resolvers += Resolver.jcenterRepo)
.settings(PlayKeys.playDefaultPort := 8462)
5 changes: 5 additions & 0 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ play.http.router = prod.Routes

play.filters.enabled = [uk.gov.hmrc.platformstatusfrontend.filters.HeaderSizeFilter]${play.filters.enabled}
play.filters.enabled += play.filters.csp.CSPFilter
bootstrap.filters.allowlist.enabled = false
bootstrap.filters.allowlist.ips = "127.0.0.1"
bootstrap.filters.allowlist.destination = "/"
bootstrap.filters.allowlist.excluded = ""

# Default http client
play.modules.enabled += "uk.gov.hmrc.play.bootstrap.HttpClientModule"
Expand Down Expand Up @@ -82,3 +86,4 @@ play.ws.timeout.request=200s

# override this property in app-config-xxx or self service secrets...
experiment.value=Test

0 comments on commit dc1bebb

Please sign in to comment.