Thilina Sandaruwan
b682e77d34
fix: group assigned role issue
1 year ago
Thilina Sandaruwan
0581151248
add: super-tenant admin check
1 year ago
Thilina Sandaruwan
fde6de94bb
fix: sub tenants grouping issue
1 year ago
Navod Zoysa
d90c5c459a
Remove reserved_user when fetching users
1 year ago
Nishan Sangeeth
1844db87d8
Improve app visibility restricting functionality
...
Co-authored-by: Nishan Sangeeth <nishan@entgra.io>
Co-committed-by: Nishan Sangeeth <nishan@entgra.io>
1 year ago
Nishan Sangeeth
50beae1bf8
Remove the user has role validation
1 year ago
Nishan Sangeeth
da6f7158cf
add api for get visible roles
1 year ago
Thilina Sandaruwan
0ce7cd954c
HierarchicalGrouping ( #153 )
...
Goals
Complete hierarchical grouping task
https://roadmap.entgra.net/issues/9528 and https://roadmap.entgra.net/issues/9529
Approach
Fix the encountered issues
Co-authored-by: ThilinaPremachandra <thilina@entgra.io>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: community/device-mgt-core#153
Co-authored-by: Thilina Sandaruwan <thilina@entgra.io>
Co-committed-by: Thilina Sandaruwan <thilina@entgra.io>
1 year ago
Rajitha Kumara
729f1fd85f
Update invite link
1 year ago
prathabanKavin
5a8bcf6711
Add device enrolment log for modifyenrolment
1 year ago
Navod Zoysa
f9b9f76a3c
Fix skip app release error
1 year ago
Pahansith Gunathilake
e979130e55
Fix missing imports
1 year ago
Pahansith Gunathilake
469c4988c5
Remove unnecessary logs
1 year ago
Rajitha Kumara
6299d0fd83
Add otp token
1 year ago
inoshperera
2dd804f1a8
Add the logic to save device id to certificate DB
...
partialy fixes https://roadmap.entgra.net/issues/10145
1 year ago
Pahansith Gunathilake
9a55a83af4
Add OTP based remote session implementation
1 year ago
Pahansith Gunathilake
84563078d3
Add tenant based storing and loading SCEP certificates
1 year ago
inoshperera
a603a69f3e
OTP for enrollment with Mutual TLS
...
Fixes https://roadmap.entgra.net/issues/10093
1 year ago
Pahansith Gunathilake
1e252dd67f
Fix issue with Nginx not recognizing the SCEP client certificate ( #105 )
...
Co-authored-by: Pahansith <pahansith@entgra.io>
Reviewed-on: community/device-mgt-core#105
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Co-committed-by: Pahansith Gunathilake <pahansith@entgra.io>
1 year ago
inoshperera
19048ef341
Add SCEP support
...
fixes https://roadmap.entgra.net/issues/10042
1 year ago
Oshani Silva
8b928a4aca
Remove unwanted check in billing logic
...
Co-authored-by: Oshani Silva <oshani@entgra.io>
Co-committed-by: Oshani Silva <oshani@entgra.io>
1 year ago
inoshperera
cfe7e520ab
iOS user enrollment support
...
Fixes https://roadmap.entgra.net/issues/10149
1 year ago
Navod Zoysa
566942694c
Remove apim_reserved_user when fetching users
1 year ago
builder
48801a3b8e
[maven-release-plugin] prepare for next development iteration
1 year ago
builder
4c1963a32b
[maven-release-plugin] prepare release v5.0.26
1 year ago
Thilina Sandaruwan
ae13169377
add rollback
1 year ago
Thilina Sandaruwan
4a239887cb
add try with resources
1 year ago
Thilina Sandaruwan
7d05446a38
add error log
1 year ago
Thilina Sandaruwan
cd9d127a5e
remove unnecessary variable, change error msg
1 year ago
Thilina Sandaruwan
13545f1c7c
remove unnecessary code lines
1 year ago
Thilina Sandaruwan
d842fc4085
remove unnecessary imports, fixes line issues
1 year ago
Thilina Sandaruwan
32e5456f21
fixes line issues
1 year ago
Thilina Sandaruwan
88356c57aa
Add hierarchical grouping feature
1 year ago
Thilina Sandaruwan
ce4276c93a
pom.xml updated by pull
1 year ago
Kavin Prathaban
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
```
* 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>
1 year ago
Navod Zoysa
74e06047f1
Fix class def not found in grafana component
1 year ago
Amalka Subasinghe
5b85778d27
fixed operation template unit tests
1 year ago
Amalka Subasinghe
80b42315d7
operation template related unit test fixes
1 year ago
Amalka Subasinghe
f63a6ee65b
fixed unit tests
1 year ago
Amalka Subasinghe
ce37fdb4be
fixed unit tests
1 year ago
Amalka Subasinghe
c286fec27b
fixed unit tests
1 year ago
Amalka Subasinghe
da8fa5b895
fixed unit tests
1 year ago
Amalka Subasinghe
bc66555a04
fixed unit tests
1 year ago
Amalka Subasinghe
c855b707e7
fixed mockito dependency issue
1 year ago
Amalka Subasinghe
defb0aed04
fixed unit tests in analytics-mgt
1 year ago
Amalka Subasinghe
5b6b11dc8c
fixed unit tests of application-mgt
1 year ago
osh
4436c48228
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into device-apps-api-1
1 year ago
Dharmakeerthi Lasantha
74041070f9
Fix class def not found issue
1 year ago
Dharmakeerthi Lasantha
349bb0a3dc
Fix test case failure
1 year ago
Amalka Subasinghe
66f33f4845
notify cluster formation changed nug fixes
1 year ago
Amalka Subasinghe
615da6303f
notify cluster formation changed implementation
1 year ago
builder
f19f48d050
[maven-release-plugin] prepare for next development iteration
1 year ago
builder
ff9971ed77
[maven-release-plugin] prepare release v5.0.27
1 year ago
Rajitha Kumara
7c9d3a2108
Fixes for grouping issues ( #186 )
...
Co-authored-by: rajitha <rajitha@entgra.io>
Reviewed-on: community/device-mgt-core#186
Co-authored-by: Rajitha Kumara <rajitha@entgra.io>
Co-committed-by: Rajitha Kumara <rajitha@entgra.io>
1 year ago
osh
77b68af5d0
Add pagination
1 year ago
osh
e7b0255a95
Add get device apps by id service
1 year ago
Dharmakeerthi Lasantha
5098c652ca
Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into sync-master
1 year ago
Amalka Subasinghe
bfe9746d70
Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into apim420
1 year ago
Dharmakeerthi Lasantha
1d94fb7de1
Fix test case failing
1 year ago
osh
dd7910268e
Add vpp token field
1 year ago
osh
b576f3d9bb
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into vpp-v2
1 year ago
Inosh Perara
2dd3e86f69
Merge pull request 'Grouping Issues' ( #181 ) from ThilinaPremachandra/device-mgt-core:groupingIssues into master
...
Reviewed-on: community/device-mgt-core#181
1 year ago
Thilina Sandaruwan
6dbad29776
fix: role sharing issues for other users
1 year ago
osh
cd17d06158
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into vpp-v2
1 year ago
Charitha Goonetilleke
6e1e58f2ec
Merge branch 'master' into master
1 year ago
osh
2249520132
Resolve conflicts
1 year ago
Dharmakeerthi Lasantha
2cfa73206d
Fix OSGI service unbinding issue
1 year ago
Dharmakeerthi Lasantha
a66d6389f9
Fix formatting issue
1 year ago
Dharmakeerthi Lasantha
fe4011cc7e
Sync with master
1 year ago
Dharmakeerthi Lasantha
3bf6f7dd75
Improve functionality and fix formatting issues
1 year ago
Navod Zoysa
90741dc502
Fix class not found error in analytics component
1 year ago
osh
eb740773aa
Improve update asset DAO
...
fixes https://roadmap.entgra.net/issues/10179
1 year ago
Dharmakeerthi Lasantha
78aee58c1a
Fix build failure
1 year ago
Dharmakeerthi Lasantha
11efc83b06
Fix dependency importing issue
1 year ago
Dharmakeerthi Lasantha
816ade11e6
Sync with master
1 year ago
Sasini Sandamali
b9ecb8ce40
Rearrange getOperations by eliminating the necessity of the owner param
1 year ago
Thilina Sandaruwan
38b8c8d7b1
Grouping Improvements ( #169 )
...
Purpose
After deleting a role, delete relevant records from DM_ROLE_GROUP_MAP table
Related tickets: https://roadmap.entgra.net/issues/9528 and https://roadmap.entgra.net/issues/9529
Co-authored-by: ThilinaPremachandra <thilina@entgra.io>
Reviewed-on: community/device-mgt-core#169
Co-authored-by: Thilina Sandaruwan <thilina@entgra.io>
Co-committed-by: Thilina Sandaruwan <thilina@entgra.io>
1 year ago
osh
81fd5687ef
Update user service and token retrieval
1 year ago
Nishan Sangeeth
2d3f2b94da
Show device identifier and changeed to delete certificate using Id
1 year ago
Amalka Subasinghe
2e5579fdc2
fixed operation template unit tests
1 year ago
Amalka Subasinghe
013df183cd
operation template related unit test fixes
1 year ago
Thilina Sandaruwan
253dc03233
fix: deleted roles removing issue
1 year ago
Amalka Subasinghe
edcf235ff8
fixed unit tests
1 year ago
Amalka Subasinghe
9352382406
fixed unit tests
1 year ago
Amalka Subasinghe
78f9f746d8
fixed unit tests
1 year ago
Amalka Subasinghe
9759520157
fixed unit tests
1 year ago
Amalka Subasinghe
b08f3fcc49
fixed unit tests
1 year ago
Amalka Subasinghe
1c4ee6cacc
fixed mockito dependency issue
1 year ago
Amalka Subasinghe
9f19c1d1c1
fixed unit tests in analytics-mgt
1 year ago
Thilina Sandaruwan
907043fd91
Merge branch 'master'
1 year ago
osh
dae8c09761
Resolve comments
1 year ago
osh
b978e31ab0
Resolve conflicts
...
fixes https://roadmap.entgra.net/issues/10186
1 year ago
osh
0e5478fb5e
Add association DAO and fix meta issue
...
fixes https://roadmap.entgra.net/issues/10186
1 year ago
Rajitha Kumara
67cdcede69
Fix realm service unbinding issues
1 year ago
inoshperera
026986cd93
Add DAO improvements for user APIs
...
Fixes https://roadmap.entgra.net/issues/10169
1 year ago
Thilina Sandaruwan
6c645db486
add: proper msg for group delete
1 year ago
Dharmakeerthi Lasantha
437c0e642d
Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into apim420
1 year ago
Rajitha Kumara
5818a5eaed
Fix transaction initiating issue
1 year ago
Amalka Subasinghe
204b5d956b
fixed unit tests of application-mgt
1 year ago
osh
c9ed09ee25
Resolve conflicts
1 year ago
Thilina Sandaruwan
6d012bc614
fix: group assigned role issue
1 year ago
Thilina Sandaruwan
aecc106f95
add: super-tenant admin check
1 year ago
Thilina Sandaruwan
39f5ee8ca3
fix: sub tenants grouping issue
1 year ago
osh
1263c09079
Add DAOs for asset management
...
fixes https://roadmap.entgra.net/issues/10179
1 year ago
inoshperera
54111b4d94
Add association apis
...
fixes https://roadmap.entgra.net/issues/10182
1 year ago
Amalka Subasinghe
2ff6e2e529
updated jackson-databind version
1 year ago
Amalka Subasinghe
1c3cd7cd2f
fixed webapp deploying failure
1 year ago
Dharmakeerthi Lasantha
35ee44f799
Remove Capp Deploying service
1 year ago
inoshperera
61ffd4abff
Fixing conflics
1 year ago
Navod Zoysa
8d9e3c8f51
Remove reserved_user when fetching users
1 year ago
osh
2e799a545f
Resolve comments
1 year ago
Nishan Sangeeth
3616245ae6
Improve app visibility restricting functionality
...
Co-authored-by: Nishan Sangeeth <nishan@entgra.io>
Co-committed-by: Nishan Sangeeth <nishan@entgra.io>
1 year ago
inoshperera
665702d504
Add asset apis
...
Fixes https://roadmap.entgra.net/issues/10178
1 year ago
osh
cd42a2c48f
Adding the DAO layer for vpp user management
...
fixes https://roadmap.entgra.net/issues/10169
1 year ago
Dharmakeerthi Lasantha
e7062b37b2
Fix Cron Expression defining issue
1 year ago
Dharmakeerthi Lasantha
1e9b38440b
Improve subscription filtering logic
1 year ago
Pahansith Gunathilake
e0a1cd3dbb
Merge pull request 'Add api for get visible roles' ( #146 ) from nishan/device-mgt-core:add-visible-role-api into master
...
Reviewed-on: community/device-mgt-core#146
1 year ago
Thilina Sandaruwan
498dc7ae34
HierarchicalGrouping ( #153 )
...
Goals
Complete hierarchical grouping task
https://roadmap.entgra.net/issues/9528 and https://roadmap.entgra.net/issues/9529
Approach
Fix the encountered issues
Co-authored-by: ThilinaPremachandra <thilina@entgra.io>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: community/device-mgt-core#153
Co-authored-by: Thilina Sandaruwan <thilina@entgra.io>
Co-committed-by: Thilina Sandaruwan <thilina@entgra.io>
1 year ago
Rajitha Kumara
d5270c720c
Update invite link
1 year ago
Pahansith Gunathilake
979d3b48cb
Merge branch 'master' into sync-master
1 year ago
Inosh Perara
da694c3dbe
Merge pull request 'Add device enrolment log for modifyenrolment' ( #148 ) from prathabanKavin/device-mgt-core:enrolmentlogfix into master
...
Reviewed-on: community/device-mgt-core#148
1 year ago
Inosh Perara
f246d6b8de
Merge pull request 'add vpp user services' ( #151 ) from inosh/device-mgt-core:vpp into vpp-v2
...
Reviewed-on: community/device-mgt-core#151
1 year ago
inoshperera
cc8470d3c0
add vpp user services
1 year ago
Navod Zoysa
7073deb461
Fix skip app release error
1 year ago
Pahansith Gunathilake
763cd7df25
Fix missing imports
1 year ago
Pahansith Gunathilake
92d7f5b61f
Resolve Conflicts
1 year ago
Nishan Sangeeth
cd962b8d24
Remove the user has role validation
1 year ago
Nishan Sangeeth
4a31d80660
add api for get visible roles
1 year ago
Oshani Silva
6109f58c49
Remove unwanted check in billing logic
...
Co-authored-by: Oshani Silva <oshani@entgra.io>
Co-committed-by: Oshani Silva <oshani@entgra.io>
1 year ago
prathabanKavin
389eb05084
Add device enrolment log for modifyenrolment
1 year ago
Inosh Perara
9dd24eda17
Merge pull request 'Add vpp user apis' ( #147 ) from inosh/device-mgt-core:vpp into vpp-v2
...
Reviewed-on: community/device-mgt-core#147
2 years ago
inoshperera
9ccf3a5fa5
Add vpp user apis
...
fixes https://roadmap.entgra.net/issues/10162
2 years ago
Pahansith Gunathilake
577e3e9384
Remove unnecessary logs
2 years ago
Inosh Perara
b0dfadbe68
Merge pull request 'iOS user enrollment support' ( #143 ) from inosh/device-mgt-core:ios-user-enrollment into master
...
Reviewed-on: community/device-mgt-core#143
2 years ago
Pahansith Gunathilake
660fadc39d
Merge branch 'support-5.0.24' of ssh://repository.entgra.net:222/support/support-carbon-device-mgt into support-5.0.24
2 years ago
Pahansith Gunathilake
bfdd6cf8d0
Merge branch 'support-5.0.24' into store-certificate-device-id
2 years ago
Navod Zoysa
00bd74734a
Remove apim_reserved_user when fetching users
2 years ago
Pasindu Rupasinghe
c455bfe187
Fix consumer REST calls
2 years ago
builder
ab2e1297e5
[maven-release-plugin] prepare for next development iteration
2 years ago
builder
6c9d33a16a
[maven-release-plugin] prepare release v5.0.26
2 years ago
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
Pahansith Gunathilake
b18003a1cd
Add OTP based remote session implementation
2 years ago
inoshperera
cb99e4c285
iOS user enrollment support
...
Fixes https://roadmap.entgra.net/issues/10149
2 years ago
Rajitha Kumara
94408c7ce3
Add otp token
2 years ago
Dharmakeerthi Lasantha
342e201c4c
Add improvements to APIM application creating logic
2 years ago
Pasindu Rupasinghe
cb2fb990e7
Get ApiApplicationInfo and access token into single object
...
Co-authored-by: Pasindu Rupasinghe <pasindu@entgra.io>
Co-committed-by: Pasindu Rupasinghe <pasindu@entgra.io>
2 years ago
Pasindu Rupasinghe
da1485d04f
Fix getApplication method with Rest api calls
2 years ago
inoshperera
48be39a963
Add the logic to save device id to certificate DB
...
partialy fixes https://roadmap.entgra.net/issues/10145
2 years ago
Pahansith Gunathilake
1890f07217
Merge branch 'master' into fix-grafana
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
647d4fdb78
add rollback
2 years ago
Dharmakeerthi Lasantha
bfaeb1778f
Add JWT support
2 years ago
Thilina Sandaruwan
3722bfc761
add try with resources
2 years ago
Thilina Sandaruwan
e66c3dc6f6
add error log
2 years ago
Thilina Sandaruwan
00b107ee99
remove unnecessary variable, change error msg
2 years ago
Pasindu Rupasinghe
43ef801ac3
Improvements in consumer rest apis
2 years ago
Pasindu Rupasinghe
7dfcc0e33c
Get token separately for REST calls
...
Co-authored-by: Pasindu Rupasinghe <pasindu@entgra.io>
Co-committed-by: Pasindu Rupasinghe <pasindu@entgra.io>
2 years ago
Thilina Sandaruwan
bc2bccac84
remove unnecessary code lines
2 years ago
Thilina Sandaruwan
bb50717370
remove unnecessary imports, fixes line issues
2 years ago
Thilina Sandaruwan
67c529b0fa
fixes line issues
2 years ago
Thilina Sandaruwan
145740fec6
Add hierarchical grouping feature
2 years ago
Dharmakeerthi Lasantha
d40dccc240
Add improvements to token generation for devices
2 years ago
Dharmakeerthi Lasantha
253157ba1a
Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into apim420
2 years ago
Navod Zoysa
331ba08f4d
Fix class def not found in grafana component
2 years ago
Dharmakeerthi Lasantha
1edaa8a2a5
Improve API key generating method
2 years ago
Pasindu Rupasinghe
7826e5c285
Fix key generation method
2 years ago
Dharmakeerthi Lasantha
730f3aaa07
Improve API publishing functionality
2 years ago
Dharmakeerthi Lasantha
840ba3755a
Merge branch 'apim420' of https://repository.entgra.net/tcdlpds/device-mgt-core into apim420
2 years ago
Dharmakeerthi Lasantha
af17e4fa8e
Improve APIM application key generate method
2 years ago
Pasindu Rupasinghe
3b8405e72e
Fix version issues in REST APIs
2 years ago
Amalka Subasinghe
46ee81e78d
updated from master
2 years ago
Dharmakeerthi Lasantha
a09d72c33c
Add todo Comments
2 years ago
Thilina Sandaruwan
acd3039c65
pom.xml updated by pull
2 years ago
Dharmakeerthi Lasantha
0927dfc835
sync with upstream
2 years ago
Dharmakeerthi Lasantha
f741df7c4b
Add ToDos
2 years ago
Pahansith Gunathilake
8c7412a2f9
Merge branch 'master' into search-10113
2 years ago
Pahansith Gunathilake
743d5c09ec
Merge pull request 'Implement DeleteDeviceLocation method for deleting location from a device' ( #128 ) from Gimhan-minion/device-mgt-core:dev into master
...
Reviewed-on: community/device-mgt-core#128
2 years ago
Dharmakeerthi Lasantha
c227969a61
Improve the functionality
2 years ago
Dharmakeerthi Lasantha
189a572d31
Improve functionality
2 years ago
Pasindu Rupasinghe
94e1df617a
Get apiApplication registration to single method and fix generateApplicationKeys
2 years ago
Pramila Niroshan
656acbb34e
Remove Application mgt API feature from device mgt core
2 years ago
Dharmakeerthi Lasantha
d251253948
Improve application key generating functionality
2 years ago
Pasindu Rupasinghe
0e62245064
modify generateAndRetrieveApplicationKeys method
2 years ago
Dharmakeerthi Lasantha
6bf6adf2b5
Add API integration
2 years ago
Pasindu Rupasinghe
c53c8f3d63
minor fix
2 years ago
Gimhan Wijayawardana
a6a9e82c35
Update debug and error logs
2 years ago
Gimhan Wijayawardana
b58b8c931b
Implement DeleteDeviceLocation method for deleting location from a device
2 years ago
Pasindu Rupasinghe
45d98d5e49
Improve get all api method to accept header params
2 years ago
Pasindu Rupasinghe
a8d45ee41a
Create methods for consumer api app creation and get details of app
2 years ago
Pasindu Rupasinghe
a513c13037
Improvements in consumer rest apis
2 years ago
Dharmakeerthi Lasantha
c46a459e6d
Add Application key generating logic
2 years ago
Amalka Subasinghe
541e517b46
updated from master branch
2 years ago
Amalka Subasinghe
3470c58705
updated apim420
2 years ago
Amalka Subasinghe
1bb571acde
fixing dependency issues when installing on apim420
2 years ago
Dharmakeerthi Lasantha
2d37dcb340
Add API app registering refactored code
2 years ago
Lasantha Dharmakeerthi
cebc3bf5d4
Fix issue with delete geofences with MSSQL db
2 years ago
osh
891e7972c8
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into search-10113
2 years ago
osh
96e3c3f0e0
Fix search by user
...
fixes https://roadmap.entgra.net/issues/10113
2 years ago
prathabanKavin
1fb777264d
Check for logged in tenant id
2 years ago
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>
2 years ago
Dharmakeerthi Lasantha
22f4da908f
Add Consumer REST API integration
2 years ago
Pasindu Rupasinghe
c98237dc6f
Implement service for consumer rest APIs
...
Co-authored-by: Pasindu Rupasinghe <pasindu@entgra.io>
Co-committed-by: Pasindu Rupasinghe <pasindu@entgra.io>
2 years ago
Dharmakeerthi Lasantha
c3d23c3cfa
Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into apim420
2 years ago
Dharmakeerthi Lasantha
6e0fe2e26e
Integrate with APIM dev-portal APIs
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
prathabanKavin
bd5776947d
Fix issue with delete geofences with mssql db
2 years ago
Lasantha Dharmakeerthi
d2f8d30cca
Fix create geofence issue with MSSQL db
2 years ago
prathabanKavin
79d49a0512
used try with resources
2 years ago
prathabanKavin
d49ab1c7f0
Fix create geofence issue with mssql db
2 years ago
Pasindu Rupasinghe
1404f573e2
Make separate feature for apim rest api component
2 years ago
Pahansith Gunathilake
7100b36e35
Fix package name issue
2 years ago
Dharmakeerthi Lasantha
36f7d9ea9b
Sync with master
2 years ago
Dharmakeerthi Lasantha
713759f3f7
Update copyright
2 years ago
Amalka Subasinghe
073762c9db
updated versions for apim 420 and jdk 17
2 years ago
Pasindu Rupasinghe
c5a7902386
Fix error message and minor fixes in loop and if condition
2 years ago
Pasindu Rupasinghe
014f95bd10
Rename API dto file and refactor
2 years ago
Pasindu Rupasinghe
b133f56965
Cleanup code base and fix getApiRevision method
2 years ago
Pasindu Rupasinghe
7246209bd8
Added licence header for newly added files
2 years ago
Pasindu Rupasinghe
a683bd7110
Fix API response
2 years ago
Pahansith Gunathilake
209f2b66c9
Add tenant based storing and loading SCEP certificates
2 years ago
inoshperera
1aafd53d3e
OTP for enrollment with Mutual TLS
...
Fixes https://roadmap.entgra.net/issues/10093
2 years ago
Lasantha Dharmakeerthi
19ce7d6fac
Add try it now feature ( #99 )
...
Co-authored-by: Dharmakeerthi Lasantha <tcdlpds@gmail.com>
Reviewed-on: community/device-mgt-core#99
Co-authored-by: Lasantha Dharmakeerthi <lasantha@entgra.io>
Co-committed-by: Lasantha Dharmakeerthi <lasantha@entgra.io>
2 years ago
Pahansith Gunathilake
d34adaae96
Fix issue with Nginx not recognizing the SCEP client certificate ( #105 )
...
Co-authored-by: Pahansith <pahansith@entgra.io>
Reviewed-on: community/device-mgt-core#105
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Co-committed-by: Pahansith Gunathilake <pahansith@entgra.io>
2 years ago
inoshperera
dfe957b019
Add SCEP support
...
fixes https://roadmap.entgra.net/issues/10042
2 years ago
Pasindu Rupasinghe
cbb03d4d1f
Minor fixes in api requests
2 years ago
Pasindu Rupasinghe
7e94f152ea
Remove wild card imports
2 years ago
Pasindu Rupasinghe
65da984f66
Remove comented code lines
2 years ago
Pasindu Rupasinghe
a8cc35ef3d
Fix apis
2 years ago
Pasindu Rupasinghe
c6b43cc794
Implment API layer for API publisher
2 years ago
Pasindu Rupasinghe
fa3c112a68
Implement on progress publisher api layer
2 years ago
osh
2b72f4890b
Add by serial number in store
2 years ago
osh
7d6cfaa3b1
Add fix for serial number search
...
fixes components/device-mgt/io.entgra.device.mgt.core.device.mgt.core/src/main/java/io/entgra/device/mgt/core/device/mgt/core/dao/impl/device/SQLServerDeviceDAOImpl.java
2 years ago
Kavin Prathaban
7688aa375d
Fix operation logs not loading with mssql
...
## Purpose
* Fixes https://roadmap.entgra.net/issues/10050
## Description
* Converting BIGINT to timestamp directly is not supported with MSSQL. Timestamp class is used for conversion.
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Reviewed-on: community/device-mgt-core#117
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
2 years ago
prathabanKavin
9bf0fa553a
Fix remote session not working with MSSQL
2 years ago
Amalka Subasinghe
0ef880eb3c
fix issues related to uem test failures
2 years ago
Pasindu Rupasinghe
9ceb6cc0cf
mend
2 years ago
Pasindu Rupasinghe
401c549f13
Fix SSL timeout issue in Rest client
2 years ago
Amalka Subasinghe
a438b0fbd4
Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core
2 years ago
Amalka Subasinghe
951dde2a31
fixed build issues after restucturing
2 years ago
kavindya_devindi
55e3bb953f
Add missing log method's contents in logger component
2 years ago
Amalka Subasinghe
1229f275f6
fixing issues after component refactoring
2 years ago
Amalka Subasinghe
61f8589113
refactored version variables, oauth extension component
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
0bf6b3899e
refactored apimgt extension component
2 years ago
Amalka Subasinghe
d98abb1ddf
refactored application mgt component
2 years ago
Amalka Subasinghe
162507ac8b
refactored policy mgt component
2 years ago
Amalka Subasinghe
5d5980c720
refactored cert mgt component
2 years ago
Amalka Subasinghe
1d0f27b98e
refactored ui request handler component
2 years ago