threatDetectionsリソースAPI (1.0)
Download OpenAPI specification:Download
脅威検知詳細一覧を取得するAPI
脅威検知詳細一覧を取得するAPI
query Parameters
limit | string ページあたりの表示件数の指定(デフォルト10, 最大100) |
offset | string 表示するページ番号の指定(デフォルト0) |
terminalId | string
|
circuitId | string
|
threatLevel | string Enum: "Critical" "High" "Medium" "Low" "Information" "Other" 脅威度のフィルタ(複数選択可) |
threatType | string Enum: "APT" "Malware" "Phishing" "C2" "Exploit" "Other" 脅威種別のフィルタ(複数選択可)
|
blockingStatus | string Enum: "blocked" "noBlocked" "unBlockable" "autoBlocked" 端末遮断ステータスのフィルタ(複数選択可) |
sortKey | string ソート項目の指定. レスポンスボディの項目から |
direction | string ソート順の指定. asc: 昇順, desc: 降順 |
startTime | string
|
endTime | string
|
header Parameters
X-Auth-Token required | string クライアントが Keystone を利用して取得した認証 Token |
Responses
200
OK
404
User Not Found
get/v1/threat-detections
https://api.ntt.com/sdpf-ztgict/v1/threat-detections
Response samples
- 200
Content type
application/json
Copy
Expand all Collapse all {- "total": 100,
- "offset": 0,
- "limit": 10,
- "threatDetections": [
- {
- "terminalId": "Z123456789",
- "circuitId": "Z123456789",
- "circuitPriority": "main",
- "blockingStatus": "blocked",
- "timestamp": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "threatType": "Malware",
- "threatLevel": "High",
- "threatDestination": "192.0.2.1",
- "threatPort": 80,
- "applicationCategory": "web-browsing",
- "direction": "in",
- "destinationIp": "192.0.2.1",
- "sourceIp": "192.0.2.1",
- "destinationPort": 80,
- "sourcePort": 12345,
- "protocol": "tcp",
- "lineType": "internet"
}
]
}
CPE遮断フィルタ一覧の取得API
CPE遮断フィルタ一覧を取得するAPI
query Parameters
limit | string ページあたりの表示件数の指定(デフォルト10, 最大1000) |
offset | string 表示するページ番号の指定(デフォルト0) |
terminalId | string
|
blockingStatus | string
|
operationStatus | string
|
sortKey | string ソート項目の指定. terminalId, creationTimeでソート可。 |
direction | string ソート順の指定. asc: 昇順, desc: 降順 |
startTime | string
|
endTime | string
|
header Parameters
X-Auth-Token required | string クライアントが Keystone を利用して取得した認証 Token |
Responses
200
OK
404
User Not Found
get/v1/threat-detection-filters
https://api.ntt.com/sdpf-ztgict/v1/threat-detection-filters
Response samples
- 200
Content type
application/json
Copy
Expand all Collapse all {- "total": 100,
- "offset": 0,
- "limit": 10,
- "filters": [
- {
- "filterId": "550e8400e29b41d4a716446655440000",
- "terminalId": "Z123456789",
- "creationTime": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "endTime": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "blockingStatus": true,
- "operationStatus": "blockProcessing",
- "latestGetCounterTime": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "latestFilterHitCount": "11",
- "previousGetCounterTime": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "previousFilterHitCount": "10",
- "threatDestination": "192.0.2.1/32",
- "sourceIp": "0.0.0.0/0",
- "destinationPort": "any",
- "sourcePort": "any",
- "protocol": "any"
}
]
}
CPE遮断リソース変更API
脅威検知情報からCPEの遮断用のリソースを作成するAPI
path Parameters
terminalId required | string
|
header Parameters
X-Auth-Token required | string クライアントが Keystone を利用して取得した認証 Token |
Request Body schema: application/json
- 脅威検知情報からCPEの遮断用のリソースを作成するAPI
- filtersに指定したフィルタで上書きされる
filters required | Array of objects 脅威検知フィルタのリスト
|
Responses
202
Accepted
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
put/v1/threat-detection-filters/{terminalId}
https://api.ntt.com/sdpf-ztgict/v1/threat-detection-filters/{terminalId}
Request samples
- Payload
Content type
application/json
Example
CPEフィルタ作成
Copy
Expand all Collapse all {- "filters": [
- {
- "threatDestination": "192.0.2.1/32",
- "sourceIp": "0.0.0.0/0",
- "destinationPort": "any",
- "sourcePort": "any",
- "protocol": "any"
}
]
}
Response samples
- 202
Content type
application/json
Example
CPEフィルタ作成
Copy
Expand all Collapse all {- "filters": [
- {
- "filterId": "550e8400e29b41d4a716446655440000",
- "terminalId": "Z123456789",
- "creationTime": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "endTime": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "blockingStatus": true,
- "operationStatus": "blockProcessing",
- "latestGetCounterTime": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "latestFilterHitCount": "11",
- "previousGetCounterTime": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "previousFilterHitCount": "10",
- "threatDestination": "192.0.2.1/32",
- "sourceIp": "0.0.0.0/0",
- "destinationPort": "any",
- "sourcePort": "any",
- "protocol": "any"
}
]
}
脅威検知詳細を削除するAPI
CPE遮断フィルタのリソースを削除するAPI
- 残っているfilterがあれば、responseで返却される
path Parameters
terminalId required | string
|
header Parameters
X-Auth-Token required | string クライアントが Keystone を利用して取得した認証 Token |
Request Body schema: application/json
filterIds required | Array of strings 削除するfilterIdのリスト
|
Responses
202
Accepted
400
Bad Request
401
Unauthorized
403
Forbidden
404
User Not Found
500
Internal Server Error
delete/v1/threat-detection-filters/{terminalId}
https://api.ntt.com/sdpf-ztgict/v1/threat-detection-filters/{terminalId}
Request samples
- Payload
Content type
application/json
Copy
Expand all Collapse all {- "filterIds": [
- "550e8400e29b41d4a716446655440000",
- "550e8400e29b41d4a716446655440001"
]
}
Response samples
- 202
Content type
application/json
Copy
Expand all Collapse all {- "filters": [
- {
- "filterId": "550e8400e29b41d4a716446655440000",
- "terminalId": "Z123456789",
- "creationTime": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "endTime": "YYYY-MM-DDThh:mm:ss+hh:mm",
- "blockingStatus": false,
- "operationStatus": "unblockProcessing",
- "threatDestination": "192.0.2.1/32",
- "sourceIp": "0.0.0.0/0",
- "destinationPort": "any",
- "sourcePort": "any",
- "protocol": "any"
}
]
}