From a48109a22669a9a85852cff327239dfd92416b6a Mon Sep 17 00:00:00 2001 From: Teddy Reed Date: Wed, 3 Feb 2016 23:46:52 -0800 Subject: [PATCH] Add developer_id to safari_extensions --- osquery/tables/applications/darwin/browser_plugins.cpp | 1 + specs/darwin/safari_extensions.table | 1 + 2 files changed, 2 insertions(+) diff --git a/osquery/tables/applications/darwin/browser_plugins.cpp b/osquery/tables/applications/darwin/browser_plugins.cpp index b739312b..c9bb822a 100644 --- a/osquery/tables/applications/darwin/browser_plugins.cpp +++ b/osquery/tables/applications/darwin/browser_plugins.cpp @@ -50,6 +50,7 @@ const std::map kSafariExtensionKeys = { {"CFBundleInfoDictionaryVersion", "sdk"}, {"Description", "description"}, {"Update Manifest URL", "update_url"}, + {"DeveloperIdentifier", "developer_id"}, }; void genBrowserPlugin(const std::string& uid, diff --git a/specs/darwin/safari_extensions.table b/specs/darwin/safari_extensions.table index 2eddb002..82378e92 100644 --- a/specs/darwin/safari_extensions.table +++ b/specs/darwin/safari_extensions.table @@ -9,6 +9,7 @@ schema([ Column("sdk", TEXT, "Bundle SDK used to compile extension"), Column("update_url", TEXT, "Extension-supplied update URI"), Column("author", TEXT, "Optional extension author"), + Column("developer_id", TEXT, "Optional developer identifier"), Column("description", TEXT, "Optional extension description text"), Column("path", TEXT, "Path to extension XAR bundle"), ForeignKey(column="uid", table="users")