mirror of
https://github.com/github/codeql.git
synced 2026-06-18 11:21:07 +02:00
allowBackup documentation updates
Make error messages and descriptions clearer about application backups not being disabled, rather than focusing on `android:allowBackup` specifically. Co-authored-by: Tony Torralba <atorralba@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
83c8e22225
commit
08a17b355e
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @name Android allowBackup attribute enabled
|
||||
* @description Enabling the `android:allowBackup` attribute may allow an attacker to extract sensitive data.
|
||||
* @name Application backup allowed
|
||||
* @description Allowing application backups may allow an attacker to extract sensitive data.
|
||||
* @kind problem
|
||||
* @problem.severity recommendation
|
||||
* @security-severity 7.5
|
||||
@@ -15,4 +15,4 @@ import semmle.code.xml.AndroidManifest
|
||||
|
||||
from AndroidApplicationXmlElement androidAppElem
|
||||
where androidAppElem.allowsBackup()
|
||||
select androidAppElem, "The 'android:allowBackup' attribute is enabled."
|
||||
select androidAppElem, "Backups are allowed in this Android application."
|
||||
|
||||
Reference in New Issue
Block a user