Skip to content

Commit

Permalink
More GCP DLP InfoTypes enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Aug 10, 2024
1 parent a8ed2a8 commit 38d496a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/redacters/gcp_dlp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub struct GcpDlpRedacterOptions {
}

impl<'a> GcpDlpRedacter<'a> {
pub const INFO_TYPES: [&'static str; 11] = [
pub const INFO_TYPES: [&'static str; 20] = [
"PHONE_NUMBER",
"EMAIL_ADDRESS",
"CREDIT_CARD_NUMBER",
Expand All @@ -39,6 +39,15 @@ impl<'a> GcpDlpRedacter<'a> {
"GENDER",
"IP_ADDRESS",
"PASSPORT",
"AUTH_TOKEN",
"AWS_CREDENTIALS",
"BASIC_AUTH_HEADER",
"VAT_NUMBER",
"PASSWORD",
"OAUTH_CLIENT_SECRET",
"IBAN_CODE",
"GCP_API_KEY",
"ENCRYPTION_KEY",
];
pub async fn new(
redacter_options: RedacterOptions,
Expand Down

0 comments on commit 38d496a

Please sign in to comment.