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
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:
@@ -37,7 +37,7 @@ class CombinedService:
|
||||
app = create_app()
|
||||
config = uvicorn.Config(
|
||||
app,
|
||||
host="0.0.0.0",
|
||||
host="0.0.0.0", # nosec B104 - binding to all interfaces is intentional for blockchain node
|
||||
port=8005,
|
||||
log_level="info"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user