mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
* create schema/tables, add yaml schema tables
* Update osquery-table-details.ejs
* Generate schema from schema/tables/ folder
* Create generate-yaml-tables-from-json.js
* update created table files
* update fleet override validation
* update error messages, add fleetRepoUrl
* Delete generate-yaml-tables-from-json.js
* Update osquery-table-details.ejs
* Update whitespace in table examples
* Revert "Update osquery-table-details.ejs"
This reverts commit 2e9d63208f.
* add YAML tables generated from updated Fleet schema
* lint fixes
* update arp_cache and docker_containers tables
15 lines
769 B
YAML
15 lines
769 B
YAML
name: dns_resolvers
|
|
examples: >-
|
|
Identify computers that are using an external DNS server instead of an
|
|
internal one. This query also removes null and empty strings that can be
|
|
returned by this table.
|
|
|
|
```
|
|
|
|
SELECT address FROM dns_resolvers WHERE type='nameserver' AND address NOT LIKE '192.168%%' AND address NOT LIKE '172.16%%' AND address NOT LIKE '172.17%%' AND address NOT LIKE '172.18%%' AND address NOT LIKE '172.19%%' AND address NOT LIKE '172.20%%' AND address NOT LIKE '172.21%%' AND address NOT LIKE '172.22%%' AND address NOT LIKE '172.23%%' AND address NOT LIKE '10.%%' AND address NOT LIKE '127.%%' AND address IS NOT NULL AND address IS NOT ' ' AND address IS NOT '';
|
|
|
|
```
|
|
columns:
|
|
- name: pid_with_namespace
|
|
platforms:
|
|
- linux
|