-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added database server artifact definitions (#510)
- Loading branch information
Showing
1 changed file
with
253 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,253 @@ | ||
# Database Server artifacts | ||
--- | ||
name: ElasticSearchLogs | ||
doc: Location where ElasticSearch logs are stored. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- '/var/log/elasticsearch/*.log' | ||
- '/var/log/elasticsearch/*.json' | ||
- '/var/log/elasticsearch/*.json.gz' | ||
supported_os: [Linux] | ||
--- | ||
name: ElasticSearchAccessLog | ||
doc: Location where ElasticSearch access logs are stored. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- '/var/log/elasticsearch/*_access.log' | ||
supported_os: [Linux] | ||
--- | ||
name: ElasticSearchAuditLog | ||
doc: Location where ElasticSearch audit logs are stored. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- '/var/log/elasticsearch/*_audit.json' | ||
- '/var/log/elasticsearch/*_audit.log' | ||
supported_os: [Linux] | ||
urls: | ||
- https://www.elastic.co/guide/en/elasticsearch/reference/current/audit-log-output.html | ||
--- | ||
name: ElasticSearchGCLog | ||
doc: Location where ElasticSearch GC logs are stored. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- '/var/log/elasticsearch/gc.log' | ||
- '/var/log/elasticsearch/gc.log.[0-9]' | ||
supported_os: [Linux] | ||
urls: | ||
- https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#gc-logging | ||
--- | ||
name: ElasticSearchServerLog | ||
doc: Location where ElasticSearch server logs are stored. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- '/var/log/elasticsearch/*_server.json' | ||
- '/var/log/elasticsearch/*-*.json' | ||
- '/var/log/elasticsearch/*-*.json.gz' | ||
supported_os: [Linux] | ||
urls: | ||
- https://www.elastic.co/guide/en/elasticsearch/reference/current/logging.html#loggin-configuration | ||
--- | ||
name: MongoDBConfigurationFile | ||
doc: MongoDB configuration file. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /etc/mongod.conf | ||
supported_os: [Linux] | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /usr/local/etc/mongod.conf | ||
- /opt/homebrew/etc/mongod.conf | ||
supported_os: [Darwin] | ||
supported_os: [Darwin, Linux] | ||
urls: | ||
- 'https://www.mongodb.com/docs/manual/reference/configuration-options/' | ||
--- | ||
name: MongoDBLogFiles | ||
doc: MongoDB log files. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /var/log/mongodb/mongod.log* | ||
supported_os: [Linux] | ||
--- | ||
name: MongoDBDatabasePath | ||
doc: MongoDB database Path. | ||
sources: | ||
- type: PATH | ||
attributes: | ||
paths: | ||
- /data/db/* | ||
- /var/lib/mongo/* | ||
- /var/lib/mongodb/* | ||
supported_os: [Linux] | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /usr/local/var/mongodb/* | ||
supported_os: [Darwin] | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- \data\db\* | ||
separator: '\' | ||
supported_os: [Windows] | ||
supported_os: [Darwin, Linux, Windows] | ||
urls: | ||
- 'https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-storage.dbPath' | ||
--- | ||
name: MySQLConfigurationFiles | ||
doc: MySQL configuration files. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /etc/my.cnf | ||
- /etc/mysql/mysql.conf.d/mysqld.cnf | ||
supported_os: [Linux] | ||
--- | ||
name: MySQLLogFiles | ||
doc: MySQL log files. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /var/log/mysql/error.log* | ||
- /var/log/mysql.log* | ||
- /var/log/*.log* | ||
supported_os: [Linux] | ||
--- | ||
name: MySQLDataDictionary | ||
doc: MySQL data dictionary. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /var/lib/mysql/mysql.ibd | ||
supported_os: [Linux] | ||
urls: | ||
- 'https://dev.mysql.com/doc/refman/8.0/en/data-dictionary-transactional-storage.html' | ||
--- | ||
name: MySQLDataDirectory | ||
doc: MySQL data directory. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /var/lib/mysql/* | ||
- /var/lib/mysql/*/* | ||
supported_os: [Linux] | ||
urls: | ||
- 'https://dev.mysql.com/doc/refman/8.0/en/data-directory.html' | ||
- 'https://dev.mysql.com/doc/refman/8.0/en/innodb-architecture.html' | ||
--- | ||
name: OpenSearchLogFiles | ||
doc: OpenSearch log files. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /var/log/opensearch/*.log | ||
- /var/log/opensearch/*.json | ||
supported_os: [Linux] | ||
urls: | ||
- 'https://opensearch.org/docs/latest/opensearch/logs/' | ||
--- | ||
name: PostgreSQLConfigurationFiles | ||
doc: PostgreSQL configuration files. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /etc/postgresql/*/main/postgresql.conf | ||
- /etc/postgresql/*/main/pg_hba.conf | ||
- /etc/postgresql/*/main/pg_ident.conf | ||
- /var/lib/pgsql/postgresql.conf | ||
- /var/lib/pgsql/pg_hba.conf | ||
- /var/lib/pgsql/pg_ident.conf | ||
- /var/lib/pgsql/data/postgresql.conf | ||
- /var/lib/pgsql/data/pg_hba.conf | ||
- /var/lib/pgsql/data/pg_ident.conf | ||
supported_os: [Linux] | ||
urls: | ||
- 'https://www.postgresql.org/docs/current/runtime-config-file-locations.html' | ||
- 'https://docs.fedoraproject.org/en-US/quick-docs/postgresql/' | ||
--- | ||
name: PostgreSQLDataDirectory | ||
doc: PostgreSQL data directory. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /var/lib/pgsql/data/* | ||
- /var/lib/pgsql/data-old/* | ||
- /var/lib/pgsql/*/* | ||
supported_os: [Linux] | ||
urls: | ||
- 'https://www.postgresql.org/docs/current/storage-file-layout.html' | ||
- 'https://docs.fedoraproject.org/en-US/quick-docs/postgresql/' | ||
--- | ||
name: PostgreSQLLogFiles | ||
doc: PostgreSQL log files. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /var/log/postgresql/postgresql.log* | ||
- /var/log/postgresql/postgresql.csv* | ||
- /var/log/postgresql/postgresql-*.log* | ||
- /var/log/postgresql/postgresql-*.csv* | ||
- /var/log/postgresql/postgresql-*-*.log* | ||
- /var/log/postgresql/postgresql-*-*.csv* | ||
- /var/lib/pgsql/data/log/postgresql.log* | ||
- /var/lib/pgsql/data/log/postgresql.csv* | ||
- /var/lib/pgsql/data/log/postgresql-*.log* | ||
- /var/lib/pgsql/data/log/postgresql-*.csv* | ||
- /var/lib/pgsql/data/log/postgresql-*-*.log* | ||
- /var/lib/pgsql/data/log/postgresql-*-*.csv* | ||
supported_os: [Linux] | ||
urls: | ||
- 'https://www.postgresql.org/docs/14/runtime-config-logging.html' | ||
--- | ||
name: RedisConfigurationFile | ||
doc: Redis configuration files. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /etc/redis/* | ||
- /etc/init.d/redis_* | ||
supported_os: [Linux] | ||
--- | ||
name: RedisLogFiles | ||
doc: Redis log files. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /var/log/redis/redis*.log* | ||
- /var/log/redis*.log* | ||
supported_os: [Linux] | ||
--- | ||
name: RedisDataDirectory | ||
doc: Redis Data Directory. | ||
sources: | ||
- type: FILE | ||
attributes: | ||
paths: | ||
- /var/redis/* | ||
- /var/redis/*/* | ||
supported_os: [Linux] |