Versions in this module Expand all Collapse all v2 v2.1.1 Jul 20, 2026 v2.1.0 Jul 19, 2026 v2.0.0 Jul 18, 2026 Changes in this version + const AgentEnrollmentApproved + const AgentEnrollmentClaimed + const AgentEnrollmentExpired + const AgentEnrollmentModeDevice + const AgentEnrollmentModePreauthorized + const AgentEnrollmentPending + const AgentEnrollmentRejected + const AgentEnrollmentRevoked + const RoleAdmin + const RoleViewer + type ASNSource struct + ASN int64 + CreatedAt time.Time + Enabled bool + IPv4Count int + IPv6Count int + LastError string + LastSyncedAt *time.Time + Managed bool + Name string + Organization string + PrefixCount int + Status string + UpdatedAt time.Time + type ASNSyncSummary struct + Failed int + Items []ASNSource + Synced int + type Agent struct + Architecture string + Concurrency int + Continent string + CreatedAt time.Time + ID string + LastSeenAt time.Time + Name string + OS string + Region string + Status string + Version string + type AgentEnrollment struct + AgentID string + ApprovedAt *time.Time + Architecture string + ClaimedAt *time.Time + Concurrency int + Continent string + CreatedAt time.Time + ExpiresAt time.Time + ID string + Mode string + Name string + OS string + Region string + RequestedConcurrency int + RequestedName string + Status string + UpdatedAt time.Time + Version string + type AgentEnrollmentConfig struct + AgentImage string + AgentVersion string + PollInterval int + PublicURL string + TTLSeconds int + type ApproveAgentEnrollmentRequest struct + Concurrency int + Continent string + Name string + Region string + type AutomationRun struct + AutomationKey string + AutomationType string + ConfigSnapshot json.RawMessage + Error string + FinishedAt *time.Time + ID string + Name string + StartedAt time.Time + Status string + Summary json.RawMessage + Trigger string + type BlacklistEntry struct + AgentID string + AgentName string + BlockedAt time.Time + Continent string + FailureCount int + Reason string + Region string + RetryAfter time.Time + TargetIP string + UpdatedAt time.Time + type BlacklistRecheckResult struct + JobIDs []string + Jobs int + Reason string + Skipped bool + Targets int + type BlacklistRecheckSettings struct + Attempts int + CronExpression string + DueOnly bool + EligibleTargets int + Enabled bool + Fraction float64 + LastError string + LastRunAt *time.Time + MaxLatencyMS float64 + MaxPacketLoss float64 + MaxTargets int + NextRunAt time.Time + RetryMinutes int + SkipIfRunning bool + TimeoutMS int + Timezone string + UpdatedAt time.Time + type ClaimAgentEnrollmentRequest struct + Architecture string + CredentialID string + CredentialSecret string + OS string + PairingToken string + Version string + type ClaimAgentEnrollmentResponse struct + AgentID string + Concurrency int + Interval int + Name string + Status string + type ColoLocation struct + City string + Code string + Continent string + Country string + Status string + UpdatedAt time.Time + type ColoSyncSummary struct + Locations int + SyncedAt time.Time + type CreateASNSourceRequest struct + ASN int64 + Enabled *bool + Name string + Organization string + type CreateAgentEnrollment struct + Architecture string + Concurrency int + Continent string + ExpiresAt time.Time + Mode string + Name string + OS string + Region string + RequestedConcurrency int + RequestedName string + Status string + TokenHash string + Version string + type CreateDeviceEnrollmentRequest struct + Architecture string + Concurrency int + Name string + OS string + Version string + type CreateDeviceEnrollmentResponse struct + ExpiresIn int + Interval int + PairingToken string + VerificationURI string + VerificationURIComplete string + type CreatePreauthorizedEnrollmentRequest struct + Concurrency int + Continent string + Name string + Region string + TTLMinutes int + type CreatePreauthorizedEnrollmentResponse struct + Enrollment AgentEnrollment + ExpiresIn int + PairingToken string + type CreateScanJobRequest struct + AgentIDs []string + Attempts int + BlacklistMinutes int + Hostname string + IncludeBlocked bool + IncludeIPv6 bool + Kind string + MaxLatencyMS float64 + MaxPacketLoss float64 + Name string + Path string + Port int + SamplingMode string + Scheme string + TargetCount int + TimeoutMS int + type CreateUserRequest struct + DisplayName string + Password string + Role string + Username string + type LoginRequest struct + Password string + Username string + type Overview struct + AgentsOnline int64 + AgentsTotal int64 + AverageLatencyMS float64 + CompletedJobs int64 + IPsAvailable int64 + IPsBlacklisted int64 + IPsTotal int64 + PrefixesTotal int64 + ResultsLast24Hour int64 + RunningJobs int64 + type Prefix struct + Active bool + CIDR string + IPVersion int + LastSeen time.Time + Source string + type ProbeResult struct + Attempts int + Available bool + CFRay string + Colo string + ErrorCode string + ErrorMessage string + HTTPStatus int + HTTPVersion string + LatencyMS float64 + PacketLoss float64 + SuccessfulTries int + TCPConnectMS float64 + TLSHandshakeMS float64 + TLSVersion string + TTFBMS float64 + TargetIP string + TaskID int64 + TotalMS float64 + type ResetUserPasswordRequest struct + Password string + type ResultBatch struct + AgentID string + JobID string + Results []ProbeResult + type ResultColoFacet struct + City string + Code string + Continent string + Count int + Country string + type ResultFilter struct + AgentID string + Available *bool + Colo string + ColoCity string + ColoContinent string + ColoCountry string + Continent string + JobID string + Order string + Page int + PageSize int + Region string + Since *time.Time + Sort string + TargetIP string + View string + type ResultJobFacet struct + Count int + CreatedAt time.Time + ID string + Kind string + Name string + type ResultPage struct + Counts ResultStatusCounts + Items []ScanResult + Page int + PageSize int + Total int64 + TotalPages int + type ResultStatusCounts struct + All int64 + Available int64 + Failed int64 + type ScanJob struct + Attempts int + BlacklistMinutes int + CompletedTargets int + CreatedAt time.Time + FailedTargets int + FinishedAt *time.Time + Hostname string + ID string + Kind string + MaxLatencyMS float64 + MaxPacketLoss float64 + Name string + Path string + Port int + Progress float64 + SamplingMode string + Scheme string + StartedAt *time.Time + Status string + SuccessTargets int + TimeoutMS int + TotalTargets int + type ScanResult struct + AgentID string + AgentName string + Available bool + CFRay string + Colo string + ColoCity string + ColoContinent string + ColoCountry string + Continent string + ErrorCode string + HTTPStatus int + HTTPVersion string + ID int64 + JobID string + JobName string + LatencyMS float64 + PacketLoss float64 + Region string + ScannedAt time.Time + TCPConnectMS float64 + TLSHandshakeMS float64 + TLSVersion string + TTFBMS float64 + TargetIP string + TotalMS float64 + type ScanSchedule struct + AgentIDs []string + Attempts int + BlacklistMinutes int + CreatedAt time.Time + CronExpression string + Enabled bool + Hostname string + ID string + IncludeBlocked bool + IncludeIPv6 bool + LastError string + LastJobID *string + LastRunAt *time.Time + MaxLatencyMS float64 + MaxPacketLoss float64 + Name string + NextRunAt time.Time + Path string + Port int + SamplingMode string + Scheme string + TargetCount int + TimeoutMS int + Timezone string + UpdatedAt time.Time + func (s ScanSchedule) JobRequest() CreateScanJobRequest + type ScanTask struct + ID int64 + TargetIP string + type SourceStatus struct + IPv4Count int + IPv6Count int + LastError string + LastSyncedAt *time.Time + PrefixCount int + Source string + Status string + type SourceSyncSchedule struct + CronExpression string + Enabled bool + LastError string + LastRunAt *time.Time + Name string + NextRunAt time.Time + RunOnStartup bool + Source string + Timezone string + UpdatedAt time.Time + type StartAutomationRunRequest struct + AutomationKey string + AutomationType string + ConfigSnapshot json.RawMessage + Name string + Trigger string + type TaskBatch struct + Attempts int + Hostname string + JobID string + JobName string + Path string + Port int + Scheme string + Tasks []ScanTask + TimeoutMS int + type TaskClaimRequest struct + Limit int + type UpdateASNSourceRequest struct + Enabled *bool + Name *string + Organization *string + type UpdateBlacklistRecheckSettingsRequest struct + Attempts int + CronExpression string + DueOnly bool + Enabled bool + Fraction float64 + MaxLatencyMS float64 + MaxPacketLoss float64 + MaxTargets int + RetryMinutes int + SkipIfRunning bool + TimeoutMS int + Timezone string + type UpdateSourceSyncScheduleRequest struct + CronExpression string + Enabled bool + RunOnStartup bool + Timezone string + type UpdateUserRequest struct + DisplayName string + Enabled bool + Role string + type UpsertScanScheduleRequest struct + AgentIDs []string + Attempts int + BlacklistMinutes int + CronExpression string + Enabled bool + Hostname string + IncludeBlocked bool + IncludeIPv6 bool + MaxLatencyMS float64 + MaxPacketLoss float64 + Name string + Path string + Port int + SamplingMode string + Scheme string + TargetCount int + TimeoutMS int + Timezone string + func (r *UpsertScanScheduleRequest) ApplyJobRequest(job CreateScanJobRequest) + func (r UpsertScanScheduleRequest) JobRequest() CreateScanJobRequest + type User struct + CreatedAt time.Time + DisplayName string + Enabled bool + ID string + LastLoginAt *time.Time + Role string + UpdatedAt time.Time + Username string + type UserCredential struct + PasswordHash string