# Webserver related artifacts.
---
name: ApacheAccessLogs
doc: Location where Apache access logs are stored
sources:
- type: FILE
  attributes:
    paths:
    - '/var/log/apache/access_log*'
    - '/var/log/apache/access.log*'
    - '/var/log/apache2/access_log*'
    - '/var/log/apache2/access.log*'
    - '/var/log/apache2/other_vhosts_access_log*'
    - '/var/log/apache2/other_vhosts_access.log*'
    - '/var/log/httpd/access_log*'
    - '/var/log/httpd/access.log*'
  supported_os: [Linux]
- type: FILE
  attributes:
    paths: ['%%environ_systemdrive%%\**6\logs\access.log*']
    separator: '\'
  supported_os: [Windows]
supported_os: [Linux, Windows]
---
name: ApacheConfigurationFolder
doc: Location where Apache keeps configuration files
sources:
- type: FILE
  attributes:
    paths:
    - '/etc/apache2/*.conf'
    - '/etc/httpd/*.conf'
    - '/etc/httpd/conf.d/*.conf'
    - '/etc/httpd/conf.modules.d/*.conf'
supported_os: [Linux]
---
name: ApacheDefaultSiteConfigurationFile
doc: Location where Apache keeps the default site configuration file.
sources:
- type: FILE
  attributes: {paths: ['/etc/apache2/sites-available/000-default.conf']}
supported_os: [Linux]
---
name: ApacheErrorLogs
doc: Location where Apache error logs are stored
sources:
- type: FILE
  attributes:
    paths:
    - '/var/log/apache/error*'
    - '/var/log/apache/error.log*'
    - '/var/log/apache2/error*'
    - '/var/log/apache2/error.log*'
    - '/var/log/httpd/error*'
    - '/var/log/httpd/error.log*'
  supported_os: [Linux]
- type: FILE
  attributes:
    paths: ['%%environ_systemdrive%%\**6\logs\error.log*']
    separator: '\'
  supported_os: [Windows]
supported_os: [Linux, Windows]
---
name: NginxAccessLogs
doc: Location where nginx access logs are stored
sources:
- type: FILE
  attributes: {paths: ['/var/log/nginx/access.log*']}
  supported_os: [Linux]
- type: FILE
  attributes:
    paths: ['%%environ_systemdrive%%\nginx\logs\*.log*']
    separator: '\'
  supported_os: [Windows]
supported_os: [Linux, Windows]
---
name: NginxErrorLogs
doc: Location where nginx error logs are stored
sources:
- type: FILE
  attributes: {paths: ['/var/log/nginx/error.log*']}
supported_os: [Linux]
---
name: WordpressConfigFile
doc: WordPress configuration file
sources:
- type: FILE
  attributes:
    paths:
    - '/private/var/www/**/wp-config.php'
    - '/private/var/www/wp-config.php'
    - '/var/www/**/wp-config.php'
    - '/var/www/wp-config.php'
    - '/wp/wp-config.php'
supported_os: [Linux, Darwin]
---
name: MicrosoftIISLogs
doc: Internet Information Services (IIS) web server's log files.
sources:
- type: FILE
  attributes:
    paths:
    - '%%environ_systemdrive%%\inetpub\logs\LogFiles\*.log'
    - '%%environ_systemdrive%%\inetpub\logs\LogFiles\W3SVC*\*.log'
    - '%%environ_systemdrive%%\Resources\Directory\*\LogFiles\Web\W3SVC*\*.log'
    - '%%environ_systemroot%%\System32\LogFiles\W3SVC*\*.log'
    separator: '\'
supported_os: [Windows]
