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
Mandatory
Type
Description
warn_config
Yes
List data structure
Alarm configuration
topic_urn
Yes
String
ID of an alarm group
display_name
Yes
String
Description of an alarm group
- Data structure description of warn_config
Parameter
Mandatory
Type
Description
antiDDoS
Yes
Boolean
DDoS attacks
bruce_force
No
Boolean
Brute force cracking (system logins, FTP, and DB)
remote_login
No
Boolean
Alarms about remote logins
weak_password
No
Boolean
Weak passwords (system and database)
high_privilege
No
Boolean
Overly high rights of a database process
back_doors
No
Boolean
Webshells
waf
No
Boolean
Reserved
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:aaa: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