-
nginx-config-auditor v2.0.0
Stablereleased this
2026-11-23 14:35:28 -08:00 | 2 commits to master since this releaseShared CLI contract (docs/CLI-CONTRACT.md).
Changed (breaking)
--jsonnow prints one object{"schema_version": 1, "tool", "version", "exit_code", "results": [...]}
instead of a bare list of findings; the old list is theresultsvalue, unchanged.
Added
--quiet/-q: no stdout, exit code and stderr errors only.- Unexpected internal errors exit 3 with a message on stderr instead of a traceback (which would
have exited 1, like findings). Usage, input, parse andnginx -T/docker failures keep exit 2 (legacy). - JSON Schema
schema/nginx-config-auditor.schema.jsonand contract tests (tests/test_cli_contract.py).
Install
pipx install git+https://git.canutethegreat.com/CanuteTheGreat/nginx-config-auditor.git@v2.0.0 # or the wheel attached to this release: pipx install https://git.canutethegreat.com/CanuteTheGreat/nginx-config-auditor/releases/download/v2.0.0/nginx_config_auditor-2.0.0-py3-none-any.whl # or the single file (stdlib-only Python 3): curl -fsSLO https://git.canutethegreat.com/CanuteTheGreat/nginx-config-auditor/releases/download/v2.0.0/nginx_config_auditor.pySHA-256
e7c8861eb82c0cc71243937e5ee5856baa7b6422f7954d39512137994d32421e nginx_config_auditor.py 48206d9d7f56dee026da2187bd0fe42b56878af1a17a48d0b2024af19b6fe525 nginx_config_auditor-2.0.0-py3-none-any.whl 3a5960d28782fba70134814b2cf6dfbef53f04c5bbab4c58e35ed7b53d14b7b7 nginx_config_auditor-2.0.0.tar.gzDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
nginx-config-auditor v1.2.1
Stablereleased this
2026-10-17 01:50:09 -07:00 | 24 commits to master since this releasessl_ciphers: anonymous (unauthenticated) suites that aliases such asHIGH,ALL,AESorkEDH
enable are reported when the string also sets@SECLEVEL=0(the only way current OpenSSL negotiates
them; checked against real nginx handshakes);LOW,EXPandAECDHtokens are weak too.
Install
pipx install git+https://git.canutethegreat.com/CanuteTheGreat/nginx-config-auditor.git@v1.2.1 # or the wheel attached to this release: pipx install https://git.canutethegreat.com/CanuteTheGreat/nginx-config-auditor/releases/download/v1.2.1/nginx_config_auditor-1.2.1-py3-none-any.whl # or the single file (stdlib-only Python 3): curl -fsSLO https://git.canutethegreat.com/CanuteTheGreat/nginx-config-auditor/releases/download/v1.2.1/nginx_config_auditor.pySHA-256
a7712481a65e661986af3ba39519178eec21f4d89d9feba3f46ef1c5fa779a94 nginx_config_auditor.py 139f8f18b3fa8414db8f9b93f536dbffd9b4a2a219ec95dbffb62e03f01abb88 nginx_config_auditor-1.2.1-py3-none-any.whl c6cf4972116301f98217183b59868fc981e2a86c315091e7ceb860f23a367a14 nginx_config_auditor-1.2.1.tar.gzDownloads
-
Source code (ZIP)
11 downloads
-
Source code (TAR.GZ)
12 downloads
-
nginx-config-auditor v1.2.0
Stablereleased this
2026-10-16 19:57:49 -07:00 | 27 commits to master since this release- Includes are followed (globs too) and the merged tree is audited, so headers or TLS settings set in an
included snippet no longer produce false "missing" findings in every file. A directory with an
nginx.confis audited from it (files it never includes are listed as INFO);--localand--dump
auditnginx -Toutput;--dockernow runsnginx -Tinside the container (docker cp as fallback). - Security headers are checked per server, with http-level headers inherited exactly as nginx does.
- New checks:
add_headerredefinition in a location dropping inherited security headers, alias path
traversal (location/alias trailing-slash mismatch),valid_referers none,Host $http_host,
$uri/$document_uriin headers or redirects, unanchored Origin/Referer regexes, multi-line header
values, security headers withoutalways, short HSTS max-age. - A real parser (quotes, escapes,
${var}, multi-line directives); a config nginx can't parse exits 2. --fail-on(defaulthigh, the previous behaviour).- Installable as a package:
pipx install git+https://git.canutethegreat.com/CanuteTheGreat/nginx-config-auditor.git
puts anginx-config-auditorcommand on PATH (pyproject.toml, MIT license metadata). --versionflag.- Exit codes follow the shared convention: 0 = clean, 1 = findings at/above the gate, 2 = error or bad usage.
- Every tag now publishes a Forgejo release with this changelog, the wheel, the sdist and SHA256SUMS.
- CI installs the package with pip in a clean venv and checks
--version/--helpon every push.
Install
pipx install git+https://git.canutethegreat.com/CanuteTheGreat/nginx-config-auditor.git@v1.2.0 # or the wheel attached to this release: pipx install https://git.canutethegreat.com/CanuteTheGreat/nginx-config-auditor/releases/download/v1.2.0/nginx_config_auditor-1.2.0-py3-none-any.whl # or the single file (stdlib-only Python 3): curl -fsSLO https://git.canutethegreat.com/CanuteTheGreat/nginx-config-auditor/releases/download/v1.2.0/nginx_config_auditor.pySHA-256
769805c02d23162ef8d5f152bec2ded875213ba8a08bc33575bdbcb8cc1aff92 nginx_config_auditor.py 3465a0f82eaf573b39607e1dd8f4985142f6cf82f341b5209f51cf5f78dc0548 nginx_config_auditor-1.2.0-py3-none-any.whl d5e271c2afe5e1aabcdfc54350abfd75c0c61b434c66605796815fab7b4f1cb8 nginx_config_auditor-1.2.0.tar.gzDownloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
6 downloads
- Includes are followed (globs too) and the merged tree is audited, so headers or TLS settings set in an