alb-lint
Lint AWS Application Load Balancers for common misconfigurations.
Install
pip install alb-lint
From source:
pip install -e .
60-second demo
# Lint one ALB
alb-lint --load-balancer-arn arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-alb/abc \
--profile myprofile --region us-east-1
# Lint all ALBs in the region
alb-lint --all --profile myprofile --region us-east-1
# JSON output
alb-lint --all --json --region us-east-1
Example output:
alb-lint: checked 1 load balancer(s)
[WARN] no_https_listener: my-alb: no HTTPS (443) listener.
[PASS] host_headers_unique: my-alb: no duplicate Host header rules on listener 80.
[WARN] zero_targets: my-alb: target group 'tg-app' has 0 registered targets.
Result: OK (no FAIL findings)
Exit code 0 if there are no FAIL findings; 1 if any FAIL (e.g. duplicate Host header rules).
What it checks
| Finding | Severity |
|---|---|
| No HTTPS (443) listener | WARN |
| Duplicate Host header conditions across rules (same listener) | FAIL |
| Target group with 0 registered targets | WARN |
| Unhealthy targets | WARN |
Publishing to PyPI
pip install build twine
python -m build
twine upload dist/*
Or push a v* tag; GitHub Actions can publish via trusted publishing (see .github/workflows/publish.yml).
License
MIT
Metadata
Release files for alb-lint 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| alb_lint-0.1.0.tar.gz | 6.9 kB | Without provenance | Details for alb_lint-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alb_lint-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for alb_lint-0.1.0-py3-none-any.whl |
Total release size: 13.9 kB
Release files / alb_lint-0.1.0.tar.gz
| Download URL | alb_lint-0.1.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32510d3b8363c4fd0ca682c9932e906cdb4bac49df80b35c25c3c1ff5b421db3
|
|
BLAKE2b-256 checksum How to use checksums |
41c21b33edd1548e5cfe5d7fe27ffbedfb4f2fb042ca326833e7f35a4ade4f56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / alb_lint-0.1.0-py3-none-any.whl
| Download URL | alb_lint-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b9cd490e72b98ddb68573f5414ac2a247baeb024b0522310a9a49c4bc446e2d
|
|
BLAKE2b-256 checksum How to use checksums |
15a75b1619d2a6dfb150ef317fa673d48470738d339988ad49c470635fb508ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for alb-lint 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.