Ben McClelland
f57df72518
Merge pull request #588 from versity/bypass-governance-retention
...
Object lock BypassGovernanceRetention
2024-05-28 12:41:28 -07:00
jonaustin09
9e8458a09f
feat: Added integration tests for bypass governance retention functionality
2024-05-28 15:17:25 -04:00
Luke McCrone
da6f3bccce
test: multipart test with parameters, range tests
2024-05-28 13:23:43 -03:00
jonaustin09
fb27e2703e
feat: Implemented to logic to bypass governance retention
2024-05-24 13:50:41 -04:00
Luke McCrone
1168195b0c
test: comment out retention test until bypass implemented
2024-05-23 18:26:53 -03:00
jonaustin09
6fb102056d
fix: Changed WORM protection implementation to prevent root/admin users to overwrite objects in governance mode or if legal hold is set up
2024-05-23 16:56:21 -04:00
Ben McClelland
f9152eeb78
Merge pull request #584 from versity/test_cmdline_attributes
...
Test cmdline attributes
2024-05-22 14:23:10 -07:00
jonaustin09
43f509d971
fix: Added missing properties support for CreateMultipartUpload action: ContentType, ObjectLock, Tagging, Metadata
2024-05-22 12:16:55 -07:00
Luke McCrone
ea7d020ec8
test: attributes, object locking, legal hold, retention
2024-05-22 15:54:24 -03:00
jonaustin09
8eac24c78c
fix: Changed bucket policy document validation to handle object containing 'AWS' prop in principal field
2024-05-21 10:48:38 -04:00
Ben McClelland
069ff181d6
Merge pull request #578 from versity/fix/566-getobject-by-range-resp-status
...
GetObject by range success response status code
2024-05-20 13:36:43 -07:00
jonaustin09
e38c63448d
fix: Changed GetObject by range success status code from 200 to 206
2024-05-20 14:48:02 -04:00
jonaustin09
b971467446
fix: Changed the logic to return BucketAlreadyOwnedByYou error when user tries to create an existing bucket owned by him
2024-05-20 12:07:33 -04:00
Ben McClelland
28f901ef0e
Merge pull request #576 from versity/fix/560-put-obj-legal-hold-status-validation
...
PutObjectLegalHold status validation
2024-05-17 10:01:07 -07:00
jonaustin09
4bde84eafd
fix: Added status property validation for PutObjectLegalHold action
2024-05-17 12:39:27 -04:00
Jon Austin
fa9635e6fa
Merge branch 'main' into fix/559-put-obj-retention-mode-validation
2024-05-17 20:07:46 +04:00
jonaustin09
6d313f5a72
fix: Added mode property validation for PutObjectRetention action
2024-05-17 11:53:25 -04:00
jonaustin09
f4cc93f00d
fix: Added validation for PubObjectLockConfiguration action ObjectLockEnabled and Mode fields
2024-05-17 09:50:23 -04:00
Ben McClelland
bb1a598842
Merge pull request #573 from versity/fix/557-put-object-lock-cfg-years-days-validation
...
PutObjectLockConfiguration days & years validation
2024-05-16 14:43:37 -07:00
jonaustin09
c7bb2f286a
fix: Fixes #557 , Added years and days validation in PutObjectLockConfiguration action
2024-05-16 17:31:39 -04:00
Luke McCrone
9f3990b0f6
test: versioning, acls work, more cleanup
2024-05-16 17:55:32 -03:00
jonaustin09
fab1ddb86e
fix: Fixes #556 , Changed errors from InvalidRequest to MalformedXML when calling PutObjectLockConfiguration with invalid request body or both days and years specified
2024-05-16 11:59:03 -04:00
jonaustin09
5acf1f332a
fix: Fixes #555 , Added the logic to return InvalidBucketState when calling PutObjectLockConfiguration action on not object lock enabled bucket
2024-05-16 11:30:35 -04:00
Ben McClelland
f722f515ae
chore: add missing copyright headers to files
2024-05-06 16:16:31 -07:00
Ben McClelland
06b2beb16a
Merge pull request #547 from versity/head-object-mp
...
HeadObject action multipart upload case
2024-05-04 09:32:23 -07:00
jonaustin09
481c9246c6
feat: HeadObject ation multipart upload case
2024-05-03 18:10:32 -04:00
Luke McCrone
0009845acd
test: get, copy, put, etc. s3api additions, cleanup
2024-05-03 13:07:53 -03:00
Luke McCrone
096f370322
test: changes due to policy, tag changes
2024-05-02 15:26:17 -07:00
jonaustin09
b4cd35f60b
feat: error refactoring and enable object lock in backends
...
Added support to enable object lock on bucket creation in posix and azure
backends.
Implemented the logic to add object legal hold and retention on object creation
in azure and posix backends.
Added the functionality for HeadObject to return object lock related headers.
Added integration tests for these features.
2024-05-02 15:23:48 -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
Luke McCrone
60e4a07e65
test: policy
2024-04-29 21:01:27 -03: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
Ben McClelland
dd7de194f9
Merge pull request #538 from versity/test_cmdline_more_tests
...
Test cmdline more tests
2024-04-25 13:16:42 -07:00
Luke McCrone
ec53605ea3
test: delete tags, get location, some reorganization
2024-04-25 15:40:23 -03:00
jonaustin09
00476ef70c
feat: Closes #490 , Added integration tests for object lock actions
2024-04-22 13:13:40 -07:00
Luke McCrone
2a072e1580
test: tags, metadata tests, docker, test config cleanup
2024-04-22 15:44:46 -03:00
jonaustin09
84ce40fb54
fix: Fixes #487 , added response headers for HeadBucket action
2024-04-18 13:27:45 -04:00
Luke McCrone
f08ccacd0f
test: s3cmd user, fix for non-bucket creating testing
2024-04-17 15:24:01 -03:00
Luke McCrone
0a74509d00
test: initial users tests (admin, userplus, user)
2024-04-12 22:33:38 -03:00
Ben McClelland
17b1dbe025
fix: return non 0 exit status for cli admin error
...
Fixes #505 . This returns the body as an error when the http status
for the admin request is non-success.
2024-04-08 17:29:02 -07:00
Luke McCrone
87aee2bcf8
test: bucket info, invalid name, parameter tests
2024-04-05 14:01:12 -03:00
Luke McCrone
12ac266e70
test: file count (pagination), delimiter, invalid bucket name
2024-04-01 13:56:10 -03:00
Ben McClelland
fcf0f4cf68
Merge pull request #480 from versity/access-control-tests
...
Access control integration tests
2024-03-28 12:28:53 -07:00
jonaustin09
e6203c5765
feat: Closes #441 , Added access control integration tests, fixed some bugs in bucket policy and acl access checking flow
2024-03-28 14:52:56 -04:00
Luke McCrone
9fd22ca8e7
test: presign work, s3 backend testing
2024-03-26 20:36:26 -03:00
Ben McClelland
4d02ac21c5
Merge pull request #460 from versity/bucket-policies
...
Bucket Policy
2024-03-25 15:19:46 -07:00
jonaustin09
754c221c4d
feat: Added bucket policy access verifier function implementation. Changed the default behaviour of bucket ACLs. Fixed the supported actions list for bucket policy. Implemented Copy* actions access checker function
2024-03-25 16:00:35 -04:00
jonaustin09
af641e5368
feat: Added integration test cases for Put/Get/DeleteBucketPolicy actions. Made some bug fixes in these actions implementations
2024-03-20 17:31:52 -04:00
jonaustin09
b9ed7cb8f0
feat: Added a presigned v4 authentication integration test case to put/get object containing utf-8 characters
2024-03-20 14:45:48 -04:00
Luke McCrone
3986d74e10
test: mc multipart upload, test coverage
2024-03-18 13:20:04 -03:00