We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Based on that documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-application-security.html
There is a restriction property inside the role_descriptor, but latest version doesn't seem to have the type definitions for it.
Steps to reproduce the behavior:
const apikey = await this.elastic.value.security.createApiKey({ name: botIdentifier, expiration: '7d', // filter_path role_descriptors: { read_access: { indices: [ { names: [this.contactsIndex, this.messagesIndex], privileges: ['read'], }, ], // Error: No overload matches this call. restriction: { workflows: ['search_application_query'], }, }, }, })
No errors
@elastic/elasticsearch
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Bug Report
Based on that documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-application-security.html
There is a restriction property inside the role_descriptor, but latest version doesn't seem to have the type definitions for it.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No errors
Your Environment
@elastic/elasticsearch
version: 8.14.0The text was updated successfully, but these errors were encountered: