Skip to content
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

feat(stdlib): add optional psl argument to parse_etld #851

Merged
merged 4 commits into from
May 28, 2024

Conversation

esensar
Copy link
Contributor

@esensar esensar commented May 21, 2024

This adds an optional argument psl to parse_etldfunction, which should be a file path to a custom PSL list (default one can be found on https://publicsuffix.org/list/public_suffix_list.dat). If none is provided, the default is used.

Related: #669

This adds an optional argument `psl` to `parse_etld`function,
which should be a file path to a custom PSL list (default one can
be found on https://publicsuffix.org/list/public_suffix_list.dat).
If none is provided, the default is used.

Related: vectordotdev#669
Copy link
Collaborator

@pront pront left a comment

Choose a reason for hiding this comment

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

Looks reasonable.

@esensar
Copy link
Contributor Author

esensar commented May 28, 2024

@pront @jszwedko is this alright? Are there any more changes required?

Copy link
Member

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

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

This looks good to me. Thanks @esensar !

@jszwedko jszwedko added this pull request to the merge queue May 28, 2024
Merged via the queue into vectordotdev:main with commit d4db3a5 May 28, 2024
11 checks passed
@esensar esensar deleted the feature/parse_etld_dynamic_psl branch May 28, 2024 14:30
github-merge-queue bot pushed a commit to vectordotdev/vector that referenced this pull request Jun 13, 2024
* docs(vrl): add docs for `psl` argument for `parse_etld`

Related: vectordotdev/vrl#851

* Add comma after "By default" in docs

Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>

* Allow psl in spellchecker

* Fix parse_etld_psl example

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

* Fix example

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

---------

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
github-merge-queue bot pushed a commit to vectordotdev/vector that referenced this pull request Jun 13, 2024
* docs(vrl): add docs for `psl` argument for `parse_etld`

Related: vectordotdev/vrl#851

* Add comma after "By default" in docs

Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>

* Allow psl in spellchecker

* Fix parse_etld_psl example

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

* Fix example

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

---------

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
github-merge-queue bot pushed a commit to vectordotdev/vector that referenced this pull request Jun 13, 2024
* docs(vrl): add docs for `psl` argument for `parse_etld`

Related: vectordotdev/vrl#851

* Add comma after "By default" in docs

Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>

* Allow psl in spellchecker

* Fix parse_etld_psl example

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

* Fix example

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

---------

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
github-merge-queue bot pushed a commit to vectordotdev/vector that referenced this pull request Jun 14, 2024
* docs(vrl): add docs for `psl` argument for `parse_etld`

Related: vectordotdev/vrl#851

* Add comma after "By default" in docs

Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>

* Allow psl in spellchecker

* Fix parse_etld_psl example

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

* Fix example

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

---------

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants