Mengkueri aturan kustom untuk pertahanan perilaku berbahaya.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetClientUserDefineRule |
get |
*Semua Sumber Daya
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
ID aturan kustom. |
200**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. Alibaba Cloud menghasilkan pengidentifikasi unik untuk setiap permintaan. Anda dapat menggunakan ID ini untuk memecahkan masalah. |
0B48AB3C-84FC-424D-A01D-B9270EF4**** |
| UserDefineRuleDetail |
object |
Detail aturan. |
|
| Type |
integer |
Tipe aturan. Nilai valid:
|
1 |
| ActionType |
string |
Tipe aksi. Nilai valid:
|
0 |
| GmtCreate |
integer |
Pengatur waktu pembuatan. |
167118088**** |
| Md5List |
string |
Daftar hash proses. |
0c9045b5bec90f9825f1f3f64dd4**** |
| GmtModified |
integer |
Pengatur waktu modifikasi terbaru. |
167118088**** |
| Name |
string |
Nama aturan. |
Rule**** |
| Id |
integer |
ID aturan. |
200**** |
| ProcPath |
string |
Path proses. |
c:/windows/system32/i**** |
| Cmdline |
string |
Command line. |
/usr/sbin/s**** |
| Platform |
string |
Tipe sistem operasi. Nilai valid:
|
linux |
| IP |
string |
Alamat IP. |
10.240.XX.XX |
| Port |
integer |
Nomor Port. |
22 |
| FilePath |
string |
Path file. |
/etc/pam**** |
| NewFilePath |
string |
Path file baru setelah file diganti namanya. |
/etc/pam**** |
| RegistryKey |
string |
Kunci registri. |
HKEY_DYN_**** |
| RegistryContent |
string |
Nilai registri. |
*SECOH-QAD.exe* |
| ParentProcPath |
string |
Path proses induk. |
c:/windows/system32/i**** |
| ParentCmdline |
string |
Command line induk. |
/usr/sbin/s**** |
| PortStr |
string |
Nomor Port. Nilai valid: 1 hingga 65535. |
80 |
| Domain |
string |
Nama domain. |
example.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF4****",
"UserDefineRuleDetail": {
"Type": 1,
"ActionType": "0",
"GmtCreate": 0,
"Md5List": "0c9045b5bec90f9825f1f3f64dd4****\n",
"GmtModified": 0,
"Name": "Rule****",
"Id": 0,
"ProcPath": "c:/windows/system32/i****\n",
"Cmdline": "/usr/sbin/s****\n",
"Platform": "linux",
"IP": "10.240.XX.XX\n",
"Port": 22,
"FilePath": "/etc/pam****\n",
"NewFilePath": "/etc/pam****\n",
"RegistryKey": "HKEY_DYN_****\n",
"RegistryContent": "*SECOH-QAD.exe*\n",
"ParentProcPath": "c:/windows/system32/i****\n",
"ParentCmdline": "/usr/sbin/s****\n",
"PortStr": "80",
"Domain": "example.com"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidId | Invalid ID. | ID aturan tidak valid. |
| 500 | ServerError | ServerError | Terjadi kegagalan layanan. Silakan coba lagi nanti. |
| 403 | NoPermission | caller has no permission | Operasi saat ini tidak diotorisasi. Hubungi akun Alibaba Cloud untuk memberikan izin yang diperlukan di konsol RAM sebelum Anda melakukan operasi ini. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.