Queries information about the Security Center agent installed on servers on which core file monitoring rules take effect. The information includes the installation status of the Security Center agent and whether the core file monitoring feature is supported.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SwitchId | string | No | The ID of the core file monitoring rule. | FILE_PROTECT_RULE_SWITCH_TYPE_1693474122927 |
PageSize | long | No | The number of entries per page. | 10 |
CurrentPage | long | No | The page number. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "60F289EC-BAA3-5DF1-8476-B3F05A14EBC2",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 149
},
"Data": [
{
"Installed": true,
"Online": true,
"SupportFile": true,
"InstallCode": "-2",
"InstallMessage": "driver file not exist",
"ClientVersion": "00_41",
"Uuid": "6690a46c-0edb-4663-a641-3629d1a9****",
"InternetIp": "172.16.XX.XX",
"IntranetIp": "10.42.XX.XX",
"InstanceName": "i-wz92q7m5hsbgfhdss***"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.