terraform/internal/lang/funcs
Alisdair McDiarmid 5d7cb81c0c lang: Redact sensitive values from function errors
Some function errors include values derived from arguments. This commit
is the result of a manual audit of these errors, which resulted in:

- Adding a helper function to redact sensitive values;
- Applying that helper function where errors include values derived from
  possibly-sensitive arguments;
- Cleaning up other errors which need not include those values, or were
  otherwise incorrect.
2021-12-03 09:46:57 -05:00
..
testdata lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
cidr.go lang/funcs: Preserve IP address leading zero behavior from Go 1.16 2021-08-17 15:20:05 -07:00
cidr_test.go build: Run staticcheck with "go run" 2021-10-12 11:42:17 -07:00
collection.go lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
collection_test.go lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
conversion.go add marks.Raw 2021-06-25 14:27:43 -04:00
conversion_test.go remove IsMarked and ContainsMarked calls 2021-06-25 14:17:06 -04:00
crypto.go funcs: defer close file in funcs 2021-11-16 09:25:49 +01:00
crypto_test.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
datetime.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
datetime_test.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
defaults.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
defaults_test.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
encoding.go lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
encoding_test.go lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
filesystem.go lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
filesystem_test.go lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
number.go lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
number_test.go lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
redact.go lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
redact_test.go lang: Redact sensitive values from function errors 2021-12-03 09:46:57 -05:00
sensitive.go marks package 2021-06-25 12:35:51 -04:00
sensitive_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
string.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
string_test.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00