All Products
Search
Document Center

Security Center:ListFileProtectPluginStatus

Last Updated:Feb 20, 2024

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

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
SwitchIdstringNo

The ID of the core file monitoring rule.

FILE_PROTECT_RULE_SWITCH_TYPE_1693474122927
PageSizelongNo

The number of entries per page.

10
CurrentPagelongNo

The page number.

1

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

60F289EC-BAA3-5DF1-8476-B3F05A14EBC2
PageInfoobject

The pagination information.

CurrentPageinteger

The page number.

1
PageSizeinteger

The number of entries per page.

20
TotalCountinteger

The total number of entries returned.

149
Dataobject []

The data returned if the call is successful.

Installedboolean

Indicates whether the Security Center agent is installed.

true
Onlineboolean

Indicates whether the Security Center agent is online. Valid value:

  • true
  • false
true
SupportFileboolean

Indicates whether the core file monitoring file is supported.

true
InstallCodestring

The returned code after you install the Security Center agent. Valid values:

  1. 0: The installation is successful.
  2. -2: The kernel does not support the installation.
-2
InstallMessagestring

The returned message after you install the Security Center agent.

driver file not exist
ClientVersionstring

The version of the Security Center agent.

00_41
Uuidstring

The UUID of the asset.

6690a46c-0edb-4663-a641-3629d1a9****
InternetIpstring

The public IP address that is associated with the instance.

172.16.XX.XX
IntranetIpstring

The private IP address that is associated with the instance.

10.42.XX.XX
InstanceNamestring

The name of the instance.

i-wz92q7m5hsbgfhdss***

Examples

Sample success responses

JSONformat

{
  "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 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.