All Products
Search
Document Center

Security Center:GetFileProtectDashboard

Last Updated:Feb 20, 2024

Queries information about the core file monitoring feature, including the number of effective rules and the installation status of the Security Center agent on servers.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

6673D49C-A9AB-40DD-B4A2-B92306701AE7
Dataobject

The response parameters.

EnableRuleCountinteger

The total number of enabled rules.

12
PluginCountinteger

The total number of servers on which the Security Center agent is installed.

12
PluginOnlineCountinteger

The total number of servers on which the Security Center agent is online.

11
PluginOfflineCountinteger

The total number of servers on which the Security Center agent is offline.

1

Examples

Sample success responses

JSONformat

{
  "RequestId": "6673D49C-A9AB-40DD-B4A2-B92306701AE7",
  "Data": {
    "EnableRuleCount": 12,
    "PluginCount": 12,
    "PluginOnlineCount": 11,
    "PluginOfflineCount": 1
  }
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.