ListActivityLogs
処理概要
アクティビティログの情報一覧を取得します。
リクエストURL
GET /v1/activity-logs指定するパラメーター
クエリパラメーター
| パラメーター | 型 | 説明 | 必須 |
|---|---|---|---|
| yearMonth | string |
取得対象年月 使用可能文字: YYYYMM 形式 |
○ |
| start | integer |
取得開始インデックス 使用可能文字: 1以上の整数 |
|
| end | integer |
取得終了インデックス 使用可能文字: 1以上の整数かつstart以上 |
応答フィールド
| フィールド (項目) | 型 | 説明 |
|---|---|---|
| activityLogs[] | object[] |
|
| ␣dateTime | string |
ユーザがAPIを実行した日時 (ISO8601形式) |
| ␣ipAddress | string |
実行元のIPアドレス |
| ␣categoryName | string |
ユーザが実行したAPI名のリソース名 |
| ␣operator | string |
APIを実行したユーザ名 (親アカウント名 or 子アカウント名) |
| ␣operation | string |
ユーザが実行したAPI名 |
| ␣result | boolean |
実行結果 値:
|
| ␣uuid | string |
UUID (空を返却) |
| ␣serviceId | string |
実行したサービスを識別するID (空を返却) |
リクエストサンプル
curl -XGET https://catalog.api.nifcloud.com/v1/activity-logs
-H 'X-Amz-Date: 20230401T000000Z'
-H 'Authorization: AWS4-HMAC-SHA256 ...'
応答サンプル
{
"activityLogs": [
{
"dateTime": "2023-11-01T12:34:56Z",
"ipAddress": "192.0.2.1",
"categoryName": "API(リソースグループ)",
"operator": "XXX00001",
"operation": "ListResourceGroups",
"result": true,
"uuid": "",
"serviceId": ""
}
]
}
