summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Liz Prucka <lizprucka@google.com> 2025-02-10 22:21:47 +0000
committer Liz Prucka <lizprucka@google.com> 2025-02-10 22:37:30 +0000
commitc450b757d1d5423699f7ffbe96f616aaf33042bb (patch)
tree0167177cf3b6fa60ac032afbfd0bfbf1ed72a8a0
parentac450eb2567ef871f05e0b09fcac63508db22f07 (diff)
[IntrusionDetection] Add flag to gate callback fix
SecurityLogMonitor fixed the internal event callback at b/385730709 so logs are received correctly by the system server. Create a flag to add the internal event callback to Intrusion Detection. Bug: 389732143 Flag: android.security.internal_log_event_listener Test: N/A Ignore-AOSP-First: security feature Change-Id: Ic8a0f7e61cd9edee90d84a0825de2bedd25f942d
-rw-r--r--core/java/android/security/flags.aconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/security/flags.aconfig b/core/java/android/security/flags.aconfig
index 792e6ff52d01..3a3ea189b227 100644
--- a/core/java/android/security/flags.aconfig
+++ b/core/java/android/security/flags.aconfig
@@ -126,6 +126,16 @@ flag {
}
flag {
+ name: "internal_log_event_listener"
+ namespace: "hardware_backed_security"
+ description: "Use internal callback to gather SecurityMonitor logs."
+ bug: "389732143"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
+
+flag {
name: "protect_device_config_flags"
namespace: "psap_ai"
description: "Feature flag to limit adb shell to allowlisted flags"