Skip to content

pipeline tests - Ignore url.extension for ES < 8.14#9623

Merged
andrewkroh merged 1 commit intoelastic:mainfrom
andrewkroh:bugfix/es-8-14-url-extension
Apr 17, 2024
Merged

pipeline tests - Ignore url.extension for ES < 8.14#9623
andrewkroh merged 1 commit intoelastic:mainfrom
andrewkroh:bugfix/es-8-14-url-extension

Conversation

@andrewkroh
Copy link
Copy Markdown
Member

@andrewkroh andrewkroh commented Apr 16, 2024

Proposed commit message

Ignore the existence of an invalid url.extension field. Stack versions < 8.14 had a bug that populated the field with bad data. After a package uses a minimum stack version of 8.14.0 then this addition to dynamic_fields can be removed.

This fixes errors like this which occur under v8.14.0

test case failed: Expected results are different from actual ones: --- want
+++ got
@@ -1797,7 +1797,6 @@
                 "preserve_duplicate_custom_fields"
             ],
             "url": {
-                "extension": "com/page",
                 "original": "www.example.com/page",
                 "path": "www.example.com/page"
             }

Relates: elastic/elasticsearch#105689

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.

Related issues

CI

Ignore the existence of an invalid  `url.extension` field. Stack versions < 8.14 had a
bug that populated the field with bad data. After a package uses a minimum stack version
of 8.14.0 then this addition to `dynamic_fields` can be removed.

This fixes errors like this which occur under v8.14.0

    test case failed: Expected results are different from actual ones: --- want
    +++ got
    @@ -1797,7 +1797,6 @@
                     "preserve_duplicate_custom_fields"
                 ],
                 "url": {
    -                "extension": "com/page",
                     "original": "www.example.com/page",
                     "path": "www.example.com/page"
                 }

Relates: elastic/elasticsearch#105689
@andrewkroh andrewkroh added flaky-test Unstable or unreliable test cases. Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] labels Apr 16, 2024
@andrewkroh andrewkroh requested review from a team as code owners April 16, 2024 20:46
@elasticmachine
Copy link
Copy Markdown

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

@elasticmachine
Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elastic-sonarqube
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No Coverage information No data about Coverage
No Duplication information No data about Duplication

See analysis details on SonarQube

@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

Copy link
Copy Markdown
Contributor

@kcreddy kcreddy left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏼

Copy link
Copy Markdown
Member

@ishleenk17 ishleenk17 left a comment

Choose a reason for hiding this comment

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

Looks good!

@andrewkroh andrewkroh merged commit 03111ac into elastic:main Apr 17, 2024
@andrewkroh andrewkroh added Integration:m365_defender Microsoft Defender XDR Integration:netskope Netskope Integration:ti_rapid7_threat_command Rapid7 Threat Command (Partner supported) Integration:azure Azure Logs Integration:imperva_cloud_waf Imperva Cloud WAF Integration:keycloak Keycloak (Community supported) Integration:citrix_adc Citrix ADC Integration:iis IIS Integration:ti_crowdstrike CrowdStrike Falcon Intelligence labels Jul 22, 2024
kcreddy added a commit that referenced this pull request Aug 6, 2024
Extension to #9623

Ignore the existence of an invalid url.extension field. Stack versions < 8.14
had a bug that populated the field with bad data. After a package uses a minimum
stack version of 8.14.0 then this addition to dynamic_fields can be removed.

This fixes errors like this which occur under v8.14.0+

+++ got
@@ -1797,7 +1797,6 @@
                 "preserve_duplicate_custom_fields"
             ],
             "url": {
-                "extension": "com/page",
                 "original": "www.example.com/page",
                 "path": "www.example.com/page"
             }

Relates: elastic/elasticsearch#105689
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 4, 2025
Extension to elastic#9623

Ignore the existence of an invalid url.extension field. Stack versions < 8.14
had a bug that populated the field with bad data. After a package uses a minimum
stack version of 8.14.0 then this addition to dynamic_fields can be removed.

This fixes errors like this which occur under v8.14.0+

+++ got
@@ -1797,7 +1797,6 @@
                 "preserve_duplicate_custom_fields"
             ],
             "url": {
-                "extension": "com/page",
                 "original": "www.example.com/page",
                 "path": "www.example.com/page"
             }

Relates: elastic/elasticsearch#105689
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 5, 2025
Extension to elastic#9623

Ignore the existence of an invalid url.extension field. Stack versions < 8.14
had a bug that populated the field with bad data. After a package uses a minimum
stack version of 8.14.0 then this addition to dynamic_fields can be removed.

This fixes errors like this which occur under v8.14.0+

+++ got
@@ -1797,7 +1797,6 @@
                 "preserve_duplicate_custom_fields"
             ],
             "url": {
-                "extension": "com/page",
                 "original": "www.example.com/page",
                 "path": "www.example.com/page"
             }

Relates: elastic/elasticsearch#105689
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flaky-test Unstable or unreliable test cases. Integration:azure Azure Logs Integration:citrix_adc Citrix ADC Integration:iis IIS Integration:imperva_cloud_waf Imperva Cloud WAF Integration:keycloak Keycloak (Community supported) Integration:m365_defender Microsoft Defender XDR Integration:netskope Netskope Integration:ti_crowdstrike CrowdStrike Falcon Intelligence Integration:ti_rapid7_threat_command Rapid7 Threat Command (Partner supported) Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] 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