Files
Netbox-Client-Agent-for-Win…/.github/workflows/build.yml
T
MrBlakeandClaude Opus 5.5 0098b49787
Build Windows agent / build (win-arm64) (push) Canceled after 0s
Build Windows agent / build (win-x64) (push) Canceled after 0s
feat: listen mode for scanning by the NetBox Synchronizer, Intune and GPO deployment
- New "mode" setting: "netbox" (default, unchanged), "listen" (no NetBox access needed; the
  inventory is served on a TCP port for the NetBox Synchronizer desktop app) or "both"
- Listen protocol v1: HMAC-SHA256 signed requests with nonce and timestamp, AES-256-GCM encrypted
  inventory, optional allowed_networks; the inventory has the shape of the desktop app's WinRM scan
- New options --serve, --print and --version
- install.ps1 sets up the listener task (at startup, restarted on failure) and the firewall rule for
  listen mode, removes what a changed mode no longer needs and stays idempotent
- New gpo-startup.ps1 for Group Policy startup scripts: installs or updates from a share only when
  agent.exe or config.json changed
- README, messages and scripts in English

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 11:01:46 +01:00

31 lines
756 B
YAML

name: Build Windows agent
on:
push:
branches: [main]
tags: ['v*']
pull_request:
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
runtime: [win-x64, win-arm64]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- shell: pwsh
run: ./scripts/build.ps1 -Runtime ${{ matrix.runtime }}
- uses: actions/upload-artifact@v4
with:
name: agent-${{ matrix.runtime }}
path: |
dist/${{ matrix.runtime }}/agent.exe
config.example.json
config.listen.example.json
scripts/install.ps1
scripts/uninstall.ps1
scripts/gpo-startup.ps1