メインコンテンツまでスキップ

ホスト型公開 TLS、QUIC、SSH スキャンをキューに入れる

POST /api/v1/network-scans

公開ホスト名または IP と任意の明示的ポートを指定し、プロトコル tls(既定、ポート 443)、ssh(ポート 22)、quic(UDP ポート 443)を選択します。TLS は baseline、modern-v2(二つの RSA 配送スイートを含む九つの限定プローブ)、pq-v2(六つの明示的 PQ/ハイブリッドグループを含む 15 プローブ)に対応します。旧 modern-v1 と pq-v1 プロファイルも引き続き対応します。SSH と QUIC は baseline のみです。QUIC は quicVersion v1(既定)または v2 を使用し、新しい TLS 1.3 ハンドシェイクとサーバー証明書パスを検証します。HTTP/3 要求は送信せず、RFC 10024 ハイブリッドグループ X25519MLKEM768、SecP256r1MLKEM768、SecP384r1MLKEM1024 を従来型フォールバック付きで提示します。結果はネゴシエーション済み交換を表し、網羅的なサーバー機能ではありません。証明書認証は従来型のままです。QUIC タイムアウトは結論不能で、バージョンを暗黙に再試行しません。expectedFingerprint は SSH 専用の任意の正規 OpenSSH SHA256 ホスト鍵ピンです。不一致では所見を生成せず、ピン留めなしの結果はサーバー ID を検証しません。SSH はユーザー認証やコマンド実行を行いません。URL、認証情報、アプリケーションデータは使用しません。同じ認証情報で同一再試行するため requestId を保持してください。未完了操作はワークスペース当たり最大二つです。状態をポーリングしてください。容量やクリーンアップの失敗は成功スキャンではありません。終了後の再試行には新しい requestId が必要です。

許可されるロール: admin, analyst.

認証​

以下の OpenAPI の選択肢は、受け付ける認証方式を示します。ブラウザーからの変更には、正規の Origin ヘッダーも必要です。

[
{
"organizationCredential": []
},
{
"browserSession": []
}
]

パラメーター​

[]

リクエスト本文​

{
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"networkScopeId": {
"type": "string",
"format": "uuid",
"description": "Optional existing network scope, administrator only. Assigned atomically before queueing; bound to requestId."
},
"requestId": {
"type": "string",
"format": "uuid"
},
"protocol": {
"enum": [
"tls",
"ssh",
"quic"
],
"default": "tls"
},
"quicVersion": {
"enum": [
"v1",
"v2"
],
"description": "QUIC only; defaults to v1. A reservation cannot change versions."
},
"expectedFingerprint": {
"type": "string",
"pattern": "^SHA256:[A-Za-z0-9+/]{42}[AEIMQUYcgkosw048]$"
},
"profile": {
"enum": [
"baseline",
"modern-v1",
"pq-v1",
"modern-v2",
"pq-v2"
],
"default": "baseline"
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 300
}
},
"required": [
"requestId",
"target"
]
}
}
}
}

レスポンス​

{
"202": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NetworkScan"
}
}
}
},
"400": {
"description": "Validation error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "Missing/expired/revoked credential",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"403": {
"description": "Insufficient role",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"409": {
"description": "State or idempotency conflict",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"413": {
"description": "Body too large",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "Unsupported media type",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "Request budget exhausted; respect Retry-After",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
},
"headers": {
"Retry-After": {
"schema": {
"type": "integer",
"minimum": 1
},
"description": "Seconds until sufficient budget is expected; concurrent traffic may consume replenished capacity."
}
}
},
"500": {
"description": "Internal error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"503": {
"description": "Not configured",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}

#/components/schemas/Asset などの参照は、共有スキーマで解決されます。クライアント生成には OpenAPI コントラクトをダウンロードしてください。このページは生成されたもので、計画中のエンドポイントではなく、実装済みの開発 API を説明します。