Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
bentonam authored May 16, 2024
2 parents 6b068ad + 3645f6f commit 52934d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kubernetes/annotations/logs/mask.alloy
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ declare "mask_ssn" {
// check logs.grafana.com/mask-ssn annotation, if true the data will be masked as **SSN*REDACTED**
stage.match {
pipeline_name = "pipeline for annotation || " + argument.annotation.value + "/mask-ssn: true"
selector = "{" + argument.__sd_annotation.value + "_mask_ssn=~\"" + argument.mask_phone_value.value + "\"}"
selector = "{" + argument.__sd_annotation.value + "_mask_ssn=~\"" + argument.mask_ssn_value.value + "\"}"

stage.replace {
// unescaped regex: ([0-9]{3}-[0-9]{2}-[0-9]{4})
Expand Down

0 comments on commit 52934d9

Please sign in to comment.