These endpoints let you access information about the mobile apps registered with your organization’s Data Theorem account. They correspond to the apps that are displayed in the menu on the left-hand size of Data Theorem’s App Secure portal.
See the Introduction for an overview of the API and information relevant to all API operations.
This endpoint provides a JSON object with a mobile_apps
and a pagination_information
keys. The mobile_apps
key
contains a summary of all apps registered within a Data Theorem’s customer’s account while the pagination_information
key provides cursor based pagination details for the JSON object response.
In addition to the app and scan metadata, the JSON object contains links to other API resources related to the current resource, a link to the app on the customer facing portal and a link to the app on the app stores if any.
The JSON object response can be filtered based on the following query parameters:
cursor - retrieve a paginated list of apps using the specified cursor.
platform - filters the list of apps by one of the following supported platform values:
ANDROID
- A generic Android app or an Android app distributed through the Google Play StoreANDROID_AMAZON
- An Android app distributed through the Amazon App StoreANDROID_OCULUS
- An Android App distributed through the Oculus App StoreWINDOWS_PHONE
- A Windows appIOS
- An iOS apprelease_type - filters the list of apps by one of the following supported release type values:
APP_STORE
PRE_PROD
results_since - filters the list of apps based upon when they last had activity due to scans.
scan_status - filters the list of apps by the status of the app’s most recent scan. Supported statuses include:
NO_SCANS_INITIATED
SCAN_ONGOING
SCAN_COMPLETED
subscription - filters the list of apps by one or several of the following supported subscription level values:
APP_LOGIC
DYNAMIC
NO_SUBSCRIPTION
P1_ALERTS
STATIC
blocked_scan_reason - filters the list of mobile apps based on the reason as to why a scan may be blocked. The following values are supported:
NOT_BLOCKED
- filters the list for mobile apps that do not have any blocked scans.NO_CREDENTIALS
- filters the list for mobile apps that have blocked scans due to missing or invalid dynamic scanning credentials.CORRUPTED_APP_PACKAGE
- filters the list for mobile apps that have blocked scans due to a corrupted app package e.g. ipa or apk.OTHER
- filters the list for mobile apps that have blocked scans due to a variety of other non-specific reasons depending on the app.external_id - filters the list of mobile apps based on their external ID. External ID are arbitrary identifier you can give to the mobile app when you upload a build using the Upload API.
For the response, here are some details on the possible values that are returned from the API:
ONGOING
COMPLETED
NOT_BLOCKED
NO_CREDENTIALS
CORRUPTED_APP_PACKAGE
OTHER
The response may also include the following optional fields. They are included based on whether certain information is available, or under certain circumstances
AVAILABLE
UNAVAILABLE
1 | GET https://api.securetheorem.com/apis/mobile_security/results/v2/mobile_apps |
1 | { |
This endpoint returns a JSON object which contains a summary of a specific app within a Data Theorem’s customer’s
account specified by a mobile app id
.
1 | GET https://api.securetheorem.com/apis/mobile_security/results/v2/mobile_apps/:id |
1 | { |
This endpoint provides the ability to set an optional external_id
field on a mobile app. The external_id
field should represent your organization’s custom identifier for the app, if any, which may be different from the app id or app name provided by Data Theorem. The endpoint does not provide the ability to edit any other fields on an app.
1 | PATCH https://api.securetheorem.com/apis/mobile_security/results/v2/mobile_apps/:mobile_app_id |
1 | {"external_id": "MyApp-123-TestOrg"} |
The response has the same structure as the request to GET a particular mobile app, but the new
external_id
will be set in the response.
This endpoint provides a quick way to know how many apps are subscribed to each subscription level. The API key used to perform the request must have access to all mobile apps.
1 | GET https://api.securetheorem.com/apis/mobile_security/results/v2/mobile_apps/subscriptions |
1 | { |
This endpoint returns information about the SDKs found in a mobile app.
1 | GET https://api.securetheorem.com/apis/mobile_security/results/v2/mobile_apps/:id/sdks |
1 | { |
Details on some of the fields:
This endpoint returns information about an SDK found in a mobile app. It may include iOS Privacy Manifest data depending on the platform the SDK was found in.
1 | GET https://api.securetheorem.com/apis/mobile_security/results/v2/mobile_apps/:id/sdks/:id |
1 | { |
ios_privacy_manifest, when available, contains entries with the following details: