Skip to content

Cherry-pick #18139 to 7.x: [Uptime] Fix nesting of x509 subject#18179

Merged
andrewvc merged 1 commit intoelastic:7.xfrom
andrewvc:backport_18139_7.x
May 4, 2020
Merged

Cherry-pick #18139 to 7.x: [Uptime] Fix nesting of x509 subject#18179
andrewvc merged 1 commit intoelastic:7.xfrom
andrewvc:backport_18139_7.x

Conversation

@andrewvc
Copy link
Copy Markdown
Contributor

@andrewvc andrewvc commented May 4, 2020

Cherry-pick of PR #18139 to 7.x branch. Original message:

In #17687 we added additional x509 fields. The mapping accidentally
double nested subject fields as subject.subject. This fixes that.

There are no tests here because we don't really have testing around
mappings, and it's sort of difficult to test without being repetitive,
so none are included here.

Checklist

  • My code follows the style guidelines of this project
    - [ ] I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files
    - [ ] I have added tests that prove my fix is effective or that my feature works
    - [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Author's Checklist

Use cases

Screenshots

Logs

In elastic#17687 we added additional x509 fields. The mapping accidentally
double nested subject fields as subject.subject. This fixes that.

There are no tests here because we don't really have testing around
mappings, and it's sort of difficult to test without being repetitive,
so none are included here.

(cherry picked from commit a81bbda)
@andrewvc andrewvc requested a review from a team as a code owner May 4, 2020 15:34
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 4, 2020
@andrewvc andrewvc added bug Team:obs-ds-hosted-services Label for the Observability Hosted Services team and removed needs_team Indicates that the issue/PR needs a Team:* label labels May 4, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/uptime (Team:Uptime)

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 313
Skipped 10
Total 323

Copy link
Copy Markdown
Contributor

@blakerouse blakerouse 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.

@andrewvc andrewvc merged commit 5f910d1 into elastic:7.x May 4, 2020
@andrewvc andrewvc deleted the backport_18139_7.x branch May 4, 2020 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Heartbeat review Team:obs-ds-hosted-services Label for the Observability Hosted Services team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants