32 lines
1.0 KiB
Markdown
32 lines
1.0 KiB
Markdown
# IntegraCI — Mobile Security Scan Dagger Module
|
|
|
|
Mobile Application Security Testing (MAST): static security analysis of mobile
|
|
source (Android / iOS / React Native) with **mobsfscan** (the MobSF project's
|
|
static analyzer). Closes the gap where mobile apps went through build + test but
|
|
skipped security scanning — web apps get SAST/DAST/SCA, mobile now gets MAST.
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
dagger call scan --source .
|
|
|
|
# skip (governance opt-out)
|
|
dagger call scan --source . --tool none
|
|
|
|
# scan + report to the deploy gate (as SAST)
|
|
dagger call scan --source . \
|
|
--api-url https://api.example.com \
|
|
--service-id <id> --version $GIT_SHA \
|
|
--token env://INTEGRACI_TOKEN
|
|
```
|
|
|
|
Findings POST to `/api/v1/scans/sast` (`scanner="mobsfscan"`) → `report_data.
|
|
sast_errors`, so mobile static-security findings flow through the **same deploy
|
|
gate as web SAST**.
|
|
|
|
## Wiring
|
|
|
|
Rendered in the mobile stacks' `security_scan` job via `mobile_security_tool`
|
|
(default `mobsfscan` for mobile stacks). Runs as a pulled container image; no
|
|
vendor SDK is bundled into the platform.
|