Skip to content

Conversation

@minherz
Copy link
Contributor

@minherz minherz commented Jan 30, 2023

Description

Code to support an interactive tutorial that demonstrates log redaction using DLP at ingestion time.

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

@minherz minherz requested review from a team as code owners January 30, 2023 03:29
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Jan 30, 2023
@minherz minherz added the lang: python Issues specific to Python. label Jan 30, 2023
@minherz minherz force-pushed the minherz/adding-log-redaction-code branch from 465b9f6 to 8e286e6 Compare January 30, 2023 04:15
@minherz minherz changed the title Minherz/adding log redaction code Add log redaction tutorial sample code Jan 30, 2023
@minherz minherz force-pushed the minherz/adding-log-redaction-code branch from 19fa609 to 9067af7 Compare January 30, 2023 18:39
@minherz minherz added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 31, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 31, 2023
@minherz minherz added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 31, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 31, 2023
Create logging/redaction folder to store assets for log redaction tutorial.
Assets will include:
* documentation (README.md)
* boilerplate code to start the tutorial
* final version of the code
fix package imports;
add requirements.txt file to allow import google-cloud-logging
that is not part of Beam SDK;
fix logging_v2 client initialization;
refactor some class, function and variable names;
Add a reference example for custom image Dockerfile
Add "final" version of the code for tutorial.
Format boilerplate code to keep same quote style
and to add placeholder comments for code addition.
Execute redaction function before sending logs in the pipeline.
Refactoring argument names.
@minherz minherz force-pushed the minherz/adding-log-redaction-code branch from 6e0d3b9 to fb8bfc3 Compare January 31, 2023 19:11
@minherz minherz requested a review from dandhlee January 31, 2023 19:11
@dandhlee dandhlee merged commit e1603e5 into main Feb 1, 2023
@dandhlee dandhlee deleted the minherz/adding-log-redaction-code branch February 1, 2023 00:46
telpirion pushed a commit that referenced this pull request Mar 13, 2023
* doc(logging): add log redaction boilerplate code

Create logging/redaction folder to store assets for log redaction tutorial.
Assets will include:
* documentation (README.md)
* boilerplate code to start the tutorial
* final version of the code

* chore(fix): refactor dataflow

fix package imports;
add requirements.txt file to allow import google-cloud-logging
that is not part of Beam SDK;
fix logging_v2 client initialization;
refactor some class, function and variable names;

* chore(doc): add custom image Dockerfile

Add a reference example for custom image Dockerfile

* chore(fix): refactor code sample for tutorial

Add "final" version of the code for tutorial.
Format boilerplate code to keep same quote style
and to add placeholder comments for code addition.

* chore(fix): adding redaction step to pipeline

Execute redaction function before sending logs in the pipeline.
Refactoring argument names.

* chore: fix compilation error

* chore: comment text correction

* chore: update codeowners

* chore: change indent size from 2 to 4

* chore: fix lint errors

* chore: minor text fix

* chore: updating DEE observability ownership

* chore: address style comments from dandhlee@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang: python Issues specific to Python. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants