Skip to content

cloudflare: safe escape authentication keys #5805

New issue

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

Merged
merged 1 commit into from
Apr 18, 2023
Merged

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented Apr 6, 2023

What does this PR do?

Previously keys containing double quotes would cause YAML parsing error, so use the handlebars escape_string helper. This is available from v8.3.3 and v8.4.0, so constrain kibana version to ^v8.4.0.

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.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@efd6 efd6 added bug Something isn't working, use only for issues Team:Security-External Integrations Integration:cloudflare Cloudflare (Community supported) labels Apr 6, 2023
@efd6 efd6 self-assigned this Apr 6, 2023
Previously keys containing double quotes would cause YAML parsing error, so use
the handlebars escape_string helper. This is available from v8.3.3 and v8.4.0,
so constrain kibana version to ^v8.4.0.
@efd6 efd6 force-pushed the 3388-cloudflare branch from f176215 to 328b6ca Compare April 6, 2023 07:51
@elasticmachine
Copy link

elasticmachine commented Apr 6, 2023

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-04-06T07:52:31.094+0000

  • Duration: 16 min 30 sec

Test stats 🧪

Test Results
Failed 0
Passed 19
Skipped 0
Total 19

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine
Copy link

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (2/2) 💚
Files 100.0% (3/3) 💚
Classes 100.0% (3/3) 💚
Methods 100.0% (37/37) 💚
Lines 95.184% (672/706) 👍 3.956
Conditionals 100.0% (0/0) 💚

@efd6 efd6 marked this pull request as ready for review April 6, 2023 08:20
@efd6 efd6 requested a review from a team as a code owner April 6, 2023 08:20
@elasticmachine
Copy link

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@efd6 efd6 merged commit e0a77ce into elastic:main Apr 18, 2023
@elasticmachine
Copy link

Package cloudflare - 2.5.1 containing this change is available at https://epr.elastic.co/search?package=cloudflare

bhapas pushed a commit to bhapas/integrations that referenced this pull request Apr 19, 2023
Previously keys containing double quotes would cause YAML parsing error, so use
the handlebars escape_string helper. This is available from v8.3.3 and v8.4.0,
so constrain kibana version to ^v8.4.0.
@efd6 efd6 deleted the 3388-cloudflare branch February 5, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working, use only for issues Integration:cloudflare Cloudflare (Community supported)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants