Monitoring

Watch organizations, domains, and IP ranges on a daily, weekly, or monthly cadence.

What monitoring is

Monitoring watches an organization you define: a name plus one or more domains and IP or CIDR blocks. Efflux then runs captures, surveys, permutation checks, and scans on the cadence you set, and keeps the history on the link.

Frequencies are daily, weekly, monthly, or disabled.

Create an organization

POST/v3/monitoring/organizations

Create an organization

FieldNotes
nameRequired
domainsDomain names to watch. At least one domain or one CIDR is required
monitoringPlan for every domain on this request
cidrsIPs or CIDRs to watch
ip_monitoringPlan for every CIDR on this request

monitoring fields are capture, survey, and permutation. ip_monitoring.scan is required when you send CIDRs, and it cannot be disabled. ip_monitoring.additional_ports adds ports to that scan.

curl -sS -X POST "https://api.efflux.io/v3/monitoring/organizations" \
  -H "Authorization: Bearer $EFFLUX_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Acme",
    "domains": ["example.com"],
    "monitoring": {
      "capture": "weekly",
      "survey": "weekly",
      "permutation": "monthly"
    },
    "cidrs": ["203.0.113.0/28"],
    "ip_monitoring": {
      "scan": "weekly",
      "additional_ports": ["8443"]
    }
  }'
GET/v3/monitoring/organizations

List organizations

GET/v3/monitoring/organizations/{org_id}

Get an organization

PUT/v3/monitoring/organizations/{org_id}

Rename an organization

DELETE/v3/monitoring/organizations/{org_id}

Delete an organization

Rename sends { "name": "Acme Holdings" }.

Domains and IPs after create

Add a domain or CIDR to an existing organization, or change its plan, with the link routes.

POST/v3/monitoring/organizations/{org_id}/domains

Link a domain

GET/v3/monitoring/organizations/{org_id}/domains

List domain links

GET/v3/monitoring/organizations/{org_id}/domains/{link_id}

Get a domain link

PUT/v3/monitoring/organizations/{org_id}/domains/{link_id}

Update monitoring or notifications

DELETE/v3/monitoring/organizations/{org_id}/domains/{link_id}

Remove a domain link

The single-link GET accepts include=report or include=all when you want the latest artifacts inline.

POST/v3/monitoring/organizations/{org_id}/ips

Link an IP or CIDR

GET/v3/monitoring/organizations/{org_id}/ips

List IP links

GET/v3/monitoring/ips

IP links across organizations

GET/v3/monitoring/domains

Domain links across organizations

Domain link updates send monitoring and optional notifications. IP link updates send monitoring only. Notification fields match certificate monitoring, plus a tasks object (capture, survey, permutation) for which completions should notify.

History

Each domain link keeps history for the work its plan runs:

  • capture/history and capture/history/{event_id}
  • survey/history and survey/history/{event_id}
  • permutation/history and permutation/history/{event_id}
  • certificates, certificates/count, certificates/{hash}
  • capture/image and capture/network-logs

Hosts observed for the organization:

GET/v3/monitoring/organizations/{org_id}/hosts

Hosts for an organization

GET/v3/monitoring/organizations/{org_id}/hosts/{host}

One host

Organization, domain, and IP lists default to limit 20 (max 200).