cwp — Cloud Workload Protection
cwp · type
AssetUserBaseInfo
29 fields
| Field | Type | Description |
|---|---|---|
| MachineIp | string | Host private IP address |
| MachineWanIp | string | Host public IP address |
| MachineName | string | Host name |
| OsInfo | string | Operating System Information |
| Uuid | string | Host UUID |
| Quuid | string | Host QUUID |
| Uid | string | Account UID |
| Gid | string | Account GID |
| Status | integer | Account status. 0: disabled; 1: enabled |
| IsRoot | integer | Whether there is root permission. 0: no; 1: yes; 999: null (Linux only) |
| LoginType | integer | Log-in method. 0: log-in not allowed; 1: only key-based log-in allowed; 2: only password-based log-in allowed; 3: both key-based log-in and password-based log-in allowed; 999: null (Linux only) |
| LastLoginTime | string | Last log-in time |
| Name | string | Account name |
| ProjectId | integer | Host business group ID |
| UserType | integer | Account type. 0: guest user; 1: standard user; 2: administrator user; 999: null (Windows only) |
| IsDomain | integer | Whether a domain account. 0: no; 1: yes; 2: no; 999: null (Windows only) |
| IsSudo | integer | Whether there is sudo permissions: 1: yes; 0: No; 999: null (Linux only) |
| IsSshLogin | integer | Whether ssh log-in allowed. 1: yes; 0: no; 999: null (Linux only) |
| HomePath | string | Home directory |
| Shell | string | Shell path (Linux only) |
| ShellLoginStatus | integer | Whether shell log-in allowed. 0: no; 1: yes (Linux only) |
| PasswordChangeTime | string | Password modification time |
| PasswordDueTime | string | Password expiration time (Linux only) |
| PasswordLockDays | integer | Password locking time (unit: day): -1 - never locked; 999 - null (Linux only) |
| PasswordStatus | integer | Password status: 1 - normal; 2 - expiring soon; 3 - expired; 4 - locked; 999 - null (Linux only) |
| UpdateTime | string | Update time |
| FirstTime | string | First collection time |
| IsNew | integer | Whether new [0: no|1: yes] |
| MachineExtraInfo | MachineExtraInfo | Additional information |
