Skip to content

Commit 9b17833

Browse files
New definition set --transformations: obfuscate_usernames
1 parent a8c2b42 commit 9b17833

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44

55
### Enhancements
66

7+
* New definitions export `--transformations` value, `obfuscate_usernames`, changes usernames to dummy values
8+
(e.g. so that definitions could be shared safely with external teams)
79
* New definitions export `--transformations` value, `exclude_users`, removes users from the result
10+
(also for safe sharing)
811
* New definitions export `--transformations` value, `exclude_permissions`, removes all permissions
12+
(also for safe sharing)
913
* New definitions export `--transformations` value, `exclude_runtime_parameters`, removes all runtime parameters
1014
* New definitions export `--transformations` value, `exclude_policies`, removes all policies
15+
* New definitions export `--transformations` value, `no_op`, applies no transformation
16+
1117

1218
## v0.27.0 (Mar 10, 2025)
1319

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cli.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,8 +1198,10 @@ A comma-separated list of names of the definition transformations to apply.
11981198
11991199
Supported transformations:
12001200
1201+
* no_op
12011202
* strip_cmq_keys_from_policies
12021203
* drop_empty_policies
1204+
* obfuscate_usernames
12031205
* exclude_users
12041206
* exclude_permissions
12051207
* exclude_runtime_parameters
@@ -1209,7 +1211,9 @@ Examples:
12091211
12101212
* --transformations strip_cmq_keys_from_policies,drop_empty_policies
12111213
* --transformations exclude_users,exclude_permissions
1214+
* --transformations obfuscate_usernames
12121215
* --transformations exclude_runtime_parameters,exclude_policies
1216+
* --transformations no_op
12131217
"#,
12141218
)
12151219
.num_args(1..)

0 commit comments

Comments
 (0)