-
Notifications
You must be signed in to change notification settings - Fork 129
[cleanup] Fix creation date tag for buckets #1742
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,17 +40,18 @@ scanners: | |
| - us-east-1 | ||
| filters: | ||
| - type: "<" | ||
| pointer: "/created_at" | ||
| pointer: "/extra/creation_date" | ||
| param: "${CREATION_DATE}" | ||
| converters: | ||
| param: "date" | ||
| value: "date" | ||
| - type: "regex" | ||
| pointer: "/extra/tags/repo" | ||
| param: "^(elastic-package|integrations)" | ||
| - type: "=" | ||
| pointer: "/extra/tags/environment" | ||
| param: "ci" | ||
| # It looks like tags are not reported by cloud-reaper for buckets | ||
| # - type: "regex" | ||
| # pointer: "/extra/tags/repo" | ||
| # param: "^(elastic-package|integrations)" | ||
| # - type: "=" | ||
| # pointer: "/extra/tags/environment" | ||
| # param: "ci" | ||
|
Comment on lines
+48
to
+54
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have some doubts for these tags in Storage Bucket resources. At least it looks like that in the verbose output other tags a part from creation_date are not shown: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tested adding this filter to force showing some queues: - type: "regex"
pointer: "/extra/tags/repo"
param: "^(elastic-package|integrations|beats)" but, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Talked offline to @amannocci , and currently this is the expected behavior. Leaving the filters commented until this support is added into |
||
| - type: "regex" | ||
| pointer: "/name" | ||
| param: "^elastic-package-(.*)" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creation date is not set in the same field as other resources. Updated to the right field.