A stand-in TrueSight Server Automation server you run on your own computer, so you can demo and test BMC Helix Automation Console without a real TSSA install.
Unofficial community test tool. Not made, endorsed or supported by BMC. It contains fake servers and fake data, and doesn't manage anything real.
You need Node.js 18 or later. Nothing else has to be installed by hand.
start-windows.bat.start-macos.command, choose Open, then confirm.bash start-macos.command.The first run downloads cloudflared from Cloudflare, starts the mock and opens the console at http://localhost:9842. The window then shows the host name to give HAC. Press Ctrl+C in that window to stop.
To run it locally with no tunnel and no download:
node start.js --no-tunnel
Configure the connector in HAC first, then download and run it. Use a sandbox or demo tenant: the mock's 24 fake servers are added to whatever assets HAC already has.
run.bat on Windows, or run.sh on macOS or Linux.| HAC field | Value |
|---|---|
| Truesight Server Automation Host Name | The Host Name from the mock's window |
| Truesight Server Automation Application Port | 443 (9843 if you're not using the tunnel) |
| Truesight Server Automation Role Name | BLAdmins |
| Truesight Server Automation Version | 26.3.00.130 |
| User Name / Password | BLAdmin / password (test values for the mock only) |
| Role | BLAdmins |
| Authentication Method | Secure Remote Password |
| Collection Mode | 10 minutes |
Already have a connector? Open its Action menu, choose Edit, enter these values and click Update. Write down the old values first so you can switch back.
The tunnel's address is public while the mock runs, and the mock has default credentials. Use it for test data only, and stop it when you've finished. The tunnel host can change after a restart. If it does, change Host Name with Action > Edit, restart the connector and click Update.
Under Manage > Patch Policies, use Execute Now, wait for the run, then click Sync. HAC shows the scan run, asset status, logs and the dashboard's Patch tab. Create a remediation operation to install patches.
Under Manage > Compliance Scan Policies, create a policy from a template such as CIS - Windows Server 2022, then Execute Now and Sync. You get asset rule counts, each asset's rules, logs and the dashboard's Compliance tab.
To fix findings, select the policy on the Compliance tab and click Remediate. After that operation runs, a new scan shows those servers as compliant. Undo compliance remediation under Settings in the mock console resets this for the next demo.
Under Operations > Create Operation > Adhoc Job Selections, pick from 15 NSH script jobs, 7 deploy jobs and 5 batch jobs. HAC schedules Execute Now about 90 seconds ahead.
Browse servers, depot content, catalogs, jobs and live job logs. Under Settings you can change run speed and the failure rate, or reset all data.
| Area | Status | Notes |
|---|---|---|
| Patch scan, results, logs, dashboard | Works | Needs Sync after each run. HAC gets at most 250 patch rows per run. |
| Patch remediation operations | Works | Really removes the patches from the mock's data. |
| Compliance scans and dashboard | Works | An asset's rule list shows sample rules, so it won't match the full counts. |
| Compliance remediation | Works | Tested through HAC's Remediate flow. |
| Ad hoc NSH and batch operations | Works | Batch results appear under each member job. |
| Ad hoc deploy operations | Partly | They create and run, but Sync fails, so HAC stays at Awaiting Execution. |
| Per-host patch counts | Shows 0 | The asset table's Missing and Installed columns stay 0. Open an asset to see its patches. |
| Daily, weekly and monthly schedules | Not run | They save and display, but only one-time schedules and Execute Now run. |
| Automatic results without Sync | Not yet | HAC rejects the run-finished callback. Auto-Sync below is the workaround. |
Tested on Windows against one HAC 26.3 tenant. The macOS launcher hasn't been run on a Mac yet.
HAC doesn't show a run's results until someone clicks Sync. The HAC Auto-Sync page in the mock console gives you a script to paste into the browser console of a signed-in HAC tab. It calls Sync every 30 seconds while that tab stays open, and stops after 8 hours. If your HAC session expires, reload HAC and paste it again.
| Setting | Default | What it does |
|---|---|---|
MOCK_HTTP_PORT | 9842 | Console port |
MOCK_HTTPS_PORT | 9843 | TSSA API port |
MOCK_TUNNEL | cloudflare | off disables the tunnel |
MOCK_TUNNEL_TOKEN | none | Use a named Cloudflare tunnel, which keeps a fixed host |
MOCK_CONNECTOR_ZIP | newest in Downloads | Connector zip for the built-in Helix worker |
The README has every setting and the full list of API shapes HAC expects.
Install the LTS version from nodejs.org, then start again.
VPNs can block the tunnel. Run node server.js --stop-tunnel, start the mock again, and enter the new host in HAC.
Click Sync, or use Auto-Sync. If a compliance Sync fails, HAC keeps that run's partial data, so start a new run.
Use Settings > Reset all data in the mock console.