HEX
Server: nginx/1.28.0
System: Linux w3c-2 6.8.0-78-generic #78-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 11:34:18 UTC 2025 x86_64
User: inpa_co_1 (1082)
PHP: 8.3.29
Disabled: NONE
Upload Files
File: //etc/modsecurity.d/owasp/.pre-commit-config.yaml
---
ci:
    autofix_commit_msg: |
        chore(formatting): auto fixes from pre-commit hooks

        for more information, see https://pre-commit.ci
    autofix_prs: true
    skip: []
    submodules: false
# Update the rev variable with the release version that you want, from the yamllint repo
# You can pass your custom .yamllint with args attribute.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v6.0.0
  hooks:
    - id: check-yaml
      args: [--allow-multiple-documents]
    - id: end-of-file-fixer
    - id: trailing-whitespace
      exclude: '^regex-assembly/'
      args: [--markdown-linebreak-ext=md]
- repo: https://github.com/adrienverge/yamllint.git
  rev: v1.38.0
  hooks:
    - id: yamllint
      args: [-f=github, -c=.yamllint.yml]
      files: '\.ya?ml$'
- repo: local
  hooks:
    - id: regex-update
      name: update-regex-assembly-files
      entry: crs-toolchain regex update --all -l error
      additional_dependencies: ['github.com/coreruleset/crs-toolchain/[email protected]']
      language: golang
      pass_filenames: false
      files: '^regex-assembly/'
- repo: local
  hooks:
    - id: regex-format
      name: format-regex-assembly-files
      entry: crs-toolchain regex format --all -l error
      additional_dependencies: ['github.com/coreruleset/crs-toolchain/[email protected]']
      language: golang
      pass_filenames: false
      files: '^regex-assembly/'