Skip to content

Conversation

@ywangd
Copy link
Member

@ywangd ywangd commented Nov 13, 2025

Resolves: ES-12858

@ywangd ywangd added >non-issue :Security/Security Security issues without another label v9.3.0 labels Nov 13, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Security Meta label for security team label Nov 13, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

@elasticsearchmachine elasticsearchmachine added the serverless-linked Added by automation, don't add manually label Nov 13, 2025
Comment on lines -205 to -207
if (resource.startsWith(DATE_MATH)) {
throw new IllegalArgumentException("Date math are not currently supported but was found in the expression [" + resource + "]");
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the only necessary production code change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Member

@piergm piergm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually easier than expected, nice one!

@ywangd ywangd added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Nov 14, 2025
@elasticsearchmachine elasticsearchmachine merged commit af1c8b1 into elastic:main Nov 14, 2025
40 checks passed
@ywangd ywangd deleted the ES-12858-handle-datemath branch November 14, 2025 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) >non-issue :Security/Security Security issues without another label serverless-linked Added by automation, don't add manually Team:Security Meta label for security team v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants