This repository has been archived by the owner on Dec 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config_template.yaml
49 lines (38 loc) · 1.83 KB
/
config_template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
# The URL for your GhostWriter instance (e.g., "https://ghostwriter.example.com")
gw_url: ""
# The ID number of the GhostWriter Oplog where entries will be recorded. This can be found in the Oplog URL
# Example: "<gw_url>/oplog/<gw_oplog_id>/entries"
gw_oplog_id: 0
# One of the following GhostWriter API keys MUST be specified; if both are specified, terminal_sync
# will default to using the GraphQL API
# A GhostWriter GraphQL API key. To generate:
# 1. Login to GhostWriter
# 2. Click on your user profile icon in the upper-right corner
# 3. Scroll down to the **API Tokens** section and click **Create**
# 4. Provide a name and expiration date, then click **Submit**
gw_api_key_graphql:
# A GhostWriter REST API key. This key is generated when, and only when, a new Oplog is created
gw_api_key_rest:
# Anything appearing after this token in a shell command will be logged to the entry's Description field
# It must begin with a "#" so that Bash and PowerShell will interpret it and everything that follows as a comment
# Note: Including this token will force any command where it is provided to be logged
#gw_description_token: "#desc"
# Name/identifier of the user creating the log entries
#operator:
# The directory where JSON log files are written
#termsync_json_log_dir: "log_archive"
# List of keywords that will trigger logging a command to GhostWriter
# The `gw_description_token` is automatically added to this list
termsync_keywords:
- aws
- kubectl
- proxychains
# The host address where the server will bind
#termsync_listen_host: "127.0.0.1"
# The host port where the server will bind
#termsync_listen_port: 8000
# Whether to save all logs using the JSON file (will incur a performance penalty)
#termsync_save_all_local: no
# The number of seconds the server will wait for a response from GhostWriter
#termsync_timeout_seconds: 3