jonaustin09
06e2f2183d
fix: Changes GetObjectAttributes action xml encoding root element to GetObjectAttributesResponse. Adds input validation for x-amz-object-attributes header. Adds x-amz-delete-marker and x-maz-version-id headers for GetObjectAttributes action. Adds VersionId in HeadObject response, if it's not specified in the request
2024-10-30 15:42:15 -04:00
jonaustin09
3b903f6044
fix: Fixes max-parts, max-keys, max-uploads validation defaulting to 1000
2024-10-22 14:28:50 -04:00
jonaustin09
600aca8bdc
fix: Fixed the request uri path escape to support object key special characters
2024-09-17 13:28:30 -04:00
Jon Austin
d79f978df9
feat: Added the standard storage class to all the available get/list actions responses in posix. ( #765 )
2024-08-27 15:28:40 -07:00
jonaustin09
7545e6236c
feat: Implement bucket ownership controls
...
Bucket ACLs are now disabled by default the same as AWS.
By default the object ownership is BucketOwnerEnforced
which means that bucket ACLs are disabled. If one attempts
to set bucket ACL the following error is returned both in
the gateway and on AWS:
ErrAclNotSupported: {
Code: "AccessControlListNotSupported",
Description: "The bucket does not allow ACLs",
HTTPStatusCode: http.StatusBadRequest,
},
ACls can be enabled with PutBucketOwnershipControls
Changed bucket canned ACL translation
New backend interface methods:
PutBucketOwnershipControls
GetBucketOwnershipControls
DeleteBucketOwnershipControls
Added these to metrics
2024-06-28 21:03:09 -07:00
jonaustin09
43f509d971
fix: Added missing properties support for CreateMultipartUpload action: ContentType, ObjectLock, Tagging, Metadata
2024-05-22 12:16:55 -07:00
Ben McClelland
3fc8956baf
fix: increase valid timestampe window from 1 to 15 minutes
...
According to:
https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html#RESTAuthenticationTimeStamp
The valid time wondow for authenticated requests is 15 minutes,
and when outside of that window should return RequestTimeTooSkewed.
2024-05-01 13:56:34 -07:00
jonaustin09
0c3771ae2d
feat: Added GetObjectAttributes actions implementation in posix, azure and s3 backends. Added integration tests for GetObjectAttributes action
2024-04-29 15:31:53 -04:00
jonaustin09
fbaba0b944
feat: Added object WORM protection by object-lock feature from AWS with the following actions support: PutObjectLockConfiguration, GetObjectLockConfiguration, PutObjectRetention, GetObjectRetention, PutObjectLegalHold, GetObjectLegalHold
2024-04-22 13:13:40 -07:00
Ben McClelland
dac69caac3
fix: escape path and query for presign signature validation
...
fixes #462
2024-03-18 15:16:17 -07:00
Ben McClelland
b555c92940
fix: include all request signed headers in signature canonical string
...
Fixes #457 . There are some buggy clients that include headers not
actually set on the request in the signed headers list. For these
we need to include them in the signature canoncal string with
empty values.
2024-03-14 09:56:36 -07:00
jonaustin09
e21e514997
feat: Added 20 integration tests for v4 authentication with query params. Fixed few bugs in v4 query params authentication
2024-02-12 16:31:01 -05:00
jonaustin09
be17b3fd33
feat: Closes #355 . Added support for presigned URLs, particularly v4 authentication with query params
2024-02-07 09:17:35 -05:00
Ben McClelland
ba501e482d
feat: steaming requests for put object and put part
...
This builds on the previous work that sets up the body streaming
for the put object and put part requests. This adds the auth and
checksum readers to postpone the v4auth checks and the content
checksum until the end of the body stream.
This means that the backend with start reading the data from the
body stream before the request is fully validated and signatures
checked. So the backend must check the error returned from the
body reader for the final auth and content checks. The backend
is expected to discard the data upon error.
This should increase performance and reduce memory utilization
to no longer require caching the entire request body in memory
for put object and put part.
2023-12-14 19:19:46 -08:00
jonaustin09
27eb43d089
feat: Closes #290 , implemented request body stream reading for PutObject and UploadPart actions.
2023-12-14 18:27:51 -08:00
jonaustin09
9d813def54
fix: Fixes 275, Changed the gateway request URL encoding, to accept some more special characters
2023-10-06 15:51:38 -04:00
jonaustin09
856d79d385
fix: Fixes #274 , Fixed putting and getting object metadata case normalization issue
2023-10-05 15:33:03 -04:00
jonaustin09
a67a2e5c8f
fix: Fixes #249 , Changed ListObjects default max-keys from -1 to 1000
2023-09-23 21:03:54 -07:00
jonaustin09
cb2f6a87aa
fix: Fixes #207 , Fixes #198 : added lexicographical order by object key and uploadId for ListMultipartUploads response, Added FE support to pass the necessary arguments to BE for ListMultipartUploads
2023-09-01 15:33:58 -04:00
jonaustin09
dde13ddc9a
fix: Fixes #183 . Added a validation for max-keys for ListObjects/ListObjectsV2
2023-08-03 20:47:34 +04:00
Jon Austin
77080328c1
Issue 156 ( #167 )
...
* fix: Fixes #156 , Added bucket name validation on bucket creation
2023-07-27 11:04:50 -07:00
Ben McClelland
002c427e7d
fix signature check when content length not included
2023-06-07 08:37:14 -07:00
Ben McClelland
1717d45664
fix: v4 auth signature to only use specified signed headers
2023-06-06 13:28:17 -07:00
Jon Austin
83b494a91f
feat: Head object response serialization ( #58 )
2023-06-06 08:41:47 -07:00
Ben McClelland
b6f3ea3350
fix upload from aws cli
2023-06-05 11:38:52 -07:00
jonaustin09
04bbe61826
fix: Removed root user flags
2023-06-01 00:16:01 +04:00
jonaustin09
f174308e3f
fix: Merge conflicts resolved
2023-05-31 22:41:52 +04:00
jonaustin09
ecd28bc2f7
feat: Completed SigV4 authentication for the root user
2023-05-31 22:20:58 +04:00
jonaustin09
510cf6ed57
feat: Added root user flags on application start
2023-05-31 15:26:19 +04:00
Ben McClelland
5cbcf0c900
add copyright headers to source files
2023-05-28 14:38:45 -07:00
jonaustin09
09d42c92fd
feat: Changed PutObject argument list, added used defined metadata and content length
2023-05-24 15:18:37 +04:00