Querying Alarm Configuration
Function
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
- URI format
GET /v2/{project_id}/warnalert/alertconfig/query
- Parameter description
Parameter
Mandatory
Type
Description
project_id
Yes
String
A user's ID
Request
- Request example
GET /v2/67641fe6886f43fcb78edbbf0ad0b99f/warnalert/alertconfig/query
Response
- Element 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
Web page backdoors
waf
No
Boolean
Reserved
- Response example
{ "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::67641fe6886f43fcb78edbbf0ad0b99f:test_soft", "display_name": "group_1" }
SFTP is more secure than FTP. To secure data transmission, use SFTP to transfer files.
Returned Value
Last Article: Querying the Alarm Configuration
Next Article: Common Parameters
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.