tcdlpds
|
500fa0df98
|
Add improvements to app registering logic
|
2023-09-20 09:30:16 +05:30 |
|
tcdlpds
|
088642e7ce
|
Improve API app registration
|
2023-09-19 13:22:28 +05:30 |
|
Dharmakeerthi Lasantha
|
938190deca
|
Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into apim420
|
2023-07-31 11:40:04 +05:30 |
|
Dharmakeerthi Lasantha
|
8289db1af8
|
Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into sync-master
|
2023-07-31 11:29:17 +05:30 |
|
builder
|
fabd3ebae8
|
[maven-release-plugin] prepare for next development iteration
|
2023-07-27 21:09:35 +05:30 |
|
builder
|
02458cc4fe
|
[maven-release-plugin] prepare release v5.0.28
|
2023-07-27 21:09:27 +05:30 |
|
Dharmakeerthi Lasantha
|
fe58a16d17
|
sync with upstream apim420
|
2023-07-26 07:32:55 +05:30 |
|
Dharmakeerthi Lasantha
|
8215186061
|
Revert "Fixes in JWT token generation and sync with upstream apim420 branch"
This reverts commit d567209c11, reversing
changes made to 437c0e642d.
|
2023-07-26 07:29:08 +05:30 |
|
Dharmakeerthi Lasantha
|
f2243ebd0e
|
Fix formatting issue
|
2023-07-25 17:33:02 +05:30 |
|
Dharmakeerthi Lasantha
|
dc6bbdd282
|
Improve functionality and fix formatting issues
|
2023-07-25 17:30:47 +05:30 |
|
Dharmakeerthi Lasantha
|
087a9fe728
|
Fix dependency importing issue
|
2023-07-25 17:29:14 +05:30 |
|
Nishan Sangeeth
|
1844db87d8
|
Improve app visibility restricting functionality
Co-authored-by: Nishan Sangeeth <nishan@entgra.io>
Co-committed-by: Nishan Sangeeth <nishan@entgra.io>
|
2023-07-25 17:17:50 +05:30 |
|
nishan
|
50beae1bf8
|
Remove the user has role validation
|
2023-07-25 17:11:26 +05:30 |
|
navodzoysa
|
f9b9f76a3c
|
Fix skip app release error
|
2023-07-25 17:09:26 +05:30 |
|
builder
|
48801a3b8e
|
[maven-release-plugin] prepare for next development iteration
|
2023-07-25 16:28:51 +05:30 |
|
builder
|
4c1963a32b
|
[maven-release-plugin] prepare release v5.0.26
|
2023-07-25 16:28:51 +05:30 |
|
|
|
7ad3a0e21b
|
Add custom loggers (#136)
* Fixes https://roadmap.entgra.net/issues/10117
* Added custom logs for below cases:
1. Device connectivity events
2. Policy payload change events
3. Device enrollment history events
4. App install events
**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
```
* https://repository.entgra.net/proprietary/product-uem/pulls/6
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/136
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
|
2023-07-25 15:59:45 +05:30 |
|
Amalka Subasinghe
|
5b6b11dc8c
|
fixed unit tests of application-mgt
|
2023-07-25 15:45:15 +05:30 |
|
builder
|
f19f48d050
|
[maven-release-plugin] prepare for next development iteration
|
2023-07-23 21:35:40 +05:30 |
|
builder
|
ff9971ed77
|
[maven-release-plugin] prepare release v5.0.27
|
2023-07-23 21:35:33 +05:30 |
|
Dharmakeerthi Lasantha
|
a66d6389f9
|
Fix formatting issue
|
2023-07-12 00:39:31 +05:30 |
|
Dharmakeerthi Lasantha
|
3bf6f7dd75
|
Improve functionality and fix formatting issues
|
2023-07-12 00:05:02 +05:30 |
|
Dharmakeerthi Lasantha
|
11efc83b06
|
Fix dependency importing issue
|
2023-07-11 11:43:26 +05:30 |
|
Dharmakeerthi Lasantha
|
816ade11e6
|
Sync with master
|
2023-07-11 11:28:31 +05:30 |
|
Dharmakeerthi Lasantha
|
437c0e642d
|
Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into apim420
|
2023-07-04 23:49:24 +05:30 |
|
Amalka Subasinghe
|
204b5d956b
|
fixed unit tests of application-mgt
|
2023-07-04 16:54:32 +05:30 |
|
Nishan Sangeeth
|
3616245ae6
|
Improve app visibility restricting functionality
Co-authored-by: Nishan Sangeeth <nishan@entgra.io>
Co-committed-by: Nishan Sangeeth <nishan@entgra.io>
|
2023-06-28 16:00:53 +00:00 |
|
Dharmakeerthi Lasantha
|
e7062b37b2
|
Fix Cron Expression defining issue
|
2023-06-28 18:59:30 +05:30 |
|
|
|
e0a1cd3dbb
|
Merge pull request 'Add api for get visible roles' (#146) from nishan/device-mgt-core:add-visible-role-api into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/146
|
2023-06-27 12:50:35 +00:00 |
|
navodzoysa
|
7073deb461
|
Fix skip app release error
|
2023-06-26 14:15:29 +05:30 |
|
nishan
|
cd962b8d24
|
Remove the user has role validation
|
2023-06-26 07:28:53 +05:30 |
|
builder
|
ab2e1297e5
|
[maven-release-plugin] prepare for next development iteration
|
2023-06-21 13:48:25 +05:30 |
|
builder
|
6c9d33a16a
|
[maven-release-plugin] prepare release v5.0.26
|
2023-06-21 13:48:19 +05:30 |
|
|
|
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
* https://repository.entgra.net/proprietary/product-uem/pulls/6
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/136
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
|
2023-06-16 10:06:30 +00:00 |
|
Dharmakeerthi Lasantha
|
253157ba1a
|
Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into apim420
|
2023-06-14 01:46:46 +05:30 |
|
Dharmakeerthi Lasantha
|
730f3aaa07
|
Improve API publishing functionality
|
2023-06-13 04:06:04 +05:30 |
|
Amalka Subasinghe
|
46ee81e78d
|
updated from master
|
2023-06-12 12:19:20 +05:30 |
|
|
|
656acbb34e
|
Remove Application mgt API feature from device mgt core
|
2023-06-08 12:30:34 +05:30 |
|
Amalka Subasinghe
|
541e517b46
|
updated from master branch
|
2023-06-06 14:00:08 +05:30 |
|
Amalka Subasinghe
|
3470c58705
|
updated apim420
|
2023-06-06 12:44:48 +05:30 |
|
Amalka Subasinghe
|
1bb571acde
|
fixing dependency issues when installing on apim420
|
2023-06-06 12:42:33 +05:30 |
|
Sanjana Rajapakshe
|
c06fd22ecd
|
Add original app icons into single device app list and application restriction policy app list
Co-authored-by: Sanjana Rajapakshe <sanjana@entgra.io>
Co-committed-by: Sanjana Rajapakshe <sanjana@entgra.io>
|
2023-06-01 16:11:35 +00:00 |
|
Dharmakeerthi Lasantha
|
36f7d9ea9b
|
Sync with master
|
2023-05-28 23:54:31 +05:30 |
|
Dharmakeerthi Lasantha
|
713759f3f7
|
Update copyright
|
2023-05-26 23:58:39 +05:30 |
|
Amalka Subasinghe
|
073762c9db
|
updated versions for apim 420 and jdk 17
|
2023-05-26 11:46:35 +05:30 |
|
osh
|
2b72f4890b
|
Add by serial number in store
|
2023-05-23 23:16:55 +05:30 |
|
Amalka Subasinghe
|
0ef880eb3c
|
fix issues related to uem test failures
|
2023-05-15 22:50:55 +05:30 |
|
Amalka Subasinghe
|
61f8589113
|
refactored version variables, oauth extension component
|
2023-05-11 14:38:47 +05:30 |
|
Amalka Subasinghe
|
0bf534689f
|
refactiored device mgt components
|
2023-05-11 13:29:16 +05:30 |
|
Amalka Subasinghe
|
243a74da8c
|
refactored heart beat, notification logger, identity extensions component
|
2023-05-11 12:30:03 +05:30 |
|