| .. | ||
| src | ||
| package.json | ||
| README.md | ||
| turbo.json | ||
zammad-addon-hardening
A Zammad addon that hardens a Zammad instance according to CDR's needs.
The hardening applied consists of:
- Prevent sensitive information from being leaked in notification emails
- Zammad external services for geoip, maps, image, and calendar are disabled
- Disable client side stats
- Set minimum password length to 10
- Prevent customers from creating tickets in the web ui
- Disable user registration
- Remove default "nicole.braun@zammad.org" account
Development
-
Edit the files in
src/Migration files should go in
src/db/addon/hardening(see this post) -
Update version and changelog in
hardening-skeleton.szpm -
Build a new package
makeThis outputs
dist/hardening-vXXX.szpm -
Install the szpm using the zammad package manager.
-
Repeat
Create a new migration
Included is a helper script to create new migrations. You must have the python
inflection library installed.
- debian/ubuntu:
apt install python3-inflection - pip:
pip install --user inflection - or create your own venv
To make a new migration simply run:
make new-migration
License
This is a free software project licensed under the GNU Affero General Public License v3.0 (GNU AGPLv3) by The Center for Digital Resilience and Guardian Project.
🤠