Skip to content

all: fix sample_event.json final newlines#11174

Merged
efd6 merged 1 commit intoelastic:mainfrom
efd6:ep2086-all
Sep 23, 2024
Merged

all: fix sample_event.json final newlines#11174
efd6 merged 1 commit intoelastic:mainfrom
efd6:ep2086-all

Conversation

@efd6
Copy link
Copy Markdown
Contributor

@efd6 efd6 commented Sep 18, 2024

Proposed commit message

This ensures that all sample_event.json files have no final new line,
and that the resulting generated README.md pre-blocks that show the
sample event do not include a final redundant blank line.

[git-generate]
parallel "perl -p -i -e 'chomp if eof'" {} ::: $(rg -l -U -g 'sample_event.json' '^}\n')
for d in $(git diff --name-only|cut -f1,2 -d/|sort|uniq); do (cd $d; elastic-package build); done

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

This ensures that all sample_event.json files have no final new line,
and that the resulting generated README.md pre-blockes that show the
sample event do not inclued a final redundant blank line.

[git-generate]
parallel "perl -p -i -e 'chomp if eof'" {} ::: $(rg -l -U -g 'sample_event.json' '^}\n')
for d in $(git diff --name-only|cut -f1,2 -d/|sort|uniq); do (cd $d; elastic-package build); done
@efd6 efd6 added bugfix Pull request that fixes a bug issue Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] labels Sep 18, 2024
@efd6 efd6 self-assigned this Sep 18, 2024
@efd6 efd6 added Team:Elastic-Agent Platform - Ingest - Agent [elastic/elastic-agent] Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] Team:Security-Deployment and Devices DEPRECATED Deployment and Devices Security team [elastic/sec-deployment-and-devices] Team:Security-Linux Platform Linux Platform Security team [elastic/sec-linux-platform] Team:Security-Windows Platform Security Windows Platform team [elastic/sec-windows-platform] Team:Stack Monitoring Stack Monitoring team [elastic/stack-monitoring] Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] Team: Cloud Native Integrations labels Sep 18, 2024
@andrewkroh andrewkroh added the Integration:All Applies to all integrations [Integration not found in source] label Sep 18, 2024
@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

cc @efd6

@elastic-sonarqube
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@andrewkroh andrewkroh added Team:Elastic-Agent-Data-Plane Agent Data Plane team [elastic/elastic-agent-data-plane] Team:Cloudnative-Monitoring Cloud Native Monitoring team [elastic/obs-cloudnative-monitoring] and removed Team: Cloud Native Integrations Team:Elastic-Agent Platform - Ingest - Agent [elastic/elastic-agent] labels Sep 18, 2024
@efd6 efd6 marked this pull request as ready for review September 18, 2024 21:02
@efd6 efd6 requested review from a team as code owners September 18, 2024 21:02
@andrewkroh andrewkroh added Integration:infoblox_bloxone_ddi Infoblox BloxOne DDI Integration:cisco_secure_email_gateway Cisco Secure Email Gateway Integration:mysql_enterprise MySQL Enterprise Integration:entityanalytics_okta Okta Entity Analytics Integration:aws AWS Integration:rabbitmq RabbitMQ Logs and Metrics Integration:cloudflare_logpush Cloudflare Logpush Integration:netflow NetFlow Records Integration:entityanalytics_entra_id Microsoft Entra ID Entity Analytics Integration:auditd_manager Auditd Manager Integration:hid_bravura_monitor Bravura Monitor (Partner supported) Integration:cisco_ios Cisco IOS Integration:cisco_duo Cisco Duo Integration:proofpoint_tap Proofpoint TAP Integration:barracuda Barracuda Web Application Firewall Integration:hashicorp_vault Hashicorp Vault Integration:ping_one PingOne Integration:network_traffic Network Packet Capture Integration:bitwarden Bitwarden Integration:juniper_srx Juniper SRX Integration:pfsense pfSense (Community supported) Integration:lastpass LastPass Integration:fireeye FireEye Network Security (Community supported) Integration:osquery Osquery Logs Integration:forcepoint_web Forcepoint Web Security (Community supported) Integration:fortinet_fortimanager Fortinet FortiManager Logs Integration:cloudflare Cloudflare (Community supported) Integration:keycloak Keycloak (Community supported) Integration:barracuda_cloudgen_firewall Barracuda CloudGen Firewall Logs Integration:iptables Iptables labels Sep 24, 2024
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:akamai Akamai (Community supported) Integration:atlassian_bitbucket Atlassian Bitbucket (Community supported) Integration:atlassian_confluence Atlassian Confluence (Community supported) Integration:atlassian_jira Atlassian Jira (Community supported) Integration:auditd_manager Auditd Manager Integration:auditd Auditd Logs Integration:aws AWS Integration:azure_frontdoor Azure Frontdoor (Community supported) Integration:barracuda_cloudgen_firewall Barracuda CloudGen Firewall Logs Integration:barracuda Barracuda Web Application Firewall Integration:bitdefender BitDefender (Community supported) Integration:bitwarden Bitwarden Integration:box_events Box Events Integration:carbon_black_cloud VMware Carbon Black Cloud Integration:carbonblack_edr VMware Carbon Black EDR Integration:cef Common Event Format (CEF) Integration:checkpoint Check Point Integration:cisco_aironet Cisco Aironet (Community supported) Integration:cisco_duo Cisco Duo Integration:cisco_ftd Cisco FTD Integration:cisco_ios Cisco IOS Integration:cisco_ise Cisco ISE Integration:cisco_nexus Cisco Nexus Integration:cisco_secure_email_gateway Cisco Secure Email Gateway Integration:cisco_secure_endpoint Cisco Secure Endpoint Integration:citrix_waf Citrix Web App Firewall Integration:cloudflare_logpush Cloudflare Logpush Integration:cloudflare Cloudflare (Community supported) Integration:cyberark_pta Cyberark Privileged Threat Analytics Integration:cyberarkpas CyberArk Privileged Access Security Integration:darktrace Darktrace Integration:entityanalytics_entra_id Microsoft Entra ID Entity Analytics Integration:entityanalytics_okta Okta Entity Analytics Integration:fim File Integrity Monitoring Integration:fireeye FireEye Network Security (Community supported) Integration:forcepoint_web Forcepoint Web Security (Community supported) Integration:fortinet_fortiedr Fortinet FortiEDR Logs Integration:fortinet_fortigate Fortinet FortiGate Firewall Logs Integration:fortinet_fortimail Fortinet FortiMail Integration:fortinet_fortimanager Fortinet FortiManager Logs Integration:goflow2 GoFlow2 logs (Community supported) Integration:google_scc Google Security Command Center Integration:hashicorp_vault Hashicorp Vault Integration:hid_bravura_monitor Bravura Monitor (Partner supported) Integration:httpjson Custom API Integration:infoblox_bloxone_ddi Infoblox BloxOne DDI Integration:iptables Iptables Integration:jamf_compliance_reporter Jamf Compliance Reporter Integration:jumpcloud JumpCloud (Community supported) Integration:juniper_srx Juniper SRX Integration:keycloak Keycloak (Community supported) Integration:kibana Kibana Integration:kubernetes Kubernetes Integration:lastpass LastPass Integration:lyve_cloud Lyve Cloud (Partner supported) Integration:microsoft_dhcp Microsoft DHCP Integration:modsecurity ModSecurity Audit (Community supported) Integration:mysql_enterprise MySQL Enterprise Integration:netflow NetFlow Records Integration:network_traffic Network Packet Capture Integration:osquery Osquery Logs Integration:panw_cortex_xdr Palo Alto Cortex XDR Integration:pfsense pfSense (Community supported) Integration:ping_one PingOne Integration:proofpoint_tap Proofpoint TAP Integration:qnap_nas QNAP NAS (Community supported) Integration:rabbitmq RabbitMQ Logs and Metrics Integration:1password 1Password (Partner supported) Team:Cloudnative-Monitoring Cloud Native Monitoring team [elastic/obs-cloudnative-monitoring] Team:Elastic-Agent-Data-Plane Agent Data Plane team [elastic/elastic-agent-data-plane] Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] Team:Security-Deployment and Devices DEPRECATED Deployment and Devices Security team [elastic/sec-deployment-and-devices] Team:Security-Linux Platform Linux Platform Security team [elastic/sec-linux-platform] Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] Team:Security-Windows Platform Security Windows Platform team [elastic/sec-windows-platform] Team:Stack Monitoring Stack Monitoring team [elastic/stack-monitoring]

Projects

None yet

Development

Successfully merging this pull request may close these issues.