百度智能云

All Product Document

          Host Security

          Appendix 1

          Model Object Definition

          VmLoginSummaryModel

          Parameter name Type Description
          instanceName String Instance name
          instanceId String Instance long id
          instanceShortId String Instance short ID
          publicIp String Public network IP
          internalIp String Intranet IP
          agentStatus AgentStatus agent status
          crackCount int Number of interceptions of brute force
          abnormalCount int Number of abnormal login
          operation OperationCode Operation code

          LoginEventModel

          Parameter name Type Description
          loginTime String Login time
          eventType LoginEventType Login event type
          repeatCount int Count of events
          targetVmid String Virtual machine long id
          ipLocation String Source ip location
          sourceIp String Source IP
          ipStatus int Is there any special operation, 0: no, 1: yes
          loginAccount String Account name logged
          loginType LoginType Login type
          loginResult int Login result
          operationStatus LoginOperationStatus Order status

          LoginWhiteIpModel

          Parameter name Type Description
          region region Region
          whiteIp String Whitelist IP
          ipLocation String IP location
          cmdInProcess int Whitelist status. 0 means whitelist related operations are completed and the following fields are invalid. 1 means whitelist related operations are not completed and the following fields are invalid.
          vmList VmWhiteStatusModel List of virtual machines bound
          applyCount int Total number of virtual machines bound
          failedCount int Total number of failed operations

          VmWhiteStatusModel

          Parameter name Type Description
          vmid String Virtual machine long id
          whiteStatus LoginWhiteIpStatus Whitelist IP status
          region region Region

          VmUpdateWhiteStatusModel

          Parameter name Type Description
          vmid String Virtual machine long id
          currentStatus int Current status, 0 means unticked, 1 means ticked
          expectedStatus int Expected status, 0 means unticked, 1 means ticked

          WebShellFileModel

          Parameter name Type Description
          region region Region
          vmid String Virtual machine long id
          fileName String File absolute path
          fileMtime String File modification time
          fileStatus WebshellFileStatus File status
          availableOp list<WebShellFileOperation> List of available operations for files
          fileType String Trojan type
          fileId int File identified id

          ItemCheckResultModel

          Parameter name Type Description
          itemId int Risk id
          itemName String Risk Name
          itemCategory ItemCategoryDescModel Risk category description
          assetNumber int Number of virtual machines affected
          itemLevel ItemLevel Risk level
          updateTime String Update time in UTC time format

          ItemCategoryDescModel

          Parameter name Type Description
          system system System
          application String Application
          category String Check category
          item String Check item

          ItemsModel

          Parameter name Type Description
          items list<ItemCategoryModel> Configuration list of the check item category
          name String Operating system

          ItemCategoryModel

          Parameter name Type Description
          items list<ItemGroupModel> Configuration list of the check item group
          name String Name of the check category

          ItemGroupModel

          Parameter name Type Description
          items list<ItemDetailModel> Detailed configuration list of the check item
          name String Name of the check item group

          ItemDetailModel

          Parameter name Type Description
          items String null
          name String Name of the check item
          itemsId int Inspection item id

          ItemConfigModel

          Parameter name Type Description
          items list<ItemCategoryConfigModel> Configuration list of the check item category
          name String Operating system

          ItemCategoryConfigModel

          Parameter name Type Description
          items list<ItemGroupConfigModel> Configuration list of the check item group
          name String Name of the check category

          ItemGroupConfigModel

          Parameter name Type Description
          items list<ItemDetailConfigModel> Detailed configuration list of the check item
          name String Name of the check item group

          ItemDetailConfigModel

          Parameter name Type Description
          items String null
          name String Name of the check item
          itemsId int Inspection item id
          status int Selected or not, 0: not selected, 1: selected

          AssertModel

          Parameter name Type Description
          instance_uuid String Virtual machine long id
          region region Region
          instanceId String Virtual machine short id
          name String Virtual machine name
          vmStatus VmStatus Virtual machine status
          cpu String cpu
          memory String memory
          diskSize String diskSize
          instanceType String Virtual machine type
          internalIp String Intranet IP
          publicIp String Extranet ip

          AssertIdModel

          Parameter name Type Description
          instance_uuid String Virtual machine long id
          region region Region

          RuleModel

          Parameter name Type Description
          ruleId int Rule id
          ruleName String Rule name
          assetNumber int Number of virtual machines bound
          itemNumber int Number of check items bound
          checkDate list Check date
          checkTime int Check time
          isDefault int Rules defaulted or not, 0: rules not defaulted, 1: rules defaulted

          Operating System Definition

          System

          System Description
          windows windows
          linux linux

          Risk Level Definition

          ItemLevel

          Risk Description
          low low
          middle middle
          high high

          Region Code Definition

          Region

          Region Description
          bj Public Cloud-Beijing
          gz Public Cloud-Guangzhou
          su Public Cloud-Suzhou
          hk02 Public Cloud-Hong Kong Second District
          hkg Public Cloud-Hong Kong Third District
          fsh Public Cloud-Shanghai

          Zone

          Region Description
          global global
          bj Public Cloud-Beijing
          gz Public Cloud-Guangzhou
          su Public Cloud-Suzhou
          hk02 Public Cloud-Hong Kong Second District
          hkg Public Cloud-Hong Kong Third District
          fsh Public Cloud-Shanghai

          Code Definition

          LoginEventType

          Integer value Description
          0 Ordinary login
          1 Remote login
          2 Brute force
          3 Whitelist login
          4 Anonymous login

          LoginType

          Integer value Description
          0 Unknown
          1 Password login
          2 Public and private key login
          3 SSH login
          4 Remote desktop login

          LoginResult

          Integer value Description
          0 Login succeeded
          1 Login failed
          2 Login rejected

          OperationCode

          Operation code Description
          0 re-install
          1 View details

          WebShellFileOperation

          Operation code Description
          quarantine Quarantine files
          restore Restore files
          ignore Ignore files
          cancelIgnore Cancel ignore

          Status Definition

          LoginOperationStatus

          Status Description
          0 Add to the whitelist by one click
          1 Adding to the whitelist
          2 Added to the whitelist
          10 Unblock
          11 Unblocking
          12 Unblocked

          LoginWhiteIpStatus

          Status Description
          11 Adding
          12 Successfully added
          13 Add failed
          21 Deleting
          22 Successfully deleted
          23 Failed to delete

          AgentStatus

          Status Description
          0 Offline
          1 Online

          WebshellFileStatus

          Status Description
          notHandled Not handled
          quarantined Quarantined
          quarantineFailed Quarantine failed
          ignored Ignored

          TaskStatus

          Status Description
          0 Task in progress
          1 Task completed

          VmStatus

          Code Description
          Starting Starting
          Running Operating
          Stopping Stopping
          Stopped Stopped
          Deleted Released
          Scaling Scaling
          Expired Expired or in arrears
          Error Error
          SnapshotProcessing Snapshot processing
          ImageProcessing Image processing
          Recharging Recharging
          Previous
          Security Baseline Related Interface