forked from community/device-mgt-core
master
apim420
apim_420_httpclient
fixes
updateGrantType
sync-master
mapApplicationKeys
revert
custom-grant
minorFixes
TokenInfo
fixKeyGenerationMethod
fixApiVersions
fixgenerateApplicationKeysmethod
consumerRestApis
license
feature/traccar-sync
4.x.x
temp
release-temp
kernel-4.6.x
kernel-4.4.x
revert-52ce2907
revert-70ac1926
corrective-policy
vpp
reporting
feature/appm-store/pbac
cherry-pick-b7435168
3.x.x
revert-70aa11f8
v5.2.4
v5.2.3
v5.2.2
v5.2.1
v5.2.0
v5.1.0
v5.0.41
v5.0.40
v5.0.39
v5.0.38
v5.0.37
v5.0.36
5.0.35v
v5.0.34
v5.0.33
v5.0.32
v5.0.31
v5.0.30
v5.0.29
v5.0.28
v5.0.27
v5.0.26
v5.0.25
v5.0.24
v5.0.23
v5.0.22
v5.0.21
v5.0.20
v5.0.19
v5.0.18
v5.0.17
v5.0.16
v5.0.15
v5.0.14
v5.0.13
v5.0.12
v5.0.11
v4.2.0
v5.0.10
v5.0.9
v5.0.8
v5.0.6
v5.0.5
v5.0.4
v5.0.3
v5.0.2
v5.0.1
v5.0.0
v4.1.15
v4.1.14
v4.1.13
v4.1.12
v4.1.11
v4.1.10
v4.1.9
v4.1.8
v4.1.7
v4.1.6
v4.1.5
v4.1.4
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.0.9
v4.0.1
v4.0.0
v3.2.15
v3.2.14
v3.2.13
v3.2.12
v3.2.11
v3.2.10
v3.2.9
v3.2.8
v3.2.7
v3.2.6
v3.2.5
v3.2.4
v3.2.3
v3.2.2
v3.2.1
v3.2.0
v3.1.30
v3.1.29
v3.1.28
v3.1.27
v3.1.26
v3.1.25
v3.1.24
v3.1.23
v3.1.22
v3.1.21
v3.1.20
v3.1.19
v3.1.18
v3.1.17
v3.1.16
v3.1.15
v3.1.14
v3.1.13
v3.1.12
v3.1.11
v3.1.10
v3.1.9
v3.1.8
v3.1.7
v3.1.6
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.0.244
v3.0.243
v3.0.242
v3.0.241
v3.0.240
v3.0.239
v3.0.238
v3.0.237
v3.0.236
v3.0.235
v3.0.234
v3.0.233
v3.0.232
v3.0.231
v3.0.230
v3.0.229
v3.0.228
v3.0.227
v3.0.226
v3.0.225
v3.0.224
v3.0.223
v3.0.222
v3.0.221
v3.0.220
v3.0.219
v3.0.218
v3.0.217
v3.0.216
v3.0.215
v3.0.214
v3.0.212
v3.0.211
v3.0.210
v3.0.209
v3.0.208
v3.0.207
v3.0.206
v3.0.205
v3.0.204
v3.0.203
v3.0.202
v3.0.201
v3.0.200
v3.0.199
v3.0.198
v3.0.197
v3.0.196
v3.0.195
v3.0.194
v3.0.193
v3.0.192
v3.0.191
v3.0.190
v3.0.189
v3.0.188
v3.0.187
v3.0.186
v3.0.185
v3.0.184
v3.0.183
v3.0.182
v3.0.181
v3.0.180
v3.0.179
v3.0.178
v3.0.177
v3.0.176
v3.0.175
v3.0.174
v3.0.173
v3.0.172
v3.0.171
v3.0.170
v3.0.169
v3.0.168
v3.0.167
v3.0.166
v3.0.165
v3.0.164
v3.0.163
v3.0.162
v3.0.161
v3.0.160
v3.0.159
v3.0.158
v3.0.157
v3.0.156
v3.0.155
v3.0.154
v3.0.153
v3.0.152
v3.0.151
v3.0.150
v3.0.149
v3.0.148
v3.0.147
v3.0.146
v3.0.145
v3.0.144
v3.0.143
v3.0.142
v3.0.141
v3.0.140
v3.0.139
v3.0.138
v3.0.137
v3.0.136
v3.0.135
v3.0.134
v3.0.133
v3.0.132
v3.0.131
v3.0.130
v3.0.129
v3.0.128
v3.0.127
v3.0.126
v3.0.125
v3.0.124
v3.0.123
v3.0.122
v3.0.121
v3.0.120
v3.0.119
v3.0.118
v3.0.117
v3.0.116
v3.0.115
v3.0.114
v3.0.113
v3.0.112
v3.0.111
v3.0.110
v3.0.109
v3.0.108
v3.0.107
v3.0.106
v3.0.105
v3.0.104
v3.0.103
v3.0.102
v3.0.101
v3.0.100
v3.0.99
v3.0.98
v3.0.97
v3.0.96
v3.0.95
v3.0.94
v3.0.93
v3.0.92
v3.0.91
v3.0.90
v3.0.89
v3.0.88
v3.0.87
v3.0.86
v3.0.85
v3.0.84
v3.0.83
v3.0.82
v3.0.81
v3.0.80
v3.0.79
v3.0.78
v3.0.77
v3.0.76
v3.0.75
v3.0.74
v3.0.73
v3.0.72
v3.0.71
v3.0.70
v3.0.69
v3.0.68
v3.0.67
v3.0.66
v3.0.65
v3.0.64
v3.0.63
v3.0.62
v3.0.61
v3.0.60
v3.0.59
v3.0.58
v3.0.57
v3.0.56
v3.0.55
v3.0.54
v3.0.53
v3.0.52
v3.0.51
v3.0.50
v3.0.49
v3.0.48
v3.0.47
v3.0.46
v3.0.45
v3.0.44
v3.0.43
v3.0.42
v3.0.41
v3.0.40
v3.0.39
v3.0.38
v3.0.37
v3.0.36
v3.0.35
v3.0.34
v3.0.33
v3.0.32
v3.0.31
v3.0.30
v3.0.29
v3.0.28
v3.0.27
v3.0.26
v3.0.25
v3.0.24
v3.0.23
v3.0.22
v3.0.21
v3.0.20
v3.0.19
v3.0.18
v3.0.17
v3.0.16
v3.0.15
v3.0.14
v3.0.13
v3.0.12
v3.0.11
v3.0.10
v3.0.9
v3.0.8
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.0.75
v2.0.74
v2.0.73
v2.0.72
v2.0.71
v2.0.70
v2.0.69
v2.0.68
v2.0.67
v2.0.66
v2.0.65
v2.0.64
v2.0.63
v2.0.62
v2.0.61
v2.0.60
v2.0.59
v2.0.58
v2.0.57
v2.0.56
v2.0.55
v2.0.54
v2.0.53
v2.0.52
v2.0.51
v2.0.50
v2.0.49
v2.0.48
v2.0.47
v2.0.46
v2.0.45
v2.0.44
v2.0.43
v2.0.42
v2.0.41
v2.0.40
v2.0.39
v2.0.38
v2.0.37
v2.0.36
v2.0.35
v2.0.34
v2.0.33
v2.0.32
v2.0.31
v2.0.30
v2.0.29
v2.0.28
v2.0.27
v2.0.26
v2.0.25
v2.0.24
v2.0.23
v2.0.22
v2.0.21
v2.0.20
v2.0.19
v2.0.18
v2.0.17
v2.0.16
v2.0.15
v2.0.14
v2.0.13
v2.0.12
v2.0.11
v2.0.10
v2.0.9
v2.0.8
v2.0.7
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v1.2.7
v2.0.1
v2.0.0
v1.2.6
v1.2.5
v1.2.4
v1.2.2
v1.2.1
v1.2.0
v1.1.2
v1.1.1
v1.1.0
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
v0.9.3
v0.9.2
v0.9.1
EMM-2.1.0-M2
IoTS-1.0.0-M1
IoTS-1.0.0-M2
IoTS-1.0.0-M3
carbon-devicemgt-0.9.0
cloud-release-05APR17
cloud-release-20APR17
${ noResults }
9 Commits (ff9971ed77817161d80b403b8c351402ee64b2ad)
Author | SHA1 | Message | Date |
---|---|---|---|
Inosh Perara | d17925cf7f |
Merge pull request 'HierarchicalGrouping' (#137) from ThilinaPremachandra/device-mgt-core:syncHierarchicalGrouping into master
Reviewed-on: community/device-mgt-core#137 |
2 years ago |
Kavin Prathaban | cf2bd5e935 |
Add custom loggers (#136)
## Purpose * Fixes https://roadmap.entgra.net/issues/10117 ## Description * Added custom logs for below cases: 1. Device connectivity events 2. Policy payload change events 3. Device enrollment history events 4. App install events #### Log structure **1. Device connectivity logs** - logs for newly added operations and calls for pending operations Pattern : {DateTime} {LogLevel} - {ActionTag} {OperationCode} {DeviceId} {DeviceType} {TenantDomain} {TenantId} {UserName} - log_message ``` [2023-06-15 00:12:09,093] INFO - [ADD_OPERATION] [DEVICE_LOCATION] [97] [android] [carbon.super] [-1234] [admin]- Operation added [2023-06-15 00:12:10,344] INFO - [PENDING_OPERATION] [DEVICE_LOCATION] [675c60a9d31492d6] [android] [carbon.super] [-1234] [admin]- Device Connected [2023-06-15 00:13:49,755] INFO - [ADD_OPERATION] [DEVICE_LOCK] [97] [android] [carbon.super] [-1234] [admin]- Operation added [2023-06-15 00:13:56,513] INFO - [ADD_OPERATION] [DEVICE_MUTE] [97] [android] [carbon.super] [-1234] [admin]- Operation added [2023-06-15 00:14:23,839] INFO - [PENDING_OPERATION] [DEVICE_MUTE] [2023-06-15 00:15:12,549] INFO - [ADD_OPERATION] [INSTALL_APPLICATION] [97] [android] [carbon.super] [-1234] [admin]- Operation added [2023-06-15 00:15:29,703] INFO - [PENDING_OPERATION] [INSTALL_APPLICATION] [675c60a9d31492d6] [android] [carbon.super] [-1234] [admin]- Device Connected ``` **2. Policy payload change events** - logs for creating policy, updating policy, deleting policy, change policy priorities and apply changes to device logs Pattern : {DateTime} {LogLevel} - {ActionTag} {PolicyName} {TenantDomain} {TenantId} {Payload} {UserName} - log_message ``` [2023-06-15 00:15:53,264] INFO - [UPDATE_POLICY] [passcodeios] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":33,"priorityId":1,"profile":{"profileId":33,"profileName":"passcodeios","tenantId":0,"deviceType":"ios","updatedDate":"Jun 15, 2023 12:15:53 AM","profileFeaturesList":[{"id":33,"featureCode":"PASSCODE_POLICY","profileId":0,"deviceType":"ios","content":"{\"forcePIN\":true,\"allowSimple\":true,\"requireAlphanumeric\":true,\"minLength\":7.0,\"minComplexChars\":4.0,\"pinHistory\":\"\"}","correctiveActions":[]}]},"policyName":"passcodeios","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":false,"description":"test","compliance":"enforce","tenantId":-1234,"profileId":33,"policyType":"GENERAL"}] [admin] - Policy updated [2023-06-15 00:34:38,980] INFO - [ADD_POLICY] [application management policy] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":65,"priorityId":0,"profile":{"profileId":65,"profileName":"application management policy","tenantId":0,"deviceType":"windows","createdDate":"Jun 15, 2023 12:34:38 AM","updatedDate":"Jun 15, 2023 12:34:38 AM","profileFeaturesList":[{"id":65,"featureCode":"ALLOW_ALL_TRUSTED_APPS","profileId":0,"deviceType":"windows","content":"{\"enabled\":true}","correctiveActions":[]},{"id":73,"featureCode":"RESTRICT_APP_TO_SYSTEM_VOLUME","profileId":0,"deviceType":"windows","content":"{\"enabled\":false}","correctiveActions":[]}]},"policyName":"application management policy","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":false,"description":"test","compliance":"enforce","tenantId":-1234,"profileId":0,"policyType":"GENERAL"}] [admin] - Policy created [2023-06-15 00:35:05,420] INFO - [DELETE_POLICY] [passcodeios] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":33,"priorityId":1,"profile":{"profileId":33,"profileName":"passcodeios","tenantId":-1234,"deviceType":"ios","createdDate":"Jun 13, 2023 10:24:30 PM","updatedDate":"Jun 15, 2023 12:15:53 AM","profileFeaturesList":[{"id":33,"featureCode":"PASSCODE_POLICY","profileId":33,"deviceType":"ios","content":"{\"forcePIN\":true,\"allowSimple\":true,\"requireAlphanumeric\":true,\"minLength\":7.0,\"minComplexChars\":4.0,\"pinHistory\":\"\"}","correctiveActions":[]}]},"policyName":"passcodeios","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":true,"description":"test","compliance":"enforce","policyCriterias":[],"tenantId":-1234,"profileId":33,"deviceGroups":[],"policyType":"GENERAL"}] [admin] - Policy deleted [2023-06-15 00:35:12,768] INFO - [UPDATE_POLICY_PRIORITIES] [] [carbon.super] [-1234] [[{"id":65,"priorityId":1,"generic":false,"active":false,"updated":false,"tenantId":0,"profileId":0},{"id":34,"priorityId":2,"generic":false,"active":false,"updated":false,"tenantId":0,"profileId":0}]] [admin] - Policy priorities updated [2023-06-15 00:35:25,395] INFO - [PUBLISH_CHANGES] [] [carbon.super] [-1234] [] [admin] - Apply changes to device ``` **3. Device enrollment history events** - logs for device enrollment and dis-enrollment Pattern : {DateTime} {LogLevel} - {DeviceId} {DeviceType} {Owner} {Ownership} {TenantId} {TenantDomain} {UserName} - log_message ``` [2023-06-15 00:12:09,078] INFO - [97] [android] [admin] [BYOD] [-1234] [carbon.super] [admin] - Device enrolled successfully [2023-06-15 00:47:36,278] INFO - [97] [android] [admin] [BYOD] [-1234] [carbon.super] [admin] - Device disenrolled successfully ``` **4. App install events** - logs for app installation and uninstallation Pattern : {DateTime} {LogLevel} - {AppId} {AppName} {AppType} {SubType} {Action} {Device} {TenantId} {TenantDomain} {UserName} - log_message ``` [2023-06-15 00:15:12,550] INFO - [1] [Calculator] [PUBLIC] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - App install triggered [2023-06-15 00:46:24,454] INFO - [2] [Sololearn] [ENTERPRISE] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - App install triggered [2023-06-15 00:46:40,498] INFO - [3] [Engineering] [WEB_CLIP] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - Web app install triggered ``` ## Related PRs * proprietary/product-uem#6 Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com> Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io> Reviewed-on: community/device-mgt-core#136 Co-authored-by: Kavin Prathaban <kavin@entgra.io> Co-committed-by: Kavin Prathaban <kavin@entgra.io> |
2 years ago |
Thilina Sandaruwan | 145740fec6 |
Add hierarchical grouping feature
|
2 years ago |
Oshani Silva | 2cf7cf8705 |
Add policy search functionality to API
Co-authored-by: Oshani Silva <oshani@entgra.io> Co-committed-by: Oshani Silva <oshani@entgra.io> |
2 years ago |
Dharmakeerthi Lasantha | 713759f3f7 |
Update copyright
|
2 years ago |
Amalka Subasinghe | 0bf534689f |
refactiored device mgt components
|
2 years ago |
Amalka Subasinghe | 243a74da8c |
refactored heart beat, notification logger, identity extensions component
|
2 years ago |
Amalka Subasinghe | 75309b8d96 |
refactored device-mgt extension component
|
2 years ago |
Amalka Subasinghe | 162507ac8b |
refactored policy mgt component
|
2 years ago |