DebuggableEntitlementsRule class

SD010 — get-task-allow enabled in iOS/macOS entitlements.

With this entitlement a debugger can attach to the production app. Debug-profile entitlements files (e.g. Flutter's DebugProfile.entitlements on macOS) legitimately carry it, so anything with "debug" in the file name is skipped.

Inheritance

Constructors

DebuggableEntitlementsRule()
const

Properties

cwe → int
CWE id without the prefix, e.g. 319 for CWE-319.
no setteroverride
description → String
What the rule detects and why it matters.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
id → String
Stable identifier, SD###.
no setteroverride
masvs → String
OWASP MASVS requirement id, e.g. MASVS-NETWORK-1.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity → Severity
no setteroverride
title → String
Short human-readable name of the check.
no setteroverride

Methods

appliesTo(ScanFile file) → bool
Whether file is worth checking at all (usually a ScanFile.kind test). Files that do not apply are never passed to check.
override
check(ScanFile file) → List<Finding>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited