Provides the WazuhAgentGcpBucketBucketConfiguration which allows to parse the
bucket subsection of the gcp-bucket section of the Wazuh local configuration (ossec.conf).
- class WazuhAgentGcpBucketBucketConfiguration(**kwargs)#
Bases:
objectObject representation of an agent’s gcp-bucket.bucket configuration section.
Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/gcp-bucket.html#bucket
- bucket: str#
Name of the Google Cloud Storage bucket from which logs are read.
- credentials_file: str#
Path to the Google Cloud credentials file. It can be an absolute path or relative to WAZUH_HOME.
- only_logs_after: str | None#
Optional date in the format YYYY-MM-DD. Presence of this value implies that only logs from after the specified date will be collected.
- prefix: str | None#
Bucket path or prefix.
- type: str | None#
Specifies the type of bucket.