{"id":19199561,"url":"https://github.com/subconsciouscompute/androidmdm","last_synced_at":"2025-04-10T11:13:33.302Z","repository":{"id":196609978,"uuid":"696748231","full_name":"SubconsciousCompute/AndroidMDM","owner":"SubconsciousCompute","description":"MDM, Android device management using Rust","archived":false,"fork":false,"pushed_at":"2023-10-04T03:35:11.000Z","size":15,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T10:06:21.720Z","etag":null,"topics":["android","android-device-management","mdm","mobile","mobile-device-management","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SubconsciousCompute.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-26T11:10:34.000Z","updated_at":"2024-09-14T09:36:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"eaf1ff5d-2d8a-464d-930f-a91282167256","html_url":"https://github.com/SubconsciousCompute/AndroidMDM","commit_stats":null,"previous_names":["sn99/androidmdm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2FAndroidMDM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2FAndroidMDM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2FAndroidMDM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2FAndroidMDM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SubconsciousCompute","download_url":"https://codeload.github.com/SubconsciousCompute/AndroidMDM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208567,"owners_count":21065203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-device-management","mdm","mobile","mobile-device-management","rust"],"created_at":"2024-11-09T12:27:49.756Z","updated_at":"2025-04-10T11:13:33.272Z","avatar_url":"https://github.com/SubconsciousCompute.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android MDM\n\n`cargo run` gives the following response (a list of devices):\n\n```shell\nOk(\n    (\n        Response {\n            status: 200,\n            version: HTTP/1.1,\n            headers: {\n                \"content-type\": \"application/json; charset=UTF-8\",\n                \"vary\": \"X-Origin\",\n                \"vary\": \"Referer\",\n                \"vary\": \"Origin,Accept-Encoding\",\n                \"date\": \"Tue, 26 Sep 2023 11:12:10 GMT\",\n                \"server\": \"ESF\",\n                \"cache-control\": \"private\",\n                \"x-xss-protection\": \"0\",\n                \"x-frame-options\": \"SAMEORIGIN\",\n                \"x-content-type-options\": \"nosniff\",\n                \"alt-svc\": \"h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\",\n                \"accept-ranges\": \"none\",\n                \"transfer-encoding\": \"chunked\",\n            },\n            body: Body(\n                Streaming,\n            ),\n        },\n        ListDevicesResponse {\n            devices: Some(\n                [\n                    Device {\n                        api_level: Some(\n                            30,\n                        ),\n                        application_reports: None,\n                        applied_password_policies: None,\n                        applied_policy_name: Some(\n                            \"enterprises/LC03ulzkxb/policies/policy1\",\n                        ),\n                        applied_policy_version: Some(\n                            16,\n                        ),\n                        applied_state: Some(\n                            \"ACTIVE\",\n                        ),\n                        common_criteria_mode_info: None,\n                        device_settings: None,\n                        disabled_reason: None,\n                        displays: None,\n                        enrollment_time: Some(\n                            2023-09-05T06:21:34.137Z,\n                        ),\n                        enrollment_token_data: None,\n                        enrollment_token_name: Some(\n                            \"enterprises/LC03ulzkxb/enrollmentTokens/yPNkIkFET2J3Hznb_emgu8dX7clhJdfQELBCnan5pbo\",\n                        ),\n                        hardware_info: Some(\n                            HardwareInfo {\n                                battery_shutdown_temperatures: None,\n                                battery_throttling_temperatures: None,\n                                brand: Some(\n                                    \"realme\",\n                                ),\n                                cpu_shutdown_temperatures: None,\n                                cpu_throttling_temperatures: None,\n                                device_baseband_version: Some(\n                                    \"M_V3_P10,M_V3_P10\",\n                                ),\n                                enterprise_specific_id: None,\n                                gpu_shutdown_temperatures: None,\n                                gpu_throttling_temperatures: None,\n                                hardware: Some(\n                                    \"mt6768\",\n                                ),\n                                manufacturer: Some(\n                                    \"realme\",\n                                ),\n                                model: Some(\n                                    \"RMX2193\",\n                                ),\n                                serial_number: Some(\n                                    \"SC4TW8HYJB99V4EQ\",\n                                ),\n                                skin_shutdown_temperatures: None,\n                                skin_throttling_temperatures: None,\n                            },\n                        ),\n                        hardware_status_samples: None,\n                        last_policy_compliance_report_time: None,\n                        last_policy_sync_time: Some(\n                            2023-09-26T07:02:48.905Z,\n                        ),\n                        last_status_report_time: Some(\n                            2023-09-26T07:02:34.773Z,\n                        ),\n                        management_mode: Some(\n                            \"DEVICE_OWNER\",\n                        ),\n                        memory_events: None,\n                        memory_info: Some(\n                            MemoryInfo {\n                                total_internal_storage: Some(\n                                    2293370880,\n                                ),\n                                total_ram: Some(\n                                    3959894016,\n                                ),\n                            },\n                        ),\n                        name: Some(\n                            \"enterprises/LC03ulzkxb/devices/3035feba43ae1b42\",\n                        ),\n                        network_info: None,\n                        non_compliance_details: Some(\n                            [\n                                NonComplianceDetail {\n                                    current_value: None,\n                                    field_path: None,\n                                    installation_failure_reason: Some(\n                                        \"NOT_FOUND\",\n                                    ),\n                                    non_compliance_reason: Some(\n                                        \"APP_NOT_INSTALLED\",\n                                    ),\n                                    package_name: Some(\n                                        \"com.google.android.gms.maps\",\n                                    ),\n                                    setting_name: Some(\n                                        \"applications\",\n                                    ),\n                                    specific_non_compliance_context: None,\n                                    specific_non_compliance_reason: None,\n                                },\n                            ],\n                        ),\n                        ownership: Some(\n                            \"COMPANY_OWNED\",\n                        ),\n                        policy_compliant: Some(\n                            true,\n                        ),\n                        policy_name: Some(\n                            \"enterprises/LC03ulzkxb/policies/policy1\",\n                        ),\n                        power_management_events: None,\n                        previous_device_names: Some(\n                            [\n                                \"enterprises/LC03ulzkxb/devices/324c42498aebd26c\",\n                            ],\n                        ),\n                        security_posture: Some(\n                            SecurityPosture {\n                                device_posture: Some(\n                                    \"SECURE\",\n                                ),\n                                posture_details: None,\n                            },\n                        ),\n                        software_info: None,\n                        state: Some(\n                            \"ACTIVE\",\n                        ),\n                        system_properties: None,\n                        user: None,\n                        user_name: Some(\n                            \"enterprises/LC03ulzkxb/users/101289971983021954566\",\n                        ),\n                    },\n                ],\n            ),\n            next_page_token: None,\n        },\n    ),\n)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubconsciouscompute%2Fandroidmdm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubconsciouscompute%2Fandroidmdm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubconsciouscompute%2Fandroidmdm/lists"}