v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

List Mobile rules

List Mobile rules. Requires scope repositories:read

get/repositories/code/mobile/rules

Query parameters

repo_idinteger

Optional: Filters the open issue count to only count the issues related to the specified repo

Response

A list of Mobile rules

idstring

The unique identifier of this rule

titlestring

The title of this rule

base_scoreinteger

A numeric value from 1 to 100 indicating how severe the issue associated with this rule is

descriptionstring

A summary of what the issue associated with this rule is

how_to_fixstring

A description on how to fix the issue associated with this Mobile rule

language'Android' | 'iOS'

The programming language associated with this Mobile rule

open_issues_countinteger

A numeric value indicating how many open single issues are associated with this rule

Example response

[
  {
    "id": "AIK_android_debuggable",
    "title": "Android app enables debug mode in production",
    "base_score": 90,
    "description": "The AndroidManifest.xml file is configured with 'android:debuggable' set to true. This introduces a security risk, as debuggable applications may expose sensitive information and weaken security measures.",
    "how_to_fix": "Set 'android:debuggable' to false in the AndroidManifest.xml file.",
    "language": "Android",
    "open_issues_count": 2
  }
]