Skip to content

Commit 8093d3f

Browse files
committed
feat: add new axosyslog s3 fields
Signed-off-by: Bence Csati <[email protected]>
1 parent 7f64da9 commit 8093d3f

File tree

1 file changed

+14
-0
lines changed
  • pkg/sdk/logging/model/syslogng/output

1 file changed

+14
-0
lines changed

pkg/sdk/logging/model/syslogng/output/s3.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ type S3Output struct {
7171
AccessKey *secret.Secret `json:"access_key,omitempty"`
7272
// The secret_key for the S3 server.
7373
SecretKey *secret.Secret `json:"secret_key,omitempty"`
74+
// The role for the S3 server.
75+
Role string `json:"role,omitempty"`
7476
// The object_key for the S3 server.
7577
ObjectKey string `json:"object_key,omitempty"`
7678
// Set object_key_timestamp
@@ -93,10 +95,22 @@ type S3Output struct {
9395
FlushGracePeriod int `json:"flush_grace_period,omitempty"`
9496
// Set the region option.
9597
Region string `json:"region,omitempty"`
98+
// You can use the server-side-encryption() and kms-key() options to configure encryption. Currently only server-side-encryption("aws:kms") is supported.
99+
// Available in AxoSyslog 4.8 and later.
100+
ServerSideEncryption string `json:"server_side_encryption,omitempty"`
101+
// The kms-key() used for server-side encryption. The value of the kms-key() parameter must be one of the following:
102+
// The ID of a key.
103+
// An alias of a key. In that case, make sure to add the alias/prefix, for example: kms-key("alias/log-archive")
104+
// The ARN of a key.
105+
// Available in AxoSyslog 4.8 and later.
106+
KmsKey string `json:"kms_key,omitempty"`
96107
// Set the storage_class option.
97108
StorageClass string `json:"storage_class,omitempty"`
98109
// Set the canned_acl option.
99110
CannedAcl string `json:"canned_acl,omitempty"`
111+
// The content-type of the HTTP request.
112+
// Defaults to "application/octet-stream".
113+
ContentType string `json:"content_type,omitempty"`
100114
// The number of messages that the output queue can store.
101115
LogFIFOSize int `json:"log-fifo-size,omitempty"`
102116
// Persistname

0 commit comments

Comments
 (0)