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

add banned password list to the default deployments #7784

Merged
merged 1 commit into from Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions changelog/unreleased/add-banned-list-to-deployements.md
@@ -0,0 +1,6 @@
Enhancement: Add banned password list to the default deployments

We add banned password list to the default deployments

https://github.com/owncloud/ocis/pull/7784
https://github.com/owncloud/ocis/issues/7724
@@ -0,0 +1,5 @@
password
12345678
123
ownCloud
ownCloud-1
3 changes: 3 additions & 0 deletions deployments/examples/oc10_ocis_parallel/docker-compose.yml
Expand Up @@ -124,7 +124,10 @@ services:
OCIS_INSECURE: "${INSECURE:-false}"
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
# password policies
FRONTEND_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: "banned-password-list.txt"
volumes:
- ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt
- ./config/ocis/proxy.yaml:/etc/ocis/proxy.yaml
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
Expand Down
@@ -0,0 +1,5 @@
password
12345678
123
ownCloud
ownCloud-1
3 changes: 3 additions & 0 deletions deployments/examples/ocis_hello/docker-compose.yml
Expand Up @@ -71,7 +71,10 @@ services:
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
# demo users
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
# password policies
FRONTEND_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: "banned-password-list.txt"
volumes:
- ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt
- ./config/ocis/proxy.yaml:/etc/ocis/proxy.yaml
- ./config/ocis/web.yaml:/etc/ocis/web.yaml
- ocis-config:/etc/ocis
Expand Down
@@ -0,0 +1,5 @@
password
12345678
123
ownCloud
ownCloud-1
3 changes: 3 additions & 0 deletions deployments/examples/ocis_keycloak/docker-compose.yml
Expand Up @@ -77,7 +77,10 @@ services:
OCIS_EXCLUDE_RUN_SERVICES: "idp"
GRAPH_ASSIGN_DEFAULT_USER_ROLE: "false"
GRAPH_USERNAME_MATCH: "none"
# password policies
FRONTEND_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: "banned-password-list.txt"
volumes:
- ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
labels:
Expand Down
@@ -0,0 +1,5 @@
password
12345678
123
ownCloud
ownCloud-1
4 changes: 3 additions & 1 deletion deployments/examples/ocis_ldap/docker-compose.yml
Expand Up @@ -88,8 +88,10 @@ services:
OCIS_INSECURE: "${INSECURE:-false}"
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
# admin user password
# password policies
FRONTEND_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: "banned-password-list.txt"
volumes:
- ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
labels:
Expand Down
3 changes: 3 additions & 0 deletions deployments/examples/ocis_s3/docker-compose.yml
Expand Up @@ -78,7 +78,10 @@ services:
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
# demo users
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
# password policies
FRONTEND_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: "banned-password-list.txt"
volumes:
- ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
labels:
Expand Down
@@ -0,0 +1,5 @@
password
12345678
123
ownCloud
ownCloud-1
3 changes: 3 additions & 0 deletions deployments/examples/ocis_traefik/docker-compose.yml
Expand Up @@ -74,7 +74,10 @@ services:
NOTIFICATIONS_SMTP_SENDER: oCIS notifications <notifications@${OCIS_DOMAIN:-ocis.owncloud.test}>
NOTIFICATIONS_SMTP_USERNAME: notifications@${OCIS_DOMAIN:-ocis.owncloud.test}
NOTIFICATIONS_SMTP_INSECURE: "true" # the mail catcher uses self signed certificates
# password policies
FRONTEND_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: "banned-password-list.txt"
volumes:
- ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
labels:
Expand Down
@@ -0,0 +1,5 @@
password
12345678
123
ownCloud
ownCloud-1