Scan Result Types
The package exports AlphynScanResult and AlphynScanResultHelpers if you want to normalize native outputs into a canonical status model. Note that no SDK method returns this enum - performScan() returns a ScanResult object based on RiskFactor values; these helpers exist only for building your own status classification (see Interpreting Scan Results):
| Result | Description | Severity | Recommended Action |
|---|---|---|---|
TRUSTED | App passed all security checks | Low | Continue normal operation |
FLAGGED | Potential security concerns detected | Medium | Investigate and reduce access |
UNTRUSTED | Critical threats detected | High | Restrict or block sensitive actions |
UNKNOWN | Security state could not be determined | Unknown | Retry, log, or request remediation |
INITIALIZATION_ERROR | SDK could not initialize correctly | High | Fix setup before using security-dependent flows |