fix: add nosec B104 comment to suppress Bandit warning
Some checks failed
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 1s
Python Tests / test-python (push) Successful in 8s
Security Scanning / security-scan (push) Successful in 58s
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
Integration Tests / test-service-integration (push) Failing after 9s

- Add # nosec B104 comment for host="0.0.0.0" in combined_main.py
- Binding to all interfaces is intentional for blockchain node service
- Resolves security-scanning CI failure
This commit is contained in:
aitbc
2026-04-24 12:13:38 +02:00
parent 7bbb75876a
commit 337c143e25

View File

@@ -37,7 +37,7 @@ class CombinedService:
app = create_app() app = create_app()
config = uvicorn.Config( config = uvicorn.Config(
app, app,
host="0.0.0.0", host="0.0.0.0", # nosec B104 - binding to all interfaces is intentional for blockchain node
port=8005, port=8005,
log_level="info" log_level="info"
) )