cwp — Cloud Workload Protection
cwp · type

AssetUserBaseInfo

29 fields

FieldTypeDescription
MachineIpstringHost private IP address
MachineWanIpstringHost public IP address
MachineNamestringHost name
OsInfostringOperating System Information
UuidstringHost UUID
QuuidstringHost QUUID
UidstringAccount UID
GidstringAccount GID
StatusintegerAccount status. 0: disabled; 1: enabled
IsRootintegerWhether there is root permission. 0: no; 1: yes; 999: null (Linux only)
LoginTypeintegerLog-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)
LastLoginTimestringLast log-in time
NamestringAccount name
ProjectIdintegerHost business group ID
UserTypeintegerAccount type. 0: guest user; 1: standard user; 2: administrator user; 999: null (Windows only)
IsDomainintegerWhether a domain account. 0: no; 1: yes; 2: no; 999: null (Windows only)
IsSudointegerWhether there is sudo permissions: 1: yes; 0: No; 999: null (Linux only)
IsSshLoginintegerWhether ssh log-in allowed. 1: yes; 0: no; 999: null (Linux only)
HomePathstringHome directory
ShellstringShell path (Linux only)
ShellLoginStatusintegerWhether shell log-in allowed. 0: no; 1: yes (Linux only)
PasswordChangeTimestringPassword modification time
PasswordDueTimestringPassword expiration time (Linux only)
PasswordLockDaysintegerPassword locking time (unit: day): -1 - never locked; 999 - null (Linux only)
PasswordStatusintegerPassword status: 1 - normal; 2 - expiring soon; 3 - expired; 4 - locked; 999 - null (Linux only)
UpdateTimestringUpdate time
FirstTimestringFirst collection time
IsNewintegerWhether new [0: no|1: yes]
MachineExtraInfoMachineExtraInfoAdditional information

Returned or accepted by