このエンドポイントは、CSAスキャンのステータスを提供します。
Request
GET https://<tenant-URL>/api/v1/csa_scan?token=<token>&op=status&scan_id=<hash>
Valid parameters are:
| 鍵 | Value | デスクリプション |
|---|---|---|
op | status | スキャンのステータスを返します。 |
scan_id | スキャン開始時に返されるスキャンIDのハッシュ値。 | スキャン状況の確認に必要です。ステータスを確認したいスキャンのIDを指定します。誤ったIDが指定された場合は、空のレスポンスが返されます。 |
リクエストとレスポンスの例
curl -X GET https://<tenant-URL>/api/v1/csa_scan?token=<token>&op=status&scan_id=<hash>
{
"status": "success",
"msg": "",
"data": {
"scan_results": [
{
"status": "In progress",
"instance": "test-policy",
"appname": "aws",
"scan_start_time": 1569867918.178233,
"policy_name": "aws-policy"
}
],
"errors": [],
"scan_started_by": ""
}
}
