Querying Alarm Configuration
Functions
This API allows you to query alarm configuration, such as whether a certain type of alarms will be received, and whether alarms are received through SMS messages or emails.
URI
Request
Request parameters
None
Response
- Parameter description 
    Parameter Type Description warn_config List data structure Alarm configuration topic_urn String ID of an alarm group display_name String Specifies the name of the SMN topic used for sending alarm notifications. 
- Data structure description of warn_config
    Parameter Type Description antiDDoS Boolean DDoS attacks bruce_force Boolean Brute force cracking (system logins, FTP, and DB) remote_login Boolean Alarms about remote logins weak_password Boolean Weak passwords (system and database) high_privilege Boolean Overly high rights of a database process back_doors Boolean Webshells waf Boolean Reserved field send_frequency Integer Possible values: - 0: indicates that alarms are sent once a day.
- 1: indicates that alarms are sent once every half hour.
 This parameter is mandatory for the Host Intrusion Detection (HID) service. 
Example
- Example request
    GET /v2/67641fe6886f43fcb78edbbf0ad0b99f/warnalert/alertconfig/query 
- Example response
   { "warn_config": { "antiDDoS": true, "bruce_force": false, "remote_login": false, "weak_password": false, "high_privilege": false, "back_doors": false, "waf": false }, "topic_urn": "urn:smn:region01:67641fe6886f43fcb78edbbf0ad0b99f:test_soft", "display_name": "group_1" }  SFTP is more secure than FTP. To secure data transmission, use SFTP to transfer files. 
Status Code
See Status Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot 
    