CloudSIEM コンポーネントは、主にアラート処理とメンバーアカウント管理機能を提供します。
機能説明
操作 | 説明 | シナリオ |
アラートを作成します。 | プレイブックベースの検出で使用されるユーザーアラートチャンネルにアラートデータを書き込みます。 | |
イベント ID に基づいてアラートをクエリします。 | イベントのアラートリストを取得します。 | |
メンバーアカウント情報をクエリします。 | 複数アカウント管理シナリオで管理アカウントまたは委任された管理者アカウントによって制御されるメンバーアカウントを取得します。 |
コンポーネント構成例
このトピックでは、CloudSIEM コンポーネントの各操作のパラメーター構成例を提供します。これらはテストプレイブックとしてインポートできます。可視化フローエディターを使用すると、各操作の構成パラメーターをより直感的に理解してテストし、コンポーネントの機能ロジックと使用方法を簡単に習得できます。手順については、「プレイブックのインポート」をご参照ください。
サンプルデータを最初に JSON ファイルとして保存できます。
createAlert
ユーザーアラートチャンネルにアラートデータを書き込みます。
パラメータの説明
パラメータ | 説明 |
start_time | 開始タイムスタンプ。単位:秒。イベント発生時刻の指定にも使用されます。 例:1715258000。 |
end_time | 終了タイムスタンプ。単位:秒。 例:1715258321。 |
user_id | ログが属する Alibaba Cloud アカウント ID。 例:127XXXXXX。 |
cloud_code | クラウドコード。列挙値: alibaba_cloud、huawei_cloud、tencent_cloud。 クラウドコード。列挙値:alibaba_cloud、huawei_cloud、tencent_cloud。 例:alibaba_cloud。 |
product_code | プロダクトコード。 例:waf。 |
cloud_user_id | 他クラウドのクラウドアカウント ID。Alibaba Cloud アカウントの場合は、aliuid と同じです。別のクラウドアカウントの場合は、バインドされたアカウントの ID です。 例:127XXXXXX。 |
extend_content | 拡張フィールドの内容。 例:{"a":"111","b":"222"}。 |
relate_alert_uuids | 関連アラートの UUID。 例:1001。 |
describeAlertsByIncidentUuid
イベント ID に基づいてイベントのアラートリストを取得します。
パラメータの説明
パラメータ | 説明 |
incidentUuid | イベントの UUID です。 説明 DescribeCloudSiemEvents API を使用してイベントの UUID を取得できます。 |
incidentAccount | イベントが属するアカウント ID です。デフォルト値:ログインしているアカウントの ID です。 |
出力例
{
"AlertDescEn": "The IP address that is used to log on to the server is not within the IP addresses that you specify. We recommend that you check whether the logon is valid.", // サーバーへのログインに使用される IP アドレスが、指定した IP アドレスの範囲内にありません。ログインが有効かどうかを確認することをお勧めします。
"AttCk": [],
"EndTime": "2025-05-07T02:32:55.000+00:00",
"AlertTypeEn": "Unusual Logon", // 異常なログイン
"LogTime": "2025-05-07T02:32:55.000+00:00",
"GmtModified": "2025-05-08T04:01:47.000+00:00",
"AlertTypeCode": "security_event_config.event_name.unusuallogon", // security_event_config.event_name.unusuallogon
"SubUserId": 123,
"IsDefend": "0",
"AlertType": "Unusual Logon", // 異常なログイン
"AlertInfoList": [
{
"KeyName": "${aliyun.siem.alert.host}", // ${aliyun.siem.alert.host}
"Values": "ed9aede1-9acd-****-****-16c54d441213",
"Key": "${aliyun.siem.alert.host}" // ${aliyun.siem.alert.host}
},
{
"KeyName": "${aliyun.siem.alert.status}", // ${aliyun.siem.alert.status}
"Values": "0",
"Key": "${aliyun.siem.alert.status}" // ${aliyun.siem.alert.status}
}
],
"AlertTitle": "Unusual Logon-Login with unusual IP", // 異常なログイン - 異常な IP でのログイン
"AlertDetail": {
"gmtModified": "2025-05-07 10:32:50",
"intra_ip": "192.***.***.51",
"proc_path": "N/A",
"pid": "N/A",
"type": "login_common_ip", // login_common_ip
"product_code": "sas", // sas
"uuid": "ed9aede1-9acd-****-****-16c54d441213",
"host_uuid": "ed9aede1-9acd-****-****-16c54d441213",
"loginUser": "administrator", // administrator
"protocol": 1,
"os_info": "windows", // windows
"protocolName": "RDP", // RDP
"inter_ip": "118.***.***.158",
"cloud_code": "aliyun", // aliyun
"cloud_user_id": "1766****4675",
"sub_user_id": "1766****4675",
"id": 123,
"assetInfo": "{\"aliUid\":1766****4675,\"bid\":\"233\",\"clientStatus\":\"online\",\"eip\":\"\",\"flag\":0,\"groupId\":91,\"groupName\":\"default\",\"internetIp\":\"118.***.***.158\",\"intranetIp\":\"192.***.0.51\",\"machineInstanceId\":\"i-bp13h2hjh****1pyxngn\",\"machineIp\":\"118.***.***.158\",\"machineName\":\"win11-enterprise-lenovo-manage-x64-zh\",\"machineRegion\":\"cn-hangzhou-dg-a01\",\"machineType\":0,\"os\":\"windows\",\"regionId\":\"cn-hangzhou\",\"status\":\"Running\",\"tag\":\"InternetIp\",\"uuid\":\"ed9aede1-9acd-****-****-16c54d441213\",\"vpcInstanceId\":\"vpc-bp1ih********2hyq8m5\"}", // {"aliUid":1766****4675,"bid":"233","clientStatus":"online","eip":"","flag":0,"groupId":91,"groupName":"default","internetIp":"118.***.***.158","intranetIp":"192.***.0.51","machineInstanceId":"i-bp13h2hjh****1pyxngn","machineIp":"118.***.***.158","machineName":"win11-enterprise-lenovo-manage-x64-zh","machineRegion":"cn-hangzhou-dg-a01","machineType":0,"os":"windows","regionId":"cn-hangzhou","status":"Running","tag":"InternetIp","uuid":"ed9aede1-9acd-****-****-16c54d441213","vpcInstanceId":"vpc-bp1ih********2hyq8m5"}
"cmdLine": "N/A",
"loginSourceIp": "221.***.***.122",
"os": "windows", // windows
"loginTimes": 1,
"gmtCreate": "2025-05-07 10:32:50",
"loginDestinationPort": 3329,
"clientIp": "192.***.***.51",
"location": "Xi'an", // 西安
"aliUid": 123,
"host_name": "win11-enterprise-lenovo-manage-x64-zh", // win11-enterprise-lenovo-manage-x64-zh
"status": 0,
"siem_vpc_instance_id": "vpc-bp1ihs*****ihq2hyq8m5" // vpc-bp1ihs*****ihq2hyq8m5
},
"AlertTitleEn": "Unusual Logon-Login with unusual IP", // 異常なログイン - 異常な IP でのログイン
"AlertLevel": "suspicious", // 不審
"AssetList": [
{
"entity_user_id": "1766****4675",
"asset_name": "win11-enterprise-lenovo-manage-x64-zh", // win11-enterprise-lenovo-manage-x64-zh
"os_type": "windows", // windows
"cloud_code": "alibaba_cloud", // alibaba_cloud
"asset_type": "host", // ホスト
"asset_id": "win11-enterprise-lenovo-manage-x64-zh", // win11-enterprise-lenovo-manage-x64-zh
"product_code": "sas", // sas
"host_uuid": "ed9aede1-9acd-****-****-16c54d441213",
"host_name": "win11-enterprise-lenovo-manage-x64-zh" // win11-enterprise-lenovo-manage-x64-zh
}
],
"AlertNameCode": "security_event_config.event_name.ilp", // security_event_config.event_name.ilp
"AlertUuid": "sas_7c316ebfa92e79b*****9d62d25c0",
"MainUserId": 12,
"CloudCode": "aliyun", // aliyun
"AlertName": "Login with unusual IP", // 異常な IP でのログイン
"AlertSrcProd": "Security Center", // セキュリティセンター
"AlertSrcProdModule": "aegis_login_log", // aegis_login_log
"AlertDescCode": "security_event_config.yd.lcid", // security_event_config.yd.lcid
"StartTime": "2025-05-07T02:32:55.000+00:00",
"LogUuid": "sas_3c042c0*****81a7144107",
"EntityList": [
{
"entity_user_id": "1766****4675",
"entity_uuid": "909315f7c595*******b436e65f2d4",
"entity_type": "host", // ホスト
"entity_name": "win11-enterprise-lenovo-manage-x64-zh", // win11-enterprise-lenovo-manage-x64-zh
"os_type": "windows", // windows
"cloud_code": "alibaba_cloud", // alibaba_cloud
"is_asset": "1",
"entity_id": "win11-enterprise-lenovo-manage-x64-zh", // win11-enterprise-lenovo-manage-x64-zh
"product_code": "sas", // sas
"host_uuid": "ed9aede1-9acd-****-****-16c54d441213",
"host_name": "win11-enterprise-lenovo-manage-x64-zh" // win11-enterprise-lenovo-manage-x64-zh
},
{
"entity_user_id": "1766****4675",
"entity_uuid": "14447f89554d7bb****e389328",
"entity_type": "host_account", // ホストアカウント
"entity_name": "administrator", // administrator
"cloud_code": "alibaba_cloud", // alibaba_cloud
"is_asset": "0",
"entity_id": "administrator", // administrator
"product_code": "sas", // sas
"host_uuid": {
"entity_user_id": "17****4675",
"entity_uuid": "90931****5fef0b436e65f2d4",
"entity_type": "host", // ホスト
"entity_name": "win11-enterprise-lenovo-manage-x64-zh", // win11-enterprise-lenovo-manage-x64-zh
"os_type": "windows", // windows
"cloud_code": "alibaba_cloud", // alibaba_cloud
"is_asset": "1",
"entity_id": "win11-enterprise-lenovo-manage-x64-zh", // win11-enterprise-lenovo-manage-x64-zh
"product_code": "sas", // sas
"host_uuid": "ed9aede1-9acd-****-****-16c54d441213",
"host_name": "win11-enterprise-lenovo-manage-x64-zh" // win11-enterprise-lenovo-manage-x64-zh
},
"username": "administrator" // administrator
},
{
"is_private": "0",
"entity_name": "221.**.17.122",
"ip": "221.**.17.122",
"is_asset": "0",
"entity_id": "221.**.17.122",
"product_code": "sas", // sas
"entity_user_id": "176****4104675",
"op_code": "6",
"entity_uuid": "d41d8cd98f00b****800998ecf8427e",
"entity_type": "ip", // IP
"ip_version": "v4", // v4
"cloud_code": "alibaba_cloud", // alibaba_cloud
"net_connectDir": "in", // in
"aliuid": "1766****4675",
"op_level": "1",
"malware_type": "${aliyun.siem.sas.alert_tag.login_unusual_ip}" // ${aliyun.siem.sas.alert_tag.login_unusual_ip}
}
],
"SubUserName": "user1", // user1
"OccurTime": "2025-05-07T02:32:55.000+00:00",
"AlertDesc": "The IP address that is used to log on to the server is not within the IP addresses that you specify. We recommend that you check whether the logon is valid.", // サーバーへのログインに使用される IP アドレスが、指定した IP アドレスの範囲内にありません。ログインが有効かどうかを確認することをお勧めします。
"GmtCreate": "2025-05-08T04:01:47.000+00:00",
"AlertNameEn": "Login with unusual IP", // 異常な IP でのログイン
"Id": 123,
"IncidentUuid": "355955f705b34*****4232a"
}describeSubUserInfo
複数アカウント管理シナリオにおいて、管理アカウントまたは委任された管理者アカウントによって制御されるメンバーアカウントを取得します。
パラメータの説明
パラメータ | 説明 |
input | 実際の意味はなく、空のままにすることができます。 |
出力例
[
{
"SubUserId": "12"
},
{
"SubUserId": "23"
}
]