fleet/schema/tables/chrome_extensions.yml
Eric c2f333aebb
Schema: Update schema overrides to only use one YAML block scalar (#18351)
Closes: #18240

Changes:
- Updated the schema override files to use only one YAML block scalar
(`>-`)
- Updated the template yaml included in the link to create a new
override file in get-extended-osquery-schema helper to use the `>-`
block scalar
- regenerated osquery_fleet_schema.json
2024-04-16 18:35:23 -05:00

117 lines
2.7 KiB
YAML

name: chrome_extensions
platforms:
- darwin
- windows
- linux
- chrome
description: Installed extensions (plugins) for [Chromium-based](https://en.wikipedia.org/wiki/Chromium_(web_browser)) browsers, including [Google Chrome](https://en.wikipedia.org/wiki/Google_Chrome), [Edge](https://en.wikipedia.org/wiki/Microsoft_Edge), [Brave](https://en.wikipedia.org/wiki/Brave_(web_browser)), [Opera](https://en.wikipedia.org/wiki/Opera_(web_browser)), and [Yandex](https://en.wikipedia.org/wiki/Yandex_Browser).
examples: >-
```
SELECT * FROM users CROSS JOIN chrome_extensions USING (uid);
```
List Chrome extensions by user and profile which have full access to HTTPS
browsing.
```
SELECT u.username, ce.name, ce.description, ce.version, ce.profile, ce.permissions FROM users u CROSS JOIN chrome_extensions ce USING (uid) WHERE ce.permissions LIKE '%%https://*/*%%';
```
notes: >-
Querying this table requires joining against the `users` table. [Learn more](https://fleetdm.com/guides/osquery-consider-joining-against-the-users-table)
On ChromeOS, this table requires the [fleetd Chrome extension](https://fleetdm.com/docs/using-fleet/chromeos).
columns:
- name: uid
platforms:
- darwin
- windows
- linux
- name: profile
platforms:
- darwin
- windows
- linux
- name: profile_path
platforms:
- darwin
- windows
- linux
- name: referenced_identifier
platforms:
- darwin
- windows
- linux
- name: default_locale
platforms:
- darwin
- windows
- linux
- name: current_locale
platforms:
- darwin
- windows
- linux
- name: author
platforms:
- darwin
- windows
- linux
- name: persistent
platforms:
- darwin
- windows
- linux
- name: path
type: text
description: Path to extension folder. Defaults to '' on ChromeOS
- name: optional_permissions
platforms:
- darwin
- windows
- linux
- name: optional_permissions_json
platforms:
- darwin
- windows
- linux
- name: manifest_hash
platforms:
- darwin
- windows
- linux
- name: referenced
platforms:
- darwin
- windows
- linux
- name: from_webstore
platforms:
- darwin
- windows
- linux
- name: state
type: text
- name: install_time
platforms:
- darwin
- windows
- linux
- name: install_timestamp
platforms:
- darwin
- windows
- linux
- name: manifest_json
platforms:
- darwin
- windows
- linux
- name: key
platforms:
- darwin
- windows
- linux