Generelt overblik
Forklaring af Android Enterprise
Krav og installation
Generelle indstillinger
Oversigt over konti
Kontooplysninger
Global konfiguration
Privatlivets fred
Rollebaseret adgang
Apple-konfiguration
Android-konfiguration
Windows-konfiguration
Indholdsboks
LDAP-konfiguration
App-administration
In-house app DB
App-indstillinger
Indstillinger for App Store
Fjernbetjening
Håndtering af sim-kort
Administration af abonnementer
Generel revisionslog
Mobil ledelse
iOS-konfiguration
Asset Management (kun på enhedsniveau)
Asset Management (kun på enhedsniveau)
Sikkerhedsstyring
Tyverisikring (kun på enhedsniveau)
Sikkerhedskonfiguration
End of Life (kun på enhedsniveau)
Begrænsningsindstillinger
BYOD
Håndtering af forbindelser
PIM-styring
Webadministration
App-administration
Android Enterprise - Fuldt administreret enhedskonfiguration
Generelt
Enhedslog (kun på enhedsniveau)
Enhedsindstillinger
Asset Management (kun på enhedsniveau)
Sikkerhedsstyring
Tyverisikring (kun på enhedsniveau)
Sikkerhedskonfiguration
End of Life (kun på enhedsniveau)
Begrænsningsindstillinger
Håndtering af forbindelser
PIM-styring
App-administration
Enterprise App Manager
Begrænsninger og indstillinger
Enterprise App Store
Enterprise Play Store
Kiosk-tilstand og launcher
Fjernbetjening
Styring af indhold
Yderligere API
Samsung KNOX
Android Enterprise - Fuldt administreret enhed med arbejdsprofil (COPE)
Android Enterprise - Container-konfiguration
Generelt
Asset Management (kun på enhedsniveau)
Sikkerhedsstyring
Tyverisikring (kun på enhedsniveau)
Sikkerhedskonfiguration
End of Life (kun på enhedsniveau)
Begrænsningsindstillinger
Håndtering af forbindelser
PIM-styring
App-administration
Enterprise App Manager
Begrænsninger og indstillinger
Enterprise App Store
Enterprise Play Store
Styring af indhold
Android-konfiguration
Generelt
Enhedslog (kun på enhedsniveau)
Enhedsindstillinger
Asset Management (kun på enhedsniveau)
Sikkerhedsstyring
Tyverisikring (kun på enhedsniveau)
Sikkerhedskonfiguration
End of Life (kun på enhedsniveau)
Begrænsningsindstillinger
BYOD-container
Håndtering af forbindelser
PIM-styring
App-administration
Enterprise App Manager
Begrænsninger og indstillinger
Kiosk-tilstand og launcher
Fjernbetjening
Styring af indhold
Konfiguration af Windows 10-pc
Generelt
Enhedslog (kun på enhedsniveau)
Asset Management (kun på enhedsniveau)
Sikkerhedsstyring
Tyverisikring (kun på enhedsniveau)
Sikkerhedskonfiguration
Begrænsningsindstillinger
BitLocker
Administration af certifikater
Håndtering af forbindelser
PIM-styring
App-administration
Enterprise App Manager
MacOS-konfiguration
Generelt
Asset Management (kun på enhedsniveau)
Opdateringsstyring (kun på enhedsniveau)
Sikkerhedsstyring
Anti-tyveri
Sikkerhedskonfiguration
Begrænsningsindstillinger
Håndtering af forbindelser
Dashboard og rapportering
Udvidet rapportering
Rapporter om overholdelse
Enhedsrapporter
Brugerrapporter
Administration af flere lejere
Yderligere visninger
Eksempel på kode i Python3
! /usr/bin/python
import base64
from Crypto.Hash import SHA512
from Crypto.Signature import PKCS1_v1_5
from Crypto.PublicKey import RSA
import os
import time
import json
import urllib.request
import urllib.parse
import urllib.error
import http.client
applianceDomain = "YOURAPPLIANCE.COM"
apiURL = "https://"+applianceDomain+"/public/external/api"
privateKeyPath = "/path/to/PrivateKey-XXXXXXXXXXX.pem"
apptecAPIAuthToken = "7eXXXXXXXXXXXXXXXXXXXXXXXXXXXX20"
currentTimestamp = int(time.time())
# Get Devices
#requestData = {"api": "v2/device/listdevices", "time": currentTimestamp}
# Get Positions
#requestData = {"api": "v2/device/listposition", "time": currentTimestamp,
"params":{"ids":[26]}}
# Get AssetData
requestData = {"api": "v2/device/getassetdata", "time": currentTimestamp,
"params":{"ids":[26], "assetkeys": ["imei"]}}
# encode the request data to json
print(json.dumps(requestData, indent=1))
jsonEncodedRequestData = json.dumps(requestData)
# Sign the request data json with the API private key
message = jsonEncodedRequestData.encode('utf-8')
print("Body:", message)
digest = SHA512.new()
digest.update(message)
# Read private key from file
with open(privateKeyPath, "r") as myKeyFile:
private_key = RSA.importKey(myKeyFile.read())
# Load private key and sign message
signer = PKCS1_v1_5.new(private_key)
signatureOfRequestData = signer.sign(digest)
Base64EncodedSignature = base64.b64encode(
signatureOfRequestData).decode("utf-8")
headers = {"Content-type": "application/json",
"auth": apptecAPIAuthToken, "signature": Base64EncodedSignature}
print("Headers:", headers, "\n")
# Send request to Server
httpsClient = http.client.HTTPSConnection(applianceDomain, 443, timeout=10)
httpsClient.request("POST", apiURL, jsonEncodedRequestData, headers)
# Get answer
response = httpsClient.getresponse()
status = response.status
data = response.read()
if data == False:
print("Invalid answer from the server")
else:
print("Answer:")
print(json.dumps(json.loads(data), indent=1))
if status != 200:
print("http error: lastReceivedHttpCode")
print(status)