Sign inSign up

elisiano/owasp-modsecurity-crs

By elisiano

Updated over 9 years ago

Download OWASP ModSecurity CRS rules in the specified volume

Image
0

1.2K

elisiano/owasp-modsecurity-crs repository overview

owasp modsecurity crs

This container downloads the specified version of OWASP ModSecurity CRS rules into /data (which is exposed as a volume).

Usage

This image supports the following environment variables

  • CRS_VERSION (default: 3.0.0)
  • UID (default: 0)
  • GID (default: 0)

The following will download the CRS rules (default version 3.0.0) to ./crs

docker run --rm -it -v `pwd`/crs:/data elisiano/owasp-modsecurity-crs

If you want specify a different user/group and a specific version:

docker run --rm -it -v `pwd`/crs:/data -e UID=1000 -e GID=1000 -e CRS\_VERSION=3.0.0 elisiano/owasp-modsecurity-crs

NOTE: all commands inside the container will be executed as root, only the final files will be chown'ed.

Tag summary

Content type

Image

Digest

Size

3.6 MB

Last updated

over 9 years ago

docker pull elisiano/owasp-modsecurity-crs