We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
related_integrations
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
_post_dict_transform
import requests import yaml def is_packaged_integration(integration_name: str) -> bool: response = requests.get(f"[https://raw.githubusercontent.com/elastic/integrations/main/packages/{integration_name}/manifest.yml](https://raw.githubusercontent.com/elastic/integrations/main/packages/%7Bintegration_name%7D/manifest.yml)") manifest = yaml.safe_load(response.content) # has multiple integrations in the package return len(manifest.get("policy_templates")) > 1 for index in indices: if not index.startswith('logs-'): continue _, full_name, _ = index.lsplit('-', 1) integration, _ = full_name.lsplit('.*-', 1) if parsed in EXCLUSIONS: continue return integration fields = get_unique_query_fields(rule) if fields: indices = rule.contents.data.index if not any("logs-" in index for index in indices): print(f"Skipping rule: '{rule.name}', that doesn't include integrations") continue
The text was updated successfully, but these errors were encountered:
Mikaayenson
terrancedejesus
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
_post_dict_transform
a class objectAdditional Context
The text was updated successfully, but these errors were encountered: