Skip to content

Commit 21be7a6

Browse files
authored
Add README to lib/ (#64)
1 parent 1e255d7 commit 21be7a6

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

lib/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# `lib/`
2+
3+
This folder is for files referenced by `path` in Fleet config YAML.
4+
5+
This can reduce duplication for policies, scripts, and other config that is the same across multiple teams in Fleet Premium.
6+
7+
### Examples
8+
9+
##### Policies
10+
11+
```yaml
12+
# default.yml
13+
policies:
14+
- path: ./lib/macos-device-health.policies.yml
15+
```
16+
17+
##### Queries
18+
19+
```yaml
20+
# default.yml
21+
queries:
22+
- path: ./lib/collect-usb-devices.queries.yml
23+
```
24+
25+
##### Scripts
26+
27+
```yaml
28+
# default.yml
29+
controls:
30+
scripts:
31+
- path: ./lib/remove-zoom-artifacts.script.sh
32+
```
33+
34+
##### Agent options
35+
36+
```yaml
37+
# default.yml
38+
agent_options:
39+
path: ./lib/agent-options.yml
40+
```

0 commit comments

Comments
 (0)