Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSFS | S3 | Lifecycle: Expiration Date in the past gets accepted #8551

Open
nhaustein opened this issue Nov 21, 2024 · 0 comments
Open

NSFS | S3 | Lifecycle: Expiration Date in the past gets accepted #8551

nhaustein opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels

Comments

@nhaustein
Copy link

nhaustein commented Nov 21, 2024

Environment info

  • NooBaa Version: noobaa-core-5.17.1-20241104.el9.x86_64
  • Platform: RHEL 9.2 x86

Actual behavior

  1. The expiration date in the past is getting accepted, example of the lifecycle rule which gets accepted:

{
"Rules": [
{
"ID": "Expiration-date",
"Status": "Enabled",
"Filter": {
"Prefix": "small"
},
"Expiration": { "Date": "2024-01-01T00:00:00.000Z" }
}
]
}

Expected behavior

  1. If expiration date is in the past relative to current date the lifecycle rule should get rejected.

Steps to reproduce

  1. Please use the lifecycle rule above to recreate it.

More information - Screenshots / Logs / Other output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants