Consulte les opérations que vous pouvez effectuer pour traiter une alerte.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
yundun-sas:DescribeSecurityEventOperations |
get |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| SourceIp |
string |
Non |
L'adresse IP source de la requête. |
192.168.XX.XX |
| Lang |
string |
Non |
La langue du contenu de la requête et de la réponse. Valeur par défaut : zh. Valeurs valides :
|
zh |
| SecurityEventId |
integer |
Oui |
L'identifiant de l'événement d'alerte que vous souhaitez traiter. |
61352054 |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| RequestId |
string |
L'identifiant de la requête, utilisé pour localiser et résoudre les problèmes. |
B7A2000F-497E-5DA0-B14D-615CD410DD7E |
| SecurityEventOperationsResponse |
array<object> |
Les opérations effectuées pour traiter l'alerte. |
|
|
array<object> |
L'opération effectuée pour traiter l'alerte. |
||
| OperationParams |
string |
La configuration de l'opération effectuée pour traiter l'alerte. Remarque
Si la valeur du paramètre OperationCode est kill_and_quara ou block_ip, le paramètre OperationParams est requis. Si la valeur du paramètre OperationCode est différente, le paramètre OperationParams peut être laissé vide. |
{"expireTime":1641566807783} |
| OperationCode |
string |
L'opération effectuée pour traiter l'alerte. Valeurs valides :
|
advance_mark_mis_info. |
| UserCanOperate |
boolean |
Indique si vous pouvez traiter l'alerte dans l'édition actuelle de Security Center. Valeurs valides :
|
false. |
| MarkField |
array<object> |
Les configurations utilisées lorsque la valeur du paramètre OperationCode est advance_mark_mis_info. |
|
|
object |
La configuration utilisée lorsque la valeur du paramètre OperationCode est advance_mark_mis_info. |
||
| MarkMisType |
string |
The operation that is used in the whitelist rule. Valid values:
|
contains |
| FiledName |
string |
The field that is used in the whitelist rule. |
gmtModified |
| FiledAliasName |
string |
The alias of the field that is used in the whitelist rule. |
file path |
| MarkMisValue |
string |
The value of the field that is used in the whitelist rule. |
2022-04-25 10:11:04 |
| Uuid |
string |
The UUID of the server on which the alert event is detected. |
3d6b4a75-c28f-447b-9142-38f6252c**** |
| SupportedMisType |
array |
An array consisting of the operations that are supported by the method to add the alert event to the whitelist. |
|
|
string |
The operation that is used and can be modified in the whitelist rule. Valid values:
|
contains |
|
| MarkFieldsSource |
array<object> |
Les éléments de configuration pouvant être utilisés lorsque la valeur du paramètre OperationCode est advance_mark_mis_info. |
|
|
object |
L'élément de configuration pouvant être utilisé lorsque la valeur du paramètre OperationCode est advance_mark_mis_info. |
||
| FiledName |
string |
The field that can be used in the whitelist rule. |
gmtModified |
| FiledAliasName |
string |
The alias of the field that can be used in the whitelist rule. |
file path |
| MarkMisValue |
string |
The value of the field that can be used in the whitelist rule. |
contains |
| SupportedMisType |
array |
An array consisting of the operations that are supported by the method to add the alert event to the whitelist. |
|
|
string |
The operation that is supported in the whitelist rule. Valid values:
|
contains |
|
| MappingMarkFields |
array<object> |
Les objets sur lesquels les opérations sont effectuées. Ce paramètre est requis lorsque vous ajoutez l'alerte à la liste blanche en configurant des règles de défense précises. |
|
|
object |
L'objet sur lequel l'opération est effectuée. Ce paramètre est requis lorsque vous ajoutez l'alerte à la liste blanche en configurant des règles de défense précises. |
||
| Name |
string |
The name of the field that is added to the whitelist. |
pid |
| Value |
string |
The value of the field that is added to the whitelist. |
1791 |
| ShowValue |
string |
The display name of the field that is added to the whitelist. |
1791 |
| FillType |
string |
Indicates whether the value of the field can be changed.
|
CUSTOM |
| Required |
boolean |
Indicates whether the parameter is required. Valid values:
|
true |
| ShowName |
string |
The display name of the field that can be used in the whitelist rule. |
pid |
| MinLength |
integer |
The minimum length of the field that is added to the whitelist. |
1024 |
| MaxLength |
integer |
The maximum length of the field that is added to the whitelist. |
2048 |
| Description |
string |
The description of the field that is added to the whitelist. |
test |
Exemples
JSON format
{
"RequestId": "B7A2000F-497E-5DA0-B14D-615CD410DD7E",
"SecurityEventOperationsResponse": [
{
"OperationParams": "{\"expireTime\":1641566807783}",
"OperationCode": "advance_mark_mis_info",
"UserCanOperate": false,
"MarkField": [
{
"MarkMisType": "contains",
"FiledName": "gmtModified",
"FiledAliasName": "file path",
"MarkMisValue": "2022-04-25 10:11:04",
"Uuid": "3d6b4a75-c28f-447b-9142-38f6252c****",
"SupportedMisType": [
"contains"
]
}
],
"MarkFieldsSource": [
{
"FiledName": "gmtModified",
"FiledAliasName": "file path",
"MarkMisValue": "contains",
"SupportedMisType": [
"contains"
]
}
],
"MappingMarkFields": [
{
"Name": "pid",
"Value": "1791",
"ShowValue": "1791",
"FillType": "CUSTOM",
"Required": true,
"ShowName": "pid",
"MinLength": 1024,
"MaxLength": 2048,
"Description": "test"
}
]
}
]
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 400 | SecurityEventNotExists | Security event not exists. | |
| 400 | MissingSecurityEventId | SecurityEventId is mandatory for this action. | |
| 500 | ServerError | ServerError | |
| 500 | -100 | The service is unavailable, please try again later. | |
| 403 | NoPermission | caller has no permission |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.