{"id":22070981,"url":"https://github.com/vshn/modsecurity-docker","last_synced_at":"2025-06-30T17:34:36.532Z","repository":{"id":37537306,"uuid":"170704130","full_name":"vshn/modsecurity-docker","owner":"vshn","description":"A custom Docker image based on the official ModSecurity image.","archived":false,"fork":false,"pushed_at":"2025-06-30T13:07:49.000Z","size":154,"stargazers_count":14,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-30T13:44:54.723Z","etag":null,"topics":["docker","modsecurity","modsecurity-core-rule-set","vshn-project-ignore"],"latest_commit_sha":null,"homepage":"","language":"Awk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vshn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-02-14T14:28:13.000Z","updated_at":"2025-06-30T12:37:32.000Z","dependencies_parsed_at":"2023-09-27T14:39:17.230Z","dependency_job_id":"44a9b90e-7e4b-443f-9b8d-50a3cae4fe6a","html_url":"https://github.com/vshn/modsecurity-docker","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/vshn/modsecurity-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshn%2Fmodsecurity-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshn%2Fmodsecurity-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshn%2Fmodsecurity-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshn%2Fmodsecurity-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vshn","download_url":"https://codeload.github.com/vshn/modsecurity-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshn%2Fmodsecurity-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262819420,"owners_count":23369469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","modsecurity","modsecurity-core-rule-set","vshn-project-ignore"],"created_at":"2024-11-30T20:20:51.420Z","updated_at":"2025-06-30T17:34:36.523Z","avatar_url":"https://github.com/vshn.png","language":"Awk","readme":"# VSHN ModSecurity Container Image\n\nBased on the official [coreruleset/modsecurity-crs-docker](https://github.com/coreruleset/modsecurity-crs-docker) image.\n\n- Contains the necessary tweaks to run on OpenShift\n- Sets opinionated default configurations\n- Includeds the [ClamAV anti-virus scanner](https://www.clamav.net/) client\n\n## Usage\n\nThe latest image can be pulled from\n\n    ghcr.io/vshn/modsecurity-docker:latest\n\nOur tags track upstream CRS versions.\nSee [ghcr.io/vshn/modsecurity-docker](https://github.com/vshn/modsecurity-docker/pkgs/container/modsecurity-docker) for a list of historic tags.\n\n## Development\n\nA very basic Docker Compose setup including this container with `httpbun` as the backend. To start it, run:\n\n```sh\ndocker compose up\n```\n\nOnce the containers are running, you can make requests to it:\n\n```sh\ncurl -i http://localhost:8080/anything\n\ncurl -i -H 'Host: vshn.ch' http://localhost:8080/anything\n\ncurl -i http://localhost:8080/cookies/set/secret/random-value\n```\n\nFor all supported endpoints, visit [localhost:8080](http://localhost:8080/).\n\n### Release\n\nTo publish a new release, simply create \u0026 push a new Git Tag.\n\nNOTE: Tags should follow the included CRS version. Use the build number to signify changes to the images with the same CRS number, e.g. `v4.3.0-0` -\u003e `v4.3.0-1`.\n\nOne-Liner to create a Tag:\n\n```sh\ntag=\"v$(grep '^FROM ' Dockerfile| cut -d':' -f2 | cut -d'-' -f1)-0\"; git tag -s \"$tag\" -m \"$tag\"\n```\n\nDon't forget to `git push --tags` afterwards!\n\n## Configuration\n\nMost aspects can be configured using environment variables.\nFor a full list of supported environment variables, see the [upstream documentation][upstream].\nWe use the Apache Alpine image.\n\n### Extra configuration variables\n\n- `HEALTHZ_CIDRS` - CIDR from which requests to the `/healthz` endpoint should be whitelisted.\n  This should usually be set to your Kubernetes host subnet range.\n  Multiple CIDR ranges can be specified.\n  Example: `1.2.3.4/24,5.6.7.8/24`\n\n## License\n\nThis project itself is licensed under BSD 3-Clause, see [LICENSE](./LICENSE).\n\nThis project includes code from the [OWASP CRS Docker Image project][upstream] (Thank you!). See [Apache-2.0.txt](Apache-2.0.txt).\n\nThis project includes code from the [ClamAV project][clamav] (Thank you!). See [GPLv2.txt](GPLv2.txt).\n\n[upstream]: https://github.com/coreruleset/modsecurity-crs-docker\n[clamav]: https://www.clamav.net/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvshn%2Fmodsecurity-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvshn%2Fmodsecurity-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvshn%2Fmodsecurity-docker/lists"}