Debian Codegraph @

data/database_servers.yaml

raw
1 # Database Server artifacts
2 ---
3 name: ElasticsearchAccessLog
4 doc: Location where Elasticsearch access logs are stored.
5 sources:
6 - type: FILE
7 attributes: {paths: ['/var/log/elasticsearch/*_access.log']}
8 supported_os: [Linux]
9 ---
10 name: ElasticsearchAuditLog
11 doc: Location where Elasticsearch audit logs are stored.
12 sources:
13 - type: FILE
14 attributes:
15 paths:
16 - '/var/log/elasticsearch/*_audit.json'
17 - '/var/log/elasticsearch/*_audit.log'
18 supported_os: [Linux]
19 urls: ['https://www.elastic.co/guide/en/elasticsearch/reference/current/audit-log-output.html']
20 ---
21 name: ElasticsearchGCLog
22 doc: Location where Elasticsearch GC logs are stored.
23 sources:
24 - type: FILE
25 attributes:
26 paths:
27 - '/var/log/elasticsearch/gc.log'
28 - '/var/log/elasticsearch/gc.log.[0-9]'
29 supported_os: [Linux]
30 urls: ['https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#gc-logging']
31 ---
32 name: ElasticsearchLogs
33 doc: Location where Elasticsearch logs are stored.
34 sources:
35 - type: FILE
36 attributes:
37 paths:
38 - '/var/log/elasticsearch/*.log'
39 - '/var/log/elasticsearch/*.json'
40 - '/var/log/elasticsearch/*.json.gz'
41 supported_os: [Linux]
42 ---
43 name: ElasticsearchServerLog
44 doc: Location where Elasticsearch server logs are stored.
45 sources:
46 - type: FILE
47 attributes:
48 paths:
49 - '/var/log/elasticsearch/*_server.json'
50 - '/var/log/elasticsearch/*-*.json'
51 - '/var/log/elasticsearch/*-*.json.gz'
52 supported_os: [Linux]
53 urls: ['https://www.elastic.co/guide/en/elasticsearch/reference/current/logging.html#loggin-configuration']
54 ---
55 name: MongoDBConfigurationFile
56 doc: MongoDB configuration file.
57 sources:
58 - type: FILE
59 attributes:
60 paths:
61 - '/usr/local/etc/mongod.conf'
62 - '/opt/homebrew/etc/mongod.conf'
63 supported_os: [Darwin]
64 - type: FILE
65 attributes:
66 paths: ['/etc/mongod.conf']
67 supported_os: [Linux]
68 supported_os: [Darwin, Linux]
69 urls: ['https://www.mongodb.com/docs/manual/reference/configuration-options/']
70 ---
71 name: MongoDBDatabasePath
72 doc: MongoDB database Path.
73 sources:
74 - type: FILE
75 attributes: {paths: ['/usr/local/var/mongodb/*']}
76 supported_os: [Darwin]
77 - type: PATH
78 attributes:
79 paths:
80 - '/data/db/*'
81 - '/var/lib/mongo/*'
82 - '/var/lib/mongodb/*'
83 supported_os: [Linux]
84 - type: FILE
85 attributes:
86 paths: ['\data\db\*']
87 separator: '\'
88 supported_os: [Windows]
89 supported_os: [Darwin, Linux, Windows]
90 urls: ['https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-storage.dbPath']
91 ---
92 name: MongoDBLogFiles
93 doc: MongoDB log files.
94 sources:
95 - type: FILE
96 attributes: {paths: ['/var/log/mongodb/mongod.log*']}
97 supported_os: [Linux]
98 ---
99 name: MySQLConfigurationFiles
100 doc: MySQL configuration files.
101 sources:
102 - type: FILE
103 attributes:
104 paths:
105 - '/etc/my.cnf'
106 - '/etc/mysql/mysql.conf.d/mysqld.cnf'
107 supported_os: [Linux]
108 ---
109 name: MySQLDataDictionary
110 doc: MySQL data dictionary.
111 sources:
112 - type: FILE
113 attributes: {paths: ['/var/lib/mysql/mysql.ibd']}
114 supported_os: [Linux]
115 urls: ['https://dev.mysql.com/doc/refman/8.0/en/data-dictionary-transactional-storage.html']
116 ---
117 name: MySQLDataDirectory
118 doc: MySQL data directory.
119 sources:
120 - type: FILE
121 attributes:
122 paths:
123 - '/var/lib/mysql/*'
124 - '/var/lib/mysql/*/*'
125 supported_os: [Linux]
126 urls:
127 - 'https://dev.mysql.com/doc/refman/8.0/en/data-directory.html'
128 - 'https://dev.mysql.com/doc/refman/8.0/en/innodb-architecture.html'
129 ---
130 name: MySQLLogFiles
131 doc: MySQL log files.
132 sources:
133 - type: FILE
134 attributes:
135 paths:
136 - '/var/log/mysql/error.log*'
137 - '/var/log/mysql.log*'
138 - '/var/log/*.log*'
139 supported_os: [Linux]
140 ---
141 name: OpenSearchLogFiles
142 doc: OpenSearch log files.
143 sources:
144 - type: FILE
145 attributes:
146 paths:
147 - '/var/log/opensearch/*.log'
148 - '/var/log/opensearch/*.json'
149 supported_os: [Linux]
150 urls: ['https://opensearch.org/docs/latest/opensearch/logs/']
151 ---
152 name: PostgreSQLConfigurationFiles
153 doc: PostgreSQL configuration files.
154 sources:
155 - type: FILE
156 attributes:
157 paths:
158 - '/etc/postgresql/*/*/postgresql.conf'
159 - '/etc/postgresql/*/*/pg_hba.conf'
160 - '/etc/postgresql/*/*/pg_ident.conf'
161 - '/var/lib/pgsql/postgresql.conf'
162 - '/var/lib/pgsql/pg_hba.conf'
163 - '/var/lib/pgsql/pg_ident.conf'
164 - '/var/lib/pgsql/data/postgresql.conf'
165 - '/var/lib/pgsql/data/pg_hba.conf'
166 - '/var/lib/pgsql/data/pg_ident.conf'
167 supported_os: [Linux]
168 urls:
169 - 'https://www.postgresql.org/docs/current/runtime-config-file-locations.html'
170 - 'https://docs.fedoraproject.org/en-US/quick-docs/postgresql/'
171 - 'https://wiki.debian.org/PostgreSql'
172 ---
173 name: PostgreSQLDataDirectory
174 doc: PostgreSQL data directory.
175 sources:
176 - type: FILE
177 attributes:
178 paths:
179 - '/var/lib/pgsql/data/*'
180 - '/var/lib/pgsql/data-old/*'
181 - '/var/lib/pgsql/*/*'
182 - '/var/lib/postgresql/*/main/*/*'
183 supported_os: [Linux]
184 urls:
185 - 'https://www.postgresql.org/docs/current/storage-file-layout.html'
186 - 'https://docs.fedoraproject.org/en-US/quick-docs/postgresql/'
187 - 'https://wiki.debian.org/PostgreSql'
188 ---
189 name: PostgreSQLLogFiles
190 doc: PostgreSQL log files.
191 sources:
192 - type: FILE
193 attributes:
194 paths:
195 - '/var/log/postgresql/postgresql.log*'
196 - '/var/log/postgresql/postgresql.csv*'
197 - '/var/log/postgresql/postgresql-*.log*'
198 - '/var/log/postgresql/postgresql-*.csv*'
199 - '/var/log/postgresql/postgresql-*-*.log*'
200 - '/var/log/postgresql/postgresql-*-*.csv*'
201 - '/var/lib/pgsql/data/log/postgresql.log*'
202 - '/var/lib/pgsql/data/log/postgresql.csv*'
203 - '/var/lib/pgsql/data/log/postgresql-*.log*'
204 - '/var/lib/pgsql/data/log/postgresql-*.csv*'
205 - '/var/lib/pgsql/data/log/postgresql-*-*.log*'
206 - '/var/lib/pgsql/data/log/postgresql-*-*.csv*'
207 supported_os: [Linux]
208 urls: ['https://www.postgresql.org/docs/14/runtime-config-logging.html']
209 ---
210 name: RedisConfigurationFile
211 doc: Redis configuration files.
212 sources:
213 - type: FILE
214 attributes:
215 paths:
216 - '/etc/redis/*'
217 - '/etc/init.d/redis_*'
218 supported_os: [Linux]
219 ---
220 name: RedisDataDirectory
221 doc: Redis Data Directory.
222 sources:
223 - type: FILE
224 attributes:
225 paths:
226 - '/var/redis/*'
227 - '/var/redis/*/*'
228 supported_os: [Linux]
229 ---
230 name: RedisLogFiles
231 doc: Redis log files.
232 sources:
233 - type: FILE
234 attributes:
235 paths:
236 - '/var/log/redis/redis*.log*'
237 - '/var/log/redis*.log*'
238 supported_os: [Linux]