Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Advantech WEDA Container Runtime Protection

Deployment and verification tooling for running the open-source NeuVector container security platform on WEDA-managed edge devices: a docker-compose.yml for the official upstream image, a baseline security-config template, and two AI-agent skills that deploy it through WEDA and prove its security controls actually fire. There's no separate deploy/cert-gen/test script to run — deployment and verification are direct calls against WEDA's or NeuVector's own REST APIs, or docker compose directly.

NeuVector version 5.4.8
Image docker.io/neuvector/allinone:5.4.8 — the unmodified upstream image published by SUSE. This repo does not build, modify or redistribute it.
License (this repo) MIT — see LICENSE. NeuVector and its image are licensed separately — see NOTICE.md.

NeuVector and SUSE are trademarks of SUSE LLC or its affiliates. This project is not affiliated with, sponsored by or endorsed by SUSE, and SUSE does not support it.

Overview

The upstream allinone image runs NeuVector's controller, enforcer and manager in a single container on Docker — no Kubernetes needed.

Component Purpose
Controller Policy engine and cluster coordination
Enforcer Runtime security and network monitoring
Manager (Web UI) Browser-based management console (port 8443)
REST API Programmatic management and automation (port 10443)

Up to v5.4.8.edge.v1.1.2.32309 this repo deployed an Advantech-modified, size-reduced rebuild of this image from a private registry. It now uses the upstream image as published, so the license notices, change history and branding stay those of SUSE's own build — see RELEASE_NOTES.md.

Deploy

No cert-gen step and no deploy script. Pick whichever matches your situation.

Option A — via WEDA (no script, just its own API): three raw calls create a stack config from docker-compose.yml, deploy it to your device, and poll until it's running.

Option B — direct, already on the device: docker compose up -d.

Both need the same ~90 second wait afterward for the Web UI/API to become reachable. See Quickstart.md for the exact commands and expected output for each.

Connect via Tunnel

If you deployed via WEDA (Option A), the container is on a remote device — open a tunnel to it before you can reach its API or Web UI. See Quickstart.md for the commands, and weda-deploy-skill/REFERENCE.md (Act 2) for the gotchas that shaped them — applicationHost in particular is the single most failure-prone field in this whole flow.

Verify It's Working

Log in and check system/summary — a healthy instance reports "controllers": 1, "enforcers": 1, "hosts": 1. See Quickstart.md for the exact commands, expected output, and Troubleshooting if something looks wrong.

Two guides cover the rest, depending on what you need:

  • NeuVector-User-Guide.md — start here to decide between manual install (this machine) or AI-skill-driven install (a remote WEDA-managed device).
  • Quickstart.md — the full manual-install walkthrough: prerequisites, every step with expected output, configuration, operations, troubleshooting, API reference, and file layout.

Apply the Security Config Template

protect-config-template.example.json (repo root) is a baseline security config: Protect mode, a set of file-monitor rules, an allow-DNS/allow-HTTPS/deny-everything-else network policy, and a response rule that quarantines the container on a critical security event. Apply it via the weda-neuvector-deploy-skill (below) in one command, or by hand — see Quickstart.md for the raw REST call per field, with expected output for each.

AI Skills

Two self-contained AI-agent skills are bundled in this repo, for deploying and verifying NeuVector on a WEDA-managed device without manual steps. Neither depends on the other, or on any separate login/deploy tool already set up — each mints its own WEDA session and, if needed, deploys its own test workload.

Skill Purpose
weda-deploy-skill Container-agnostic: deploys any Docker Compose stack to a WEDA device and proves a tunnel to it actually relays traffic.
weda-neuvector-deploy-skill Deploys NeuVector itself (if not already running), configures Protect mode + a file-access rule + a backup, then actually triggers each control and confirms it fires live — not just that the setting saved.
export WEDA_LOGIN='<account>'
export WEDA_PASSWORD='<password>'    # exported in your shell, never passed as a script argument

# Deploy NeuVector, configure it, and verify every control fires live — full sign-off report
python3 weda-neuvector-deploy-skill/scripts/run_neuvector.py \
  --domain <domain> --tenant <tenant> --token-file /tmp/weda.jwt \
  --device-id <deviceId> --group <test-container-group>

# Or: confirm any container deploys and a tunnel to it actually works, before testing NeuVector specifically
python3 weda-deploy-skill/scripts/run_deploy.py \
  --domain <domain> --tenant <tenant> --token-file /tmp/weda.jwt \
  --device-id <deviceId> --compose-file <path-to-compose.yml> \
  --stack-name <name> --port <port> --application-host <device-ip>

Each skill's own SKILL.md documents every subcommand (deploy/tunnel/check/template for weda-neuvector-deploy-skill; deploy/tunnel for weda-deploy-skill), prerequisites, and a running list of real-hardware gotchas found while building it. Each REFERENCE.md has the exact API calls and pass criteria, and each test scenario doc (WEDA-Deployment-E2E-Test-Scenario.md / NeuVector-E2E-Test-Scenario.md) has the full step-by-step sign-off sheet.

NeuVector Platform Reference

The allinone image ships the full NeuVector management plane (controller, enforcer, and manager). The tables below map each feature area to the official NeuVector documentation and note what applies to this single-node Docker deployment.

The "confirmed live" results below were recorded on the earlier Advantech rebuild of the same NeuVector 5.4.8 release. Re-run weda-neuvector-deploy-skill against the upstream image before relying on them for sign-off.

Included — Fully Functional

These features work in this deployment. Use the documentation links as the reference for expected behavior during testing.

Feature UI Location What to Verify Documentation
Dashboard Dashboard (landing page) Risk score cards, security events summary, container count Navigating the Console
Network Activity Network Activity Container network map renders, connections visible Navigating the Console
Assets — Nodes Assets > Nodes Host node detected with OS and kernel info Navigating the Console
Assets — Containers Assets > Containers Running containers listed, including self Navigating the Console
Security Modes Policy Discover / Monitor / Protect mode switching Modes
Groups Policy > Groups Default groups created (e.g. nodes, nv.neuvector) Groups
Network Rules Policy > Network Rules Default rules exist, can create/edit/delete rules Network Rules
Process Profile Rules Policy > Groups > process rules Per-group process allow/deny rules Process Profile Rules
File Access Rules Policy > Groups > file rules Per-group file access monitoring rules — note: NeuVector's own predefined sensitive files (e.g. /etc/passwd, /etc/hosts, /etc/resolv.conf) are alert-only by design and never block-enforced, even with a custom rule on the same path; blocking works on user-configured custom paths File Access Rules
Response Rules Policy > Response Rules Automated actions on security events Response Rules
DLP / WAF Sensors Policy > DLP/WAF Data loss prevention and WAF sensor configuration DLP & WAF Sensors
Network Threats Security Risks Threat signature detection Network Threat Signatures
Users & Roles Settings > Users & Roles Create/edit/delete users, assign roles Users and Roles
System Configuration Settings > Configuration Syslog, webhooks, policy mode defaults, session timeout Configuration
Notifications & Events Notifications Security events, risk reports, event logs Reporting & Notifications
REST API Port 10443 All API endpoints — see Quickstart.md REST API & Automation
CIS Benchmarks / Compliance Security Risks > Compliance docker_bench_status: "finished" on GET /v1/host, real findings from GET /v1/compliance/asset — confirmed live (2026-09-30), works without the CVE scanner component (a separate feature, see below) Scanning & Compliance

Not Available in This Deployment

These features are not part of the allinone container or not applicable to single-node Docker. They may appear in the UI menu but will show empty results or not function. This is expected behavior — do not file bugs for these.

Feature Reason Documentation
Vulnerability Scanning (CVE database) The CVE scanner is a separate NeuVector image (neuvector/scanner) that this deployment does not run — scanners: 0 in /v1/system/summary. Does not affect CIS Benchmarks/Compliance, a separate feature — see the Included table above Scanning & Compliance
Registry Scanning Requires the CVE scanner component above Registry Scanning
Admission Control Kubernetes-only feature, not applicable to Docker Admission Controls
Multi-Cluster Federation Single-node deployment only Multi-Cluster Management
Custom Compliance Checks Requires scanner component Custom Compliance
CRD Policies Kubernetes-only feature CRD Definitions

Additional Resources

Topic Link
Security Policy Overview open-docs.neuvector.com/policy/overview
Testing NeuVector (official guide) open-docs.neuvector.com/testing/testing
Allinone Special Use Cases open-docs.neuvector.com/special/general
Improve Security Risk Score open-docs.neuvector.com/navigation/improve_score
CVE Database Sources open-docs.neuvector.com/scanning/cve_sources

Limitations

Functional

Limitation Description
Single-node only Multi-node cluster deployment not supported
No CVE scanner The separate neuvector/scanner container is not deployed — CIS Benchmarks/Compliance is a separate feature and does work, see the Included table above
Upgrades No in-place upgrade on Docker; change the image tag in the compose file and redeploy

Operational

Limitation Description
Privileged mode Container requires privileged mode
Host PID namespace Container requires host PID namespace
Root access docker/docker compose commands typically require sudo/root access
Default admin password The image starts with admin/admin (upstream behavior; a preset first password is only supported on Kubernetes). Ports 8443/10443 are published on every host interface, so change the password immediately after the first login.
Internal certificates The upstream 5.4.x image ships no internal (controller–enforcer) certificates; without them the controller and enforcer crash-loop on a missing /etc/neuvector/certs/internal/ca.cert and the Web UI login never succeeds. The compose files therefore override the entrypoint: on first boot it generates a per-installation CA and certificate (RSA 2048, valid 10 years) into /var/neuvector/certs/internal on the host, links it to /etc/neuvector/certs/internal, then starts the image's own supervisord. Later boots reuse the same files. To use your own certificates, mount ca.cert, cert.pem and cert.key at /etc/neuvector/certs/internal/ and generation is skipped. To rotate, stop the container, delete /var/neuvector/certs/internal and start it again.
One instance per host The container uses a fixed hostname: nv and CLUSTER_JOIN_ADDR=nv for its (single-node) cluster identity, and pid: host gives it visibility into every process on the machine. Running a second NeuVector container on the same physical host — even against a separate /var/neuvector path — collides on both, and the second instance's enforcer/hosts/workloads never populate (system/summary reports enforcers: 0 indefinitely). Confirmed live 2026-09-28. Stop or remove any existing NeuVector container on a host before deploying another to it.

Compatibility

Limitation Description
Docker only Kubernetes deployment not supported
Linux only Windows and macOS not supported as container hosts

Release Notes

See RELEASE_NOTES.md for version history and details.

License and Trademarks

The contents of this repository are licensed under the MIT License — see LICENSE.

NeuVector is an open-source container security platform by SUSE, licensed under the Apache License 2.0. This repository does not contain or redistribute it; the compose files pull the unmodified upstream image. See NOTICE.md for its license terms and the trademark notice.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages