Skip to content

Commit 1fbdfe8

Browse files
authored
Merge branch 'main' into main
2 parents bd8e683 + a87bb9c commit 1fbdfe8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/kubernetes/annotations/logs/mask.alloy

+2-2
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ declare "mask_ipv6" {
288288
optional = true
289289
}
290290

291-
argument "mask_ipv4_value" {
291+
argument "mask_ipv6_value" {
292292
comment = "The regular expression to use to determine if logs should have IPv6 values masked, if you want to mask IPv6 values by default without setting the annotations everywhere use '.*' or 'true|' (default: true)"
293293
default = "(?i)true"
294294
optional = true
@@ -454,7 +454,7 @@ declare "mask_ssn" {
454454
// check logs.grafana.com/mask-ssn annotation, if true the data will be masked as **SSN*REDACTED**
455455
stage.match {
456456
pipeline_name = "pipeline for annotation || " + argument.annotation.value + "/mask-ssn: true"
457-
selector = "{" + argument.__sd_annotation.value + "_mask_ssn=~\"" + argument.mask_phone_value.value + "\"}"
457+
selector = "{" + argument.__sd_annotation.value + "_mask_ssn=~\"" + argument.mask_ssn_value.value + "\"}"
458458

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

0 commit comments

Comments
 (0)