适用场景
Diagnostic runbook for container startup, traffic capture, API connectivity, health checks, resource usage, and ingestion gaps.
Diagnostic runbook for container startup, traffic capture, API connectivity, health checks, resource usage, and ingestion gaps. 受众: Operations engineers, DevOps teams, security operations teams. 典型配置时长: 5-15 minutes.
Diagnostic runbook for container startup, traffic capture, API connectivity, health checks, resource usage, and ingestion gaps.
步骤 1
Diagnose problems with sensor container initialization and API key retrieval.
达成目标状态
Confirm network connectivity to the platform API: curl -v https://api.blackshield.chaplau.com/health
步骤 2
Verify packets are reaching the sensor and being processed.
达成目标状态
Verify sensor interface is NOT in promisc mode race condition: ip link show [interface]
步骤 3
Ensure the sensor can reach and authenticate with the platform.
达成目标状态
Test with different network path (via NAT, proxy, etc.) if behind firewall.
步骤 4
Verify the sensor health endpoint and readiness probe.
达成目标状态
Review container resource limits: docker inspect [id] | grep -A 10 HostConfig
步骤 5
Monitor CPU, memory, and disk usage; adjust configuration if needed.
达成目标状态
Disk full: docker exec [id] du -sh /var/log/ — remove old scan logs or increase EBS/disk size.
步骤 6
Diagnose why expected findings are not appearing in the platform.
达成目标状态
Confirm findings are being sent: docker exec [id] tcpdump -i eth0 host api.blackshield.chaplau.com dst port 443 -A | grep -i 'blackshield'
Demonstration only
This configuration is designed for ease of use. To deploy scanner clients at scale, please plan your deployment architecture accordingly or contact us for enterprise best practices.
#!/bin/bash
# Quick troubleshooting commands
docker ps -a | grep network-sensor
docker logs -f "$(docker ps -q | head -1)" | tail -50
curl -s -H "Authorization: Bearer $BLACKSHIELD_API_KEY" https://api.blackshield.chaplau.com/api/v1/health