Skip to content

Commit 40f44e5

Browse files
authored
Merge pull request #11 from palantir/fixing_intervals
Fixing interval values in YAML files for Fleet
2 parents 8eeba53 + 5cf560a commit 40f44e5

File tree

7 files changed

+155
-155
lines changed

7 files changed

+155
-155
lines changed

Fleet/Endpoints/MacOS/osquery.yaml

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,285 +6,285 @@ spec:
66
queries:
77
- description: 'Query to monitor files for changes inside of /etc/emon.d/ or /private/var/db/emondClients/
88
which can be used for persistence: (https://www.xorrior.com/emond-persistence/)'
9-
interval: 0
9+
interval: 3600
1010
name: emond
1111
platform: darwin
1212
query: emond
1313
- description: 'Snapshot query to monitor files for changes inside of /etc/emon.d/
1414
or /private/var/db/emondClients/ which can be used for persistence: (https://www.xorrior.com/emond-persistence/)'
15-
interval: 0
15+
interval: 28800
1616
name: emond_snapshot
1717
platform: darwin
1818
query: emond_snapshot
1919
snapshot: true
2020
- description: Track time/action changes to files specified in configuration data.
21-
interval: 0
21+
interval: 300
2222
name: file_events
2323
platform: darwin
2424
query: file_events
2525
removed: false
2626
- description: The installed homebrew package database.
27-
interval: 0
27+
interval: 28800
2828
name: homebrew_packages_snapshot
2929
platform: darwin
3030
query: homebrew_packages_snapshot
3131
snapshot: true
3232
- description: List kernel extensions, their signing status, and their hashes (excluding
3333
extensions signed by Apple)
34-
interval: 0
34+
interval: 3600
3535
name: macosx_kextstat
3636
platform: darwin
3737
query: macosx_kextstat
3838
- description: Checks the MD5 hash of /etc/rc.common and records the results if
3939
the hash differs from the default value. /etc/rc.common can be used for persistence.
40-
interval: 0
40+
interval: 3600
4141
name: rc.common
4242
platform: darwin
4343
query: rc.common
4444
- description: Returns information about installed event taps. Can be used to detect
4545
keyloggers
46-
interval: 0
46+
interval: 300
4747
name: event_taps
4848
platform: darwin
4949
query: event_taps
5050
- description: LaunchAgents and LaunchDaemons from default search paths.
51-
interval: 0
51+
interval: 3600
5252
name: launchd
5353
platform: darwin
5454
query: launchd
5555
- description: Snapshot query for launchd
56-
interval: 0
56+
interval: 28800
5757
name: launchd_snapshot
5858
platform: darwin
5959
query: launchd_snapshot
6060
snapshot: true
6161
- description: Detect the presence of the LD_PRELOAD environment variable
62-
interval: 0
62+
interval: 60
6363
name: ld_preload
6464
platform: darwin
6565
query: ld_preload
6666
removed: false
6767
- description: USB devices that are actively plugged into the host system.
68-
interval: 0
68+
interval: 300
6969
name: usb_devices
7070
platform: darwin
7171
query: usb_devices
7272
- description: System mounted devices and filesystems (not process specific).
73-
interval: 0
73+
interval: 3600
7474
name: mounts
7575
platform: darwin
7676
query: mounts
7777
removed: false
7878
- description: Apple NVRAM variable listing.
79-
interval: 0
79+
interval: 3600
8080
name: nvram
8181
platform: darwin
8282
query: nvram
8383
removed: false
8484
- description: Line parsed values from system and user cron/tab.
85-
interval: 0
85+
interval: 3600
8686
name: crontab
8787
platform: darwin
8888
query: crontab
8989
- description: Hardware (PCI/USB/HID) events from UDEV or IOKit.
90-
interval: 0
90+
interval: 300
9191
name: hardware_events
9292
platform: darwin
9393
query: hardware_events
9494
removed: false
9595
- description: The installed homebrew package database.
96-
interval: 0
96+
interval: 3600
9797
name: homebrew_packages
9898
platform: darwin
9999
query: homebrew_packages
100100
- description: OS X applications installed in known search paths (e.g., /Applications).
101-
interval: 0
101+
interval: 3600
102102
name: installed_applications
103103
platform: darwin
104104
query: installed_applications
105105
- description: System logins and logouts.
106-
interval: 0
106+
interval: 3600
107107
name: last
108108
platform: darwin
109109
query: last
110110
removed: false
111111
- description: Snapshot query for macosx_kextstat
112-
interval: 0
112+
interval: 28800
113113
name: macosx_kextstat_snapshot
114114
platform: darwin
115115
query: macosx_kextstat_snapshot
116116
snapshot: true
117117
- description: Checks the MD5 hash of /etc/rc.common and records the results if
118118
the hash differs from the default value. /etc/rc.common can be used for persistence.
119-
interval: 0
119+
interval: 28800
120120
name: rc.common_snapshot
121121
platform: darwin
122122
query: rc.common_snapshot
123123
snapshot: true
124124
- description: Safari browser extension details for all users.
125-
interval: 0
125+
interval: 3600
126126
name: safari_extensions
127127
platform: darwin
128128
query: safari_extensions
129129
- description: suid binaries in common locations.
130-
interval: 0
130+
interval: 28800
131131
name: suid_bin
132132
platform: darwin
133133
query: suid_bin
134134
removed: false
135135
- description: Local system users.
136-
interval: 0
136+
interval: 28800
137137
name: users
138138
platform: darwin
139139
query: users
140140
- description: List authorized_keys for each user on the system
141-
interval: 0
141+
interval: 28800
142142
name: authorized_keys
143143
platform: darwin
144144
query: authorized_keys
145145
- description: Application, System, and Mobile App crash logs.
146-
interval: 0
146+
interval: 3600
147147
name: crashes
148148
platform: darwin
149149
query: crashes
150150
removed: false
151151
- description: Displays the percentage of free space available on the primary disk
152152
partition
153-
interval: 0
153+
interval: 3600
154154
name: disk_free_space_pct
155155
platform: darwin
156156
query: disk_free_space_pct
157157
snapshot: true
158158
- description: Retrieve the interface name, IP address, and MAC address for all
159159
interfaces on the host.
160-
interval: 0
160+
interval: 600
161161
name: network_interfaces_snapshot
162162
platform: darwin
163163
query: network_interfaces_snapshot
164164
snapshot: true
165165
- description: Information about EFI/UEFI/ROM and platform/boot.
166-
interval: 0
166+
interval: 28800
167167
name: platform_info
168168
platform: darwin
169169
query: platform_info
170170
removed: false
171171
- description: System uptime
172-
interval: 0
172+
interval: 1800
173173
name: uptime
174174
platform: darwin
175175
query: uptime
176176
snapshot: true
177177
- description: MD5 hash of boot.efi
178-
interval: 0
178+
interval: 28800
179179
name: boot_efi_hash
180180
platform: darwin
181181
query: boot_efi_hash
182182
- description: Snapshot query for Chrome extensions
183-
interval: 0
183+
interval: 28800
184184
name: chrome_extensions_snapshot
185185
platform: darwin
186186
query: chrome_extensions_snapshot
187187
- description: Snapshot query for installed_applications
188-
interval: 0
188+
interval: 28800
189189
name: installed_applications_snapshot
190190
platform: darwin
191191
query: installed_applications_snapshot
192192
snapshot: true
193193
- description: NFS shares exported by the host.
194-
interval: 0
194+
interval: 3600
195195
name: nfs_shares
196196
platform: darwin
197197
query: nfs_shares
198198
removed: false
199199
- description: List the version of the resident operating system
200-
interval: 0
200+
interval: 28800
201201
name: os_version
202202
platform: darwin
203203
query: os_version
204204
- description: Applications and binaries set as user/login startup items.
205-
interval: 0
205+
interval: 3600
206206
name: startup_items
207207
platform: darwin
208208
query: startup_items
209209
- description: All C/NPAPI browser plugin details for all users.
210-
interval: 0
210+
interval: 3600
211211
name: browser_plugins
212212
platform: darwin
213213
query: browser_plugins
214214
- description: List installed Firefox addons for all users
215-
interval: 0
215+
interval: 3600
216216
name: firefox_addons
217217
platform: darwin
218218
query: firefox_addons
219219
- description: Discover hosts that have IP forwarding enabled
220-
interval: 0
220+
interval: 28800
221221
name: ip_forwarding_enabled
222222
platform: darwin
223223
query: ip_forwarding_enabled
224224
removed: false
225225
- description: Platform info snapshot query
226-
interval: 0
226+
interval: 28800
227227
name: platform_info_snapshot
228228
platform: darwin
229229
query: platform_info_snapshot
230230
- description: Python packages installed in a system.
231-
interval: 0
231+
interval: 3600
232232
name: python_packages
233233
platform: darwin
234234
query: python_packages
235235
- description: List installed Chrome Extensions for all users
236-
interval: 0
236+
interval: 3600
237237
name: chrome_extensions
238238
platform: darwin
239239
query: chrome_extensions
240240
- description: Disk encryption status and information.
241-
interval: 0
241+
interval: 3600
242242
name: disk_encryption
243243
platform: darwin
244244
query: disk_encryption
245245
- description: Local system users.
246-
interval: 0
246+
interval: 28800
247247
name: users_snapshot
248248
platform: darwin
249249
query: users_snapshot
250250
- description: OS X known/remembered Wi-Fi networks list.
251-
interval: 0
251+
interval: 28800
252252
name: wireless_networks
253253
platform: darwin
254254
query: wireless_networks
255255
removed: false
256256
- description: Determine if the host is running the expected EFI firmware version
257257
given their Mac hardware and OS build version (https://github.com/duo-labs/EFIgy)
258-
interval: 0
258+
interval: 28800
259259
name: efigy
260260
platform: darwin
261261
query: efigy
262262
snapshot: true
263263
- description: List the contents of /etc/hosts
264-
interval: 0
264+
interval: 28800
265265
name: etc_hosts
266266
platform: darwin
267267
query: etc_hosts
268268
- description: Operating system version snapshot query
269-
interval: 0
269+
interval: 28800
270270
name: os_version_snapshot
271271
platform: darwin
272272
query: os_version_snapshot
273273
snapshot: true
274274
- description: Information about the resident osquery process
275-
interval: 0
275+
interval: 28800
276276
name: osquery_info
277277
platform: darwin
278278
query: osquery_info
279279
snapshot: true
280280
- description: Apple's System Integrity Protection (rootless) status.
281-
interval: 0
281+
interval: 3600
282282
name: sip_config
283283
platform: darwin
284284
query: sip_config
285285
- description: Returns the private keys in the users ~/.ssh directory and whether
286286
or not they are encrypted.
287-
interval: 0
287+
interval: 3600
288288
name: user_ssh_keys
289289
platform: darwin
290290
query: user_ssh_keys

0 commit comments

Comments
 (0)