All Products
Search
Document Center

Web Application Firewall:DescribeApisecUserOperations

Last Updated:Jun 09, 2026

Mengkueri catatan operasi pengguna untuk keamanan API Web Application Firewall (WAF).

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

yundun-waf:DescribeApisecUserOperations

get

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

ID instans WAF.

Catatan

Panggil operasi DescribeInstance untuk mengkueri ID instans WAF.

waf_v2_public_cn-wwo36ksck1e

Type

string

No

Tipe catatan operasi. Nilai valid:

  • abnormal: deteksi ancaman.

  • event: event keamanan.

event

ObjectId

string

Yes

ID deteksi ancaman atau event keamanan yang catatan operasinya ingin Anda kueri.

fe8723e92e2037245014ab62161bbec8

ClusterId

string

No

ID Kluster WAF Cloud Hibrida.

Catatan

Parameter ini diperlukan hanya saat WAF di-deploy dalam mode cloud hibrida. Panggil operasi DescribeHybridCloudClusters untuk mengkueri ID Kluster WAF Cloud Hibrida.

428

RegionId

string

No

Wilayah tempat instans WAF berada. Nilai valid:

  • cn-hangzhou: Tiongkok daratan.

  • ap-southeast-1: luar Tiongkok daratan.

cn-hangzhou

ResourceManagerResourceGroupId

string

No

ID kelompok sumber daya Alibaba Cloud tempat instans WAF berada.

rg-aek2ax2y5****pi

Elemen respons

Element

Type

Description

Example

object

The response body.

RequestId

string

The ID of the request.

C9825654-327B-5156-A570-847054B4CF10

Data

array<object>

The user operation records for API security.

object

The details of the operation record.

Type

string

The type of the operation record. Valid values:

  • abnormal: threat detection.

  • event: security event.

abnormal

ToStatus

string

The status of the threat detection or security event after the operation was performed.

Valid values for threat detection:

  • toBeConfirmed: to be confirmed.

  • confirmed: confirmed.

  • toBeFixed: to be fixed.

  • fixed: fixed.

  • ignored: ignored.

Valid values for a security event:

  • toBeConfirmed: to be confirmed.

  • confirmed: confirmed.

  • ignored: ignored.

Confirmed

ObjectId

string

The ID of the threat detection or security event associated with the operation record.

24d997acc48a67a01e09b9c5ad861287

FromStatus

string

The status of the threat detection or security event before the operation was performed.

Valid values for threat detection:

  • toBeConfirmed: to be confirmed.

  • confirmed: confirmed.

  • toBeFixed: to be fixed.

  • fixed: fixed.

  • ignored: ignored.

Valid values for a security event:

  • toBeConfirmed: to be confirmed.

  • confirmed: confirmed.

  • ignored: ignored.

ignored

UserId

string

The ID of the user who performed the operation.

1610954****

Note

string

The remarks that the user added to the operation record.

Procesed

Time

integer

The time when the operation was performed. This value is a UNIX timestamp. Unit: seconds.

1685072214

OperationSource

string

The source of the operation. Valid values:

  • system: the operation was automatically performed by the system.

  • custom: the operation was manually performed by a user.

custom

Contoh

Respons sukses

JSONformat

{
  "RequestId": "C9825654-327B-5156-A570-847054B4CF10",
  "Data": [
    {
      "Type": "abnormal",
      "ToStatus": "Confirmed",
      "ObjectId": "24d997acc48a67a01e09b9c5ad861287",
      "FromStatus": "ignored",
      "UserId": "1610954****",
      "Note": "Procesed",
      "Time": 1685072214,
      "OperationSource": "custom"
    }
  ]
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.