Agent Operator Guide
This guide covers managing Infracast Agents from the web UI and API.
Accessing the Agents Pageβ
Navigate to Agents from the main navigation menu. This page displays all registered agents for your tenant.
Agent Statusβ
| Status | Icon | Meaning |
|---|---|---|
| Online | π’ | Agent heartbeat received within last 90 seconds |
| Stale | π‘ | No heartbeat in 90 secondsβ10 minutes |
| Offline | π΄ | No heartbeat in over 10 minutes |
Generating Enrollment Tokensβ
Before deploying agents, you need an enrollment token:
- Click Generate Token button
- Configure options:
- Label: Descriptive name (e.g., "production-web-servers")
- Expires in: Token validity period (1β168 hours)
- Max uses: Limit number of registrations (or unlimited)
- Copy the generated token β it's shown only once
- Use the token in agent installation commands
Deploying Agentsβ
The Install Modal provides copy-paste commands for each platform:
Linuxβ
curl -fsSL https://get.infracast.io/agent | sudo bash -s -- \
--server https://api.infracast.io \
--token YOUR_TOKEN
Windows (PowerShell as Administrator)β
irm https://get.infracast.io/agent.ps1 | iex
Register-InfracastAgent -Server https://api.infracast.io -Token YOUR_TOKEN
macOSβ
curl -fsSL https://get.infracast.io/agent | sudo bash -s -- \
--server https://api.infracast.io \
--token YOUR_TOKEN
Viewing Agent Reportsβ
Click any agent row to open the Report Drawer with tabs:
Software Tabβ
Lists all discovered software packages:
- Package name and version
- Installation source (apt, yum, pip, brew, Windows Registry, etc.)
- CVE alerts for vulnerable versions
Ports Tabβ
Shows listening network ports:
- Port number and protocol (TCP/UDP)
- Bound address (0.0.0.0, 127.0.0.1, specific IP)
- Associated process name and PID
Processes Tabβ
Lists running processes:
- Process name and PID
- Running user
- Command line
- CPU and memory usage
Firewall Tabβ
Displays firewall rules:
- Chain (INPUT, OUTPUT, FORWARD)
- Action (ACCEPT, DROP, REJECT)
- Protocol and ports
- Source/destination CIDRs
Connections Tabβ
Shows active network connections:
- Local and remote addresses
- Connection state (ESTABLISHED, TIME_WAIT, etc.)
- Associated process
Agent Actionsβ
Force Re-Scanβ
Click the Scan button to trigger an immediate discovery scan. The agent will:
- Receive the command on next poll (within 30 seconds)
- Execute full discovery
- Submit new report
Revoke Tokenβ
Click Revoke to immediately invalidate an agent's authentication token:
- Agent will receive 401 on next API call
- Agent must be re-registered with a new enrollment token
- Use for: compromised hosts, decommissioned servers, security incidents
View in Asset Graphβ
Click View Asset to jump to the host's node in the Topology view, showing:
- Related infrastructure (VPC, subnet, security groups)
- Compliance findings
- Connected services
Bulk Operationsβ
Select multiple agents using checkboxes, then:
- Bulk Scan: Trigger scan on all selected agents
- Bulk Revoke: Revoke tokens for selected agents (requires confirmation)
Filtering and Searchβ
Use the filter bar to narrow the agent list:
- Status: Online, Stale, Offline
- OS: Linux, Windows, macOS
- Search: Hostname substring match
Auto-Refreshβ
The Agents page auto-refreshes every 30 seconds to show current status. Disable with the Pause button if needed.
Integrationsβ
Vulnerability Findingsβ
When agents discover software with known CVEs, findings are automatically created and appear in:
- Findings page with severity, CVE ID, and remediation steps
- Host asset detail page under "Vulnerabilities" section
- Compliance reports for relevant frameworks
Asset Graph Integrationβ
Agent-discovered data enriches existing cloud-discovered nodes:
- EC2 instance in AWS β agent adds process/port/software data
- On-prem server added manually β agent provides full visibility
Troubleshootingβ
Agent Not Appearingβ
- Check agent logs:
journalctl -u infracast-agent(Linux) - Verify enrollment token is valid and not expired
- Check network connectivity to Infracast server (outbound 443)
- Verify server URL is correct in agent config
Agent Shows Stale/Offlineβ
- Check if agent process is running:
systemctl status infracast-agent - Check agent logs for errors
- Verify no firewall blocking outbound HTTPS
- Check for certificate issues (if using mTLS)
Report Data Missingβ
- Force a re-scan from the UI
- Check agent has sufficient permissions (some collectors need root)
- Review agent logs for collector errors
See Troubleshooting Guide for more details.