Skip to content

[bug] - Tabs are used in YAML files for indentation #15913

@romain-chanu

Description

@romain-chanu

Hi team,

I have spotted several YAML files where tabs are used for indentation ; not being compliant with the YAML specifications

To maintain portability, tab characters must not be used in indentation, since different systems treat tabs differently.

These are the files / lines causing problems:

  • akamai/data_stream/siem/fields/fields.yml
    --> Lines with tabs: [76]

  • checkpoint_harmony_endpoint/data_stream/antibot/fields/fields.yml
    --> Lines with tabs: [90]

  • checkpoint_harmony_endpoint/data_stream/zerophishing/fields/fields.yml
    --> Lines with tabs: [74]

  • checkpoint_harmony_endpoint/data_stream/urlfiltering/fields/fields.yml
    --> Lines with tabs: [48, 95]

  • checkpoint_harmony_endpoint/data_stream/forensics/fields/fields.yml
    --> Lines with tabs: [39]

  • checkpoint_harmony_endpoint/data_stream/threatextraction/fields/fields.yml
    --> Lines with tabs: [48, 80]

  • o365_metrics/data_stream/teams_call_quality/fields/fields.yml
    --> Lines with tabs: [96]

  • cisco_secure_email_gateway/data_stream/log/fields/fields.yml
    --> Lines with tabs: [560]

This causes problems when parsing files with YAML-compliant libraries (in my case I am using https://pypi.org/project/PyYAML/). Note: I have only parsed the YAML files in packages/*/data_stream/*/fields/*.yml.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions