Skip to content

[ti_custom] - Handle TAXII envelopes without objects - #19303

Merged
ShourieG merged 2 commits into
elastic:mainfrom
ShourieG:bugfix/ti_custom_7191_added_after
Jun 1, 2026
Merged

ShourieG merged 2 commits into
elastic:mainfrom
ShourieG:bugfix/ti_custom_7191_added_after

Conversation

@ShourieG

@ShourieG ShourieG commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Type of change

  • Bug

Proposed commit message

ti_custom: handle TAXII envelopes without objects

TAXII envelopes may omit the objects field. Treat a missing or non-list
objects value as an empty event set so successful empty responses do not
fail CEL evaluation, and extend the system test mock to cover that
pagination path.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

TAXII envelopes may omit the objects field. Treat a missing or non-list
objects value as an empty event set so successful empty responses do not
fail CEL evaluation, and extend the system test mock to cover that
pagination path.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ShourieG ShourieG self-assigned this Jun 1, 2026
@ShourieG
ShourieG requested review from a team as code owners June 1, 2026 04:15
@ShourieG ShourieG added bugfix Pull request that fixes a bug issue Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] Integration:ti_custom Custom Threat Intelligence labels Jun 1, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Elastic Docs Style Checker (Vale)

Summary: 1 suggestion found

💡 Suggestions (1): Optional style improvements. Apply when helpful.
File Line Rule Message
packages/ti_custom/changelog.yml 1 Elastic.Versions Use 'later versions' instead of 'newer versions' when referring to versions.

The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

cc @ShourieG

@ShourieG
ShourieG merged commit f94d7ea into elastic:main Jun 1, 2026
9 checks passed
@ShourieG
ShourieG deleted the bugfix/ti_custom_7191_added_after branch June 1, 2026 04:51
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package ti_custom - 1.7.2 containing this change is available at https://epr.elastic.co/package/ti_custom/1.7.2/

herrBez pushed a commit to herrBez/integrations that referenced this pull request Jun 1, 2026
ti_custom: handle TAXII envelopes without objects

TAXII envelopes may omit the objects field. Treat a missing or non-list
objects value as an empty event set so successful empty responses do not
fail CEL evaluation, and extend the system test mock to cover that
pagination path.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes a bug issue Integration:ti_custom Custom Threat Intelligence Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

⌂ 换网址