From 410dbd171b5b0d18325042fd3d7b33ba0eb970dd Mon Sep 17 00:00:00 2001 From: Rachael Shaw Date: Thu, 9 Jan 2025 16:10:51 -0600 Subject: [PATCH 1/2] Update rest-api.md --- docs/REST API/rest-api.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index a8f27e1db011..43d41fe42b18 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -2757,6 +2757,32 @@ Returns the information of the specified host. "label_membership_type": "dynamic" } ], + "certificates": [ // Available for macOS/iOS/iPadOS hosts + { + "id": 3, + "not_valid_after": "2021-08-19T02:02:17Z", + "not_valid_before": "2021-08-19T02:02:17Z", + "certificate_authority": true, + "common_name": "FleetDM", + "key_algorithm": "rsaEncryption", + "key_strength": 2048, + "key_usage": "CRL Sign, Key Cert Sign", + "serial": 1, + "signing_algorithm": "sha256WithRSAEncryption", + "subject": { + "country": "US", + "organization": "Fleet Device Management Inc.", + "organizational_unit": "Fleet Device Management Inc.", + "common_name": "FleetDM" + }, + "issuer": { + "country": "US", + "organization": "Fleet Device Management Inc.", + "organizational_unit": "Fleet Device Management Inc.", + "common_name": "FleetDM" + }, + } + ], "packs": [], "policies": [ { From bca704317bd0ca2cf26662e7281b129e64acff75 Mon Sep 17 00:00:00 2001 From: Rachael Shaw Date: Thu, 9 Jan 2025 17:18:35 -0600 Subject: [PATCH 2/2] Update rest-api.md --- docs/REST API/rest-api.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index 33cf171c392f..7c86d96d3602 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -3228,6 +3228,32 @@ This is the API route used by the **My device** page in Fleet desktop to display "label_membership_type": "dynamic" } ], + "certificates": [ // Available for macOS/iOS/iPadOS hosts + { + "id": 3, + "not_valid_after": "2021-08-19T02:02:17Z", + "not_valid_before": "2021-08-19T02:02:17Z", + "certificate_authority": true, + "common_name": "FleetDM", + "key_algorithm": "rsaEncryption", + "key_strength": 2048, + "key_usage": "CRL Sign, Key Cert Sign", + "serial": 1, + "signing_algorithm": "sha256WithRSAEncryption", + "subject": { + "country": "US", + "organization": "Fleet Device Management Inc.", + "organizational_unit": "Fleet Device Management Inc.", + "common_name": "FleetDM" + }, + "issuer": { + "country": "US", + "organization": "Fleet Device Management Inc.", + "organizational_unit": "Fleet Device Management Inc.", + "common_name": "FleetDM" + }, + } + ], "software": [ { "id": 321,