Skip to main content
POST
/
scheduled
/
single-ip
Scan Single IP via Schedule Context
curl --request POST \
  --url https://api.altostrat.io/scans/cve/scheduled/single-ip \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "schedule_id": "d4e5f6a7-b8c9-0123-4567-890abcdef012",
  "site_id": "c3d4e5f6-a7b8-9012-3456-7890abcdef01",
  "ip_address": "192.168.1.100"
}'
{
  "scan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "pending",
  "ip_address": "127.0.0.1",
  "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "message": "Scan initiated. Check back for results."
}

Authorizations

Authorization
string
header
required

Authentication token obtained via Altostrat platform login.

Body

application/json

Data required to trigger a scan from an existing schedule but only for a single IP address.

schedule_id
string<uuid>
required

The UUID of the existing Scan Schedule to use as a template.

Example:

"d4e5f6a7-b8c9-0123-4567-890abcdef012"

site_id
string<uuid>
required

The UUID of the site (associated with the schedule) where the IP address resides.

Example:

"c3d4e5f6-a7b8-9012-3456-7890abcdef01"

ip_address
string<ipv4>
required

The specific IPv4 address to scan.

Example:

"192.168.1.100"

Response

Single IP scan request accepted.

Response confirming the initiation of a single IP scan based on a schedule.

scan_id
string<uuid>

The unique ID assigned to this specific scan instance.

status
string

Initial status of the scan request.

Example:

"pending"

ip_address
string<ipv4>
site_id
string<uuid>
created_at
string<date-time>
message
string
Example:

"Scan initiated. Check back for results."

I