How chaitanya2850/containershield_updated works
ContainerShield is a Docker security-analysis dashboard frontend. Users inspect Docker containers and images, launch image or Java source scans, review stored findings, and investigate runtime and attack-surface risks; the assistant queries existing findings rather than starting scans. The graph captures documented analysis capabilities even though their backend implementation is outside this repository excerpt. Evidence is limited to README statements and frontend files listed as read or excerpted in the source index.
Main entry points: App.jsx Routed application · dockerService.js Docker access · scanService.js Scan access · NewScan.jsx Image scan intake
Components 26
Application shell
- Routed application
frontend/src/App.jsx - HTTP client
frontend/src/services/api.js
Docker inspection
- Security dashboard
frontend/src/pages/Dashboard.jsx - Container inventory
frontend/src/pages/Containers.jsx - Container details
frontend/src/pages/ContainerDetails.jsx - Image inventory
frontend/src/pages/Images.jsx - Image details
frontend/src/pages/ImageDetails.jsx - Docker access
frontend/src/services/dockerService.js
Security scanning
- Image scan intake
frontend/src/pages/NewScan.jsx - Scan history
frontend/src/pages/ScanHistory.jsx - Image findings
frontend/src/pages/ScanDetails.jsx - Scan access
frontend/src/services/scanService.js - Java source scan
frontend/src/pages/SourceScanner.jsx - Source findings
frontend/src/pages/SourceScanDetails.jsx
Risk analysis
- Runtime configuration audit
frontend/src/pages/RuntimeSecurity.jsx - Attack surface and risk
frontend/src/pages/SecurityAnalysis.jsx - Risk analysis access
frontend/src/services/attackSurfaceService.js
Investigation
- AI investigation
frontend/src/pages/Assistant.jsx - Assistant access
frontend/src/services/chatService.js
Other components
- Security operator
- ContainerShield backend
- Docker daemon
- Trivy scanner
- Semgrep analyzer
- Ollama model
- PostgreSQL findings store
Connections 39
- Security operator → Routed application: uses
frontend/src/App.jsx - Routed application → Security dashboard: routes to
frontend/src/App.jsx - Routed application → Container inventory: routes to
frontend/src/App.jsx - Routed application → Container details: routes to
frontend/src/App.jsx - Routed application → Image inventory: routes to
frontend/src/App.jsx - Routed application → Image details: routes to
frontend/src/App.jsx - Routed application → Image scan intake: routes to
frontend/src/App.jsx - Routed application → Scan history: routes to
frontend/src/App.jsx - Routed application → Image findings: routes to
frontend/src/App.jsx - Routed application → Java source scan: routes to
frontend/src/App.jsx - Routed application → Source findings: routes to
frontend/src/App.jsx - Routed application → Runtime configuration audit: routes to
frontend/src/App.jsx - Routed application → Attack surface and risk: routes to
frontend/src/App.jsx - Routed application → AI investigation: routes to
frontend/src/App.jsx - Security dashboard → Docker access: requests inventory
frontend/src/pages/Dashboard.jsx - Container inventory → Docker access: requests containers
frontend/src/pages/Containers.jsx - Container details → Docker access: requests details
frontend/src/pages/ContainerDetails.jsx - Image details → Scan access: requests findings
frontend/src/pages/ImageDetails.jsx - Image scan intake → Docker access: selects images
frontend/src/pages/NewScan.jsx - Image scan intake → Trivy scanner: requests image scan
README.md - Scan history → Scan access: loads history
frontend/src/pages/ScanHistory.jsx - Image findings → Scan access: loads findings
frontend/src/pages/ScanDetails.jsx - Java source scan → Semgrep analyzer: requests source analysis
README.md - Runtime configuration audit → ContainerShield backend: requests audit
- Attack surface and risk → Risk analysis access: loads risk analysis
frontend/src/pages/SecurityAnalysis.jsx - AI investigation → Assistant access: asks question
frontend/src/pages/Assistant.jsx - AI investigation → Scan access: loads stored scans
frontend/src/pages/Assistant.jsx - Docker access → HTTP client: sends requests
frontend/src/services/dockerService.js - Scan access → HTTP client: sends requests
frontend/src/services/scanService.js - Risk analysis access → HTTP client: sends requests
frontend/src/services/attackSurfaceService.js - Docker access → ContainerShield backend: requests Docker data
frontend/src/services/dockerService.js - Scan access → ContainerShield backend: requests scan data
frontend/src/services/scanService.js - Risk analysis access → ContainerShield backend: requests risk results
frontend/src/services/attackSurfaceService.js - Assistant access → ContainerShield backend: requests investigation
- ContainerShield backend → Docker daemon: inspects resources
README.md - ContainerShield backend → Trivy scanner: scans images
README.md - ContainerShield backend → Semgrep analyzer: analyzes Java
README.md - ContainerShield backend → Ollama model: sends finding context
README.md - ContainerShield backend → PostgreSQL findings store: persists findings
README.md